summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Merge: #5713: Handle 421 error codes during sendmail by closing the socket.R David Murray2013-03-211-0/+4
|\ | | | | | | | | | | | | | | | | This is a partial fix to the issue of servers disconnecting unexpectedly; in this case the 421 says they are disconnecting, so we close the socket and return the 421 in the appropriate error context. Original patch by Mark Sapiro, updated by Kushal Das, with additional tests by me.
| * Merge: #5713: Handle 421 error codes during sendmail by closing the socket.R David Murray2013-03-211-0/+4
| |\ | | | | | | | | | | | | | | | | | | | | | | | | This is a partial fix to the issue of servers disconnecting unexpectedly; in this case the 421 says they are disconnecting, so we close the socket and return the 421 in the appropriate error context. Original patch by Mark Sapiro, updated by Kushal Das, with additional tests by me.
| | * #5713: Handle 421 error codes during sendmail by closing the socket.R David Murray2013-03-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is a partial fix to the issue of servers disconnecting unexpectedly; in this case the 421 says they are disconnecting, so we close the socket and return the 421 in the appropriate error context. Original patch by Mark Sapiro, updated by Kushal Das, with additional tests by me.
* | | Issue #16997: unittest.TestCase now provides a subTest() context manager to ↵Antoine Pitrou2013-03-201-0/+3
| | | | | | | | | | | | procedurally generate, in an easy way, small test instances.
* | | #17485: Delete the Content-Length header if the data attribute is deleted.R David Murray2013-03-202-0/+4
| | | | | | | | | | | | This is a follow on to issue 16464. Original patch by Daniel Wozniak.
* | | Issue #16475: Support object instancing, recursion and interned stringsKristján Valur Jónsson2013-03-201-0/+3
| | | | | | | | | | | | in marshal
* | | #15927: Fix cvs.reader parsing of escaped \r\n with quoting off.R David Murray2013-03-202-0/+4
| | | | | | | | | | | | | | | | | | | | | This fix means that such values are correctly roundtripped, since cvs.writer already does the correct escaping. Patch by Michael Johnson.
* | | Closes issue 17467. Add readline and readlines support to ↵Michael Foord2013-03-201-0/+3
| | | | | | | | | | | | unittest.mock.mock_open
* | | merge heads & use iso8601 date formatGregory P. Smith2013-03-191-1/+1
|\ \ \ | |/ /
| * | merge from 3.2Gregory P. Smith2013-03-191-1/+4
| |\ \ | | |/
| | * merge heads in 3.2Gregory P. Smith2013-03-192-0/+10
| | |\
* | | \ Fixes Issue #17192: Update the ctypes module's libffi to v3.0.13. ThisGregory P. Smith2013-03-191-1/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | specifically addresses a stack misalignment issue on x86 and issues on some more recent platforms.
| * | | merge heads in 3.3Gregory P. Smith2013-03-192-0/+10
| |\ \ \
| * \ \ \ Fixes Issue #17192: Update the ctypes module's libffi to v3.0.13. ThisGregory P. Smith2013-03-191-1/+5
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | specifically addresses a stack misalignment issue on x86 and issues on some more recent platforms.
| | * | | Fixes issue #17192: Update the ctypes module's libffi to v3.0.13. ThisGregory P. Smith2013-03-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | specifically addresses a stack misalignment issue on x86 and issues on some more recent platforms.
* | | | | Merge: #8862: Fix curses cleanup with getchar is interrupted by a signal.R David Murray2013-03-191-0/+2
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | I have no idea how one would write a test for this. Patch by July Tikhonov.
| * | | | Merge: #8862: Fix curses cleanup with getchar is interrupted by a signal.R David Murray2013-03-191-0/+2
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | I have no idea how one would write a test for this. Patch by July Tikhonov.
| | * | | #8862: Fix curses cleanup with getchar is interrupted by a signal.R David Murray2013-03-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have no idea how one would write a test for this. Patch by July Tikhonov.
* | | | | Merge: #17443: Fix buffering in IMAP4_stream.R David Murray2013-03-192-0/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | Merge: #17443: Fix buffering in IMAP4_stream.R David Murray2013-03-192-0/+5
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-192-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | #17476: make allmethods actually return all methods.R David Murray2013-03-191-1/+4
| |\ \ \ \ | | |/ / / | | | / / | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | 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-191-0/+3
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge: #17476: make allmethods actually return all methods.R David Murray2013-03-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | #17464: improve pydoc test coverage.R David Murray2013-03-191-1/+1
| | | | | | | | | | | | Patch by Matt Bachmann.
* | | #17474 - Remove the various deprecated methods of Request class.Senthil Kumaran2013-03-191-0/+2
| | |
* | | Closes issue 16709. unittest test discovery sorts test files for consistent ↵Michael Foord2013-03-191-0/+3
| | | | | | | | | | | | test ordering
* | | use the HTTPS for pypi uploadBenjamin Peterson2013-03-181-0/+2
| | |
* | | #5024: whichhdr now returns the frame count for WAV files.R David Murray2013-03-182-0/+4
| | | | | | | | | | | | Patch by Ned Jackson Lovely based on a suggestion by Robert Pyle.
* | | #17460: Remove the strict argument of HTTPConnection and removing theSenthil Kumaran2013-03-181-1/+4
| | | | | | | | | | | | DeprecationWarning being issued from 3.2 onwards.
* | | add Sven Brauch for his #16795 contributionBenjamin Peterson2013-03-181-0/+1
| | |
* | | unify some ast.argument's attrs; change Attribute column offset (closes #16795)Benjamin Peterson2013-03-181-0/+4
| | | | | | | | | | | | Patch from Sven Brauch.
* | | Merge #17448: Make test_sax skip if there are no xml parsers.R David Murray2013-03-182-0/+4
|\ \ \ | |/ / | | | | | | Patch by Rafael Santos.
| * | Merge #17448: Make test_sax skip if there are no xml parsers.R David Murray2013-03-182-0/+4
| |\ \ | | |/ | | | | | | Patch by Rafael Santos.
| | * #17448: Make test_sax skip if there are no xml parsers.R David Murray2013-03-182-0/+4
| | | | | | | | | | | | Patch by Rafael Santos.
* | | mergeBrett Cannon2013-03-171-0/+2
|\ \ \ | |/ /
| * | Issue #16880: _imp.load_dynamic() is not defined on a platform thatBrett Cannon2013-03-171-0/+2
| | | | | | | | | | | | | | | | | | | | | does not support dynamic loading (e.g. Atari), so make sure that imp doesn't assume it always exists. Patch by Christian Heimes.
* | | Issue #16389: Fixed an issue number in previos commit.Serhiy Storchaka2013-03-161-1/+1
|\ \ \ | |/ /
| * | Issue #16389: Fixed an issue number in previos commit.Serhiy Storchaka2013-03-161-1/+1
| |\ \ | | |/
| | * Issue #16389: Fixed an issue number in previos commit.Serhiy Storchaka2013-03-161-1/+1
| | |
* | | Issue #16564: Fixed a performance regression relative to Python 3.1 in theSerhiy Storchaka2013-03-161-0/+3
|\ \ \ | |/ / | | | | | | caching of compiled regular expressions.
| * | Issue #16564: Fixed a performance regression relative to Python 3.1 in theSerhiy Storchaka2013-03-161-0/+3
| |\ \ | | |/ | | | | | | caching of compiled regular expressions.
| | * Issue #16564: Fixed a performance regression relative to Python 3.1 in theSerhiy Storchaka2013-03-161-0/+3
| | | | | | | | | | | | caching of compiled regular expressions.
* | | #11420: merge with 3.3.Ezio Melotti2013-03-161-0/+3
|\ \ \ | |/ /
| * | #11420: merge with 3.2.Ezio Melotti2013-03-161-0/+3
| |\ \ | | |/
| | * #11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch ↵Ezio Melotti2013-03-161-0/+3
| | | | | | | | | | | | by Thomas Wouters.
| | * typoTerry Jan Reedy2013-03-161-1/+1
| | |
* | | reject non-docs strings between future imports (closes #17434)Benjamin Peterson2013-03-161-0/+3
| | |
* | | Merge with 3.3Terry Jan Reedy2013-03-161-0/+3
|\ \ \ | |/ /
| * | Issue # 10652: make tcl/tk tests run after __all__ test, patch by Zachary Ware.Terry Jan Reedy2013-03-161-0/+3
| |\ \ | | |/