Commit graph

31659 commits

Author SHA1 Message Date
Vinay Sajip
a713079ed8 Closed #9556: Allowed specifying a time-of-day for a TimedRotatingFileHandler to rotate. 2013-04-12 17:04:23 +01:00
Ezio Melotti
7ec97f415c #17692: merge with 3.3. 2013-04-12 14:14:22 +03:00
Ezio Melotti
c2ecac4787 #17692: test_sqlite now works with unittest test discovery. Patch by Zachary Ware. 2013-04-12 14:13:47 +03:00
Roger Serwy
663a390454 #17585: merge with 3.3. 2013-04-11 19:18:22 -05:00
Roger Serwy
1eafd1076e #17585: Fixed IDLE regression. Now closes when using exit() or quit(). 2013-04-11 19:16:44 -05:00
R David Murray
f1c42538e4 #17699: Fix the new getpass test failures on windows.
Patch by Zachary Ware.
2013-04-11 17:45:32 -04:00
Victor Stinner
eae41af356 Issue #13056: Reenable test_multibytecodec.Test_StreamWriter tests 2013-04-11 22:41:11 +02:00
Antoine Pitrou
50b24d0d7c Fix a crash when setting a servername callback on a SSL server socket and the client doesn't send a server name.
Patch by Kazuhiro Yoshida.
(originally issue #8109)
2013-04-11 20:48:42 +02:00
Ezio Melotti
85b2afb1b1 #17690: merge with 3.3. 2013-04-11 20:30:48 +03:00
Ezio Melotti
3836d70ed5 #17690: test_time now works with unittest test discovery. Patch by Zachary Ware. 2013-04-11 20:29:42 +03:00
R David Murray
c601dc1639 Merge #14971: Use class method name, not function.__name__, during unittest discovery. 2013-04-11 08:58:11 -04:00
R David Murray
5e2f593145 #14971: Use class method name, not function.__name__, during unittest discovery. 2013-04-11 08:55:45 -04:00
Senthil Kumaran
f49581c2a1 normalize whitespace 2013-04-10 20:55:58 -07:00
Senthil Kumaran
c7e0980259 normalize whitespace. caught by hook 2013-04-10 20:54:23 -07:00
Senthil Kumaran
8b081b7ba1 merge from 3.3
#5609 - test_urllib coverage for url2pathname and pathname2url. Patch
contribution by Thomas Fenzl & Maksim Kozyarchuk
2013-04-10 20:53:12 -07:00
Senthil Kumaran
277e9090b0 #5609 - test_urllib coverage for url2pathname and pathname2url. Patch
contribution by Thomas Fenzl & Maksim Kozyarchuk
2013-04-10 20:51:19 -07:00
Ezio Melotti
fe2d27d068 Merge heads. 2013-04-10 19:35:31 +03:00
Ezio Melotti
161194a5d0 #12820: merge with 3.3. 2013-04-10 19:34:05 +03:00
R David Murray
671cd3290b #17487: wave.getparams now returns a namedtuple.
Patch by Claudiu Popa.
2013-04-10 12:31:43 -04:00
Ezio Melotti
cd514cf175 #12820: add tests for the xml.dom.minicompat module. Patch by John Chandler and Phil Connell. 2013-04-10 19:30:11 +03:00
Giampaolo Rodola'
50331cbf08 Fix issue #17675: make socket repr() provide local and remote addresses (if any). 2013-04-10 15:49:47 +02:00
Brett Cannon
2a4df127c7 merge 2013-04-09 17:03:27 -04:00
Brett Cannon
100883f0cb Issue #17093,17566,17567: Methods from classes in importlib.abc now raise/return
the default exception/value when called instead of raising/returning
NotimplementedError/NotImplemented (except where appropriate).
This should allow for the ABCs to act as the bottom/end of the MRO with expected
default results.

As part of this work, also make importlib.abc.Loader.module_repr()
optional instead of an abstractmethod.
2013-04-09 16:59:39 -04:00
Victor Stinner
03c3e35d42 Add fast-path in PyUnicode_DecodeCharmap() for pure 8 bit encodings:
cp037, cp500 and iso8859_1 codecs
2013-04-09 21:53:09 +02:00
Giampaolo Rodola'
0f344b6e05 merge heads 2013-04-09 17:23:27 +02:00
Giampaolo Rodola'
a4c377cde9 Do not raise exception on close() on account of socket attribute still being None:
>>> import asyncore
>>> d = asyncore.dispatcher()
>>> d.close()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.4/asyncore.py", line 401, in close
    self.socket.close()
AttributeError: 'NoneType' object has no attribute 'close'
>>>
2013-04-09 17:21:25 +02:00
Senthil Kumaran
7005b1f90a #17678: Remove the use of a deprecated method http/cookiejar.py. Changing the
usage of get_origin_req_host() to origin_req_host.

Patch by Wei-Cheng Pan
2013-04-09 07:11:07 -07:00
Senthil Kumaran
d9fbf36bbd #17678: Fix DeprecationWarning in the http/cookiejar.py by changing the usage
of get_origin_req_host() to origin_req_host.

Patch by Wei-Cheng Pan
2013-04-09 07:07:59 -07:00
Senthil Kumaran
d281c73536 #17648 - convert test_urllib2.py doctests to unittests 2013-04-09 06:00:16 -07:00
Senthil Kumaran
fa1b02a126 #17648 - Clean up test_urllib2.py. Converted doctests to unittest for
expansion.
2013-04-08 22:24:17 -07:00
Roger Serwy
cb31d1fe1b #17657: merge with 3.3. 2013-04-08 20:59:11 -05:00
Roger Serwy
0803a39561 #17657: Show full Tk version in IDLE's about dialog.
Patch by Todd Rovito.
2013-04-08 20:57:13 -05:00
Victor Stinner
9fc5981ea2 Issue #17615: Add tests comparing Unicode strings of different kinds
Kinds: ascii, latin, bmp, astral.
2013-04-08 22:34:43 +02:00
Serhiy Storchaka
ffcd339aac Close #17666: Fix reading gzip files with an extra field. 2013-04-08 22:37:15 +03:00
Serhiy Storchaka
7e69f0085e Close #17666: Fix reading gzip files with an extra field. 2013-04-08 22:35:02 +03:00
R David Murray
c137f7c065 #17484: Actually add the getpass tests this time. 2013-04-08 08:48:03 -04:00
R David Murray
319d58d599 #17484: add tests for getpass.
Patch by Thomas Fenzl.
2013-04-08 01:48:22 -04:00
Roger Serwy
d673ed9b43 #17613: merge with 3.3. 2013-04-07 12:42:13 -05:00
Roger Serwy
7733be8f26 #17613: Prevent traceback when removing syntax colorizer in IDLE. 2013-04-07 12:41:16 -05:00
Roger Serwy
4687cf795c #1207589: merge with 3.3. 2013-04-07 12:17:17 -05:00
Roger Serwy
6b2918ae75 #1207589: Backwards-compatibility patch for right-click menu in IDLE. 2013-04-07 12:15:52 -05:00
Andrew Svetlov
8ab1e513c1 Process DEFAULT values in mock side_effect that returns iterator.
Patch by Michael Ford.
2013-04-07 16:44:07 +03:00
Andrew Svetlov
8b2cd75bdd Process DEFAULT values in mock side_effect that returns iterator.
Patch by Michael Ford.
2013-04-07 16:42:24 +03:00
Raymond Hettinger
56b0a3d89a Remove redundant imports 2013-04-06 20:53:12 -07:00
Roger Serwy
cdbb06c15c #16887: merge with 3.3. 2013-04-06 20:31:26 -05:00
Roger Serwy
0ef392cde7 #16887: IDLE now accepts Cancel in tabify/untabify dialog box. 2013-04-06 20:26:53 -05:00
Serhiy Storchaka
ee57f159af Revert a premature patch for issue #14010 (changeset 846bd418aee5). 2013-04-06 22:55:12 +03:00
Serhiy Storchaka
278d03bd66 Revert a premature patch for issue #14010 (changeset aaaf36026511). 2013-04-06 22:52:34 +03:00
Serhiy Storchaka
aac81e2780 Issue #14010: Fix a crash when iterating or deleting deeply nested filters
(builting and in itertools module, i.e. map(), itertools.chain(), etc).
2013-04-06 21:20:30 +03:00
Serhiy Storchaka
e8f706eda7 Issue #14010: Fix a crash when iterating or deleting deeply nested filters
(builting and in itertools module, i.e. map(), itertools.chain(), etc).
2013-04-06 21:14:43 +03:00