summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* #17471 - merge from 3.2Senthil Kumaran2013-03-191-1/+7
|\
| * #17471 - Increasing the urllib.error test coverage. Bringing it to 100%. ↵Senthil Kumaran2013-03-191-1/+9
| | | | | | | | Based on patch contributed by Daniel Wozniak
* | #17471 - merge from 3.2Senthil Kumaran2013-03-191-0/+3
|\ \ | |/
| * #17471 - Improve urllib2 test coverage. Patch contributed by Daniel WozniakSenthil Kumaran2013-03-191-0/+3
| |
* | Merge: #17443: Fix buffering in IMAP4_stream.R David Murray2013-03-191-0/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | In Python2 Popen uses *FILE objects, which wind up buffering even though subprocess defaults to no buffering. In Python3, subprocess streams really are unbuffered by default, but the imaplib code assumes read is buffered. This patch uses the default buffer size from the io module to get buffered streams from Popen. Much debugging work and patch by Diane Trout. The imap protocol is too complicated to write a test for this simple change with our current level of test infrastructure.
| * #17443: Fix buffering in IMAP4_stream.R David Murray2013-03-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | In Python2 Popen uses *FILE objects, which wind up buffering even though subprocess defaults to no buffering. In Python3, subprocess streams really are unbuffered by default, but the imaplib code assumes read is buffered. This patch uses the default buffer size from the io module to get buffered streams from Popen. Much debugging work and patch by Diane Trout. The imap protocol is too complicated to write a test for this simple change with our current level of test infrastructure.
* | Fix usage of the unittest.skip decorator.Serhiy Storchaka2013-03-191-1/+1
|\ \ | |/
| * Fix usage of the unittest.skip decorator.Serhiy Storchaka2013-03-191-1/+1
| |
* | #17476: make allmethods actually return all methods.R David Murray2013-03-192-1/+28
|\ \ | |/ | | | | | | | | | | | | | | | | | | This fixes a regression relative to Python2. (In 2, methods on a class were unbound methods and matched the inspect queries being done, in 3 they are just functions and so were missed). This is an undocumented function that pydoc itself does not use, but I found that numpy at least uses it in its documentation generator. Original patch by Matt Bachmann.
| * #17476: make allmethods actually return all methods.R David Murray2013-03-192-1/+28
| | | | | | | | | | | | | | | | | | | | | | This fixes a regression relative to Python2. (In 2, methods on a class were unbound methods and matched the inspect queries being done, in 3 they are just functions and so were missed). This is an undocumented function that pydoc itself does not use, but I found that numpy at least uses it in its documentation generator. Original patch by Matt Bachmann.
* | Issue #17463: Fix test discovery for test_pdb.pyAndrew Svetlov2013-03-181-4/+5
| |
* | Merge #17448: Make test_sax skip if there are no xml parsers.R David Murray2013-03-181-2/+2
|\ \ | |/ | | | | Patch by Rafael Santos.
| * #17448: Make test_sax skip if there are no xml parsers.R David Murray2013-03-181-2/+2
| | | | | | | | Patch by Rafael Santos.
* | Merge #16057: Clarify why the base method default is called in custom encoders.R David Murray2013-03-181-0/+1
|\ \ | |/ | | | | Original patch by Kushal Das.
| * #16057: Clarify why the base method default is called in custom encoders.R David Murray2013-03-181-0/+1
| | | | | | | | Original patch by Kushal Das.
* | Issue #16880: _imp.load_dynamic() is not defined on a platform thatBrett Cannon2013-03-171-2/+7
| | | | | | | | | | | | | | does not support dynamic loading (e.g. Atari), so make sure that imp doesn't assume it always exists. Patch by Christian Heimes.
* | Issue #16564: Fixed a performance regression relative to Python 3.1 in theSerhiy Storchaka2013-03-161-6/+24
|\ \ | |/ | | | | caching of compiled regular expressions.
| * Issue #16564: Fixed a performance regression relative to Python 3.1 in theSerhiy Storchaka2013-03-161-9/+25
| | | | | | | | caching of compiled regular expressions.
* | #11420: merge with 3.2.Ezio Melotti2013-03-165-31/+51
|\ \ | |/
| * #11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch ↵Ezio Melotti2013-03-165-29/+49
| | | | | | | | by Thomas Wouters.
* | Issue # 10652: make tcl/tk tests run after __all__ test, patch by Zachary Ware.Terry Jan Reedy2013-03-164-0/+12
|\ \ | |/
| * Issue # 10652: make tcl/tk tests run after __all__ test, patch by Zachary Ware.Terry Jan Reedy2013-03-164-0/+12
| |
* | Merge: #17431: Fix missing import of BytesFeedParser in email.parser.R David Murray2013-03-162-1/+5
|\ \ | |/
| * #17431: Fix missing import of BytesFeedParser in email.parser.R David Murray2013-03-162-1/+5
| | | | | | | | Initial patch contributed by Edmond Burnett.
* | Issue #1285086: Get rid of the refcounting hack and speed upSerhiy Storchaka2013-03-141-36/+27
|\ \ | |/ | | | | urllib.parse.unquote() and urllib.parse.unquote_to_bytes().
| * Issue #1285086: Get rid of the refcounting hack and speed upSerhiy Storchaka2013-03-141-36/+27
| | | | | | | | urllib.parse.unquote() and urllib.parse.unquote_to_bytes().
* | #17368: merge with 3.2.Ezio Melotti2013-03-122-5/+11
|\ \ | |/
| * #17368: Fix an off-by-one error in the Python JSON decoder that caused a ↵Ezio Melotti2013-03-122-5/+11
| | | | | | | | failure while decoding empty object literals when object_pairs_hook was specified.
* | Issue #11367: fix documentation of some find* methods in ElementTreeEli Bendersky2013-03-121-7/+4
|\ \ | |/
| * Issue #11367: fix documentation of some find* methods in ElementTreeEli Bendersky2013-03-121-7/+4
| |
* | #17066: test_robotparser now works with unittest test discovery. Patch by ↵Ezio Melotti2013-03-121-6/+10
| | | | | | | | Zachary Ware.
* | Issue #17047: remove doubled words added in 3.3Terry Jan Reedy2013-03-117-7/+7
| | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett.
* | Merge 3.2, issue #17047: remove doubled words found in 2.7 toTerry Jan Reedy2013-03-1113-38/+40
|\ \ | |/ | | | | 3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
| * Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,Terry Jan Reedy2013-03-1113-38/+40
| | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett.
* | #11963: merge with 3.2.Ezio Melotti2013-03-111-12/+36
|\ \ | |/
| * #11963: remove human verification from test_parser and test_subprocess.Ezio Melotti2013-03-111-12/+36
| |
* | #11963: merge with 3.2.Ezio Melotti2013-03-101-1/+2
|\ \ | |/
| * #11963: fix Windows buildbots.Ezio Melotti2013-03-101-1/+2
| |
* | #11963: merge with 3.2.Ezio Melotti2013-03-091-4/+5
|\ \ | |/
| * #11963: avoid printing messages in test_parser. Initial patch by Éric Araujo.Ezio Melotti2013-03-091-4/+5
| |
* | Sync-up with 3.4 to make maintenance easier.Raymond Hettinger2013-03-091-9/+7
| |
* | Improve comments and variable names.Raymond Hettinger2013-03-091-14/+37
| |
* | Issue #17223: the test is specific to 32-bit wchar_t typeVictor Stinner2013-03-081-11/+3
| | | | | | | | Skip the test on Windows.
* | Merge: PEP8 fixup on previous patch, remove unused imports in test_email.R David Murray2013-03-072-6/+2
|\ \ | |/
| * PEP8 fixup on previous patch, remove unused import in test_email.R David Murray2013-03-072-2/+1
| |
* | Merge: #14645: Generator now emits correct linesep for all parts.R David Murray2013-03-072-4/+52
|\ \ | |/ | | | | | | | | | | | | | | | | Previously the parts of the message retained whatever linesep they had on read, which means if the messages weren't read in univeral newline mode, the line endings could well be inconsistent. In general sending it via smtplib would result in them getting fixed, but it is better to generate them correctly to begin with. Also, the new send_message method of smtplib does not do the fixup, so that method is producing rfc-invalid output without this fix.
| * #14645: Generator now emits correct linesep for all parts.R David Murray2013-03-072-4/+53
| | | | | | | | | | | | | | | | | | | | Previously the parts of the message retained whatever linesep they had on read, which means if the messages weren't read in univeral newline mode, the line endings could well be inconsistent. In general sending it via smtplib would result in them getting fixed, but it is better to generate them correctly to begin with. Also, the new send_message method of smtplib does not do the fixup, so that method is producing rfc-invalid output without this fix.
| * #11732: add a new suppress_crash_popup() context manager to test.support ↵Ezio Melotti2013-03-072-6/+31
| | | | | | | | that disables crash popups on Windows and use it in test_ctypes.
* | #11732: make suppress_crash_popup() work on Windows XP and Windows Server 2003.Ezio Melotti2013-03-071-1/+3
| |
* | Fix indentation.Ezio Melotti2013-03-052-5/+5
| |