summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* HTTPSConnection: prefer the context's check_hostname attribute over the ↵Benjamin Peterson2014-12-072-2/+16
| | | | constructor parameter (#22959)
* allow ssl module to compile if openssl doesn't support SSL 3 (closes #22935)Benjamin Peterson2014-12-062-8/+17
| | | | Patch by Kurt Roeckx.
* Update idlelib/NEWS.txt.Terry Jan Reedy2014-12-061-0/+24
|
* merge 3.3 (#16043)Benjamin Peterson2014-12-062-4/+34
|\
| * merge 3.2 (#16043)Benjamin Peterson2014-12-062-3/+33
| |\
| | * add a default limit for the amount of data xmlrpclib.gzip_decode will return ↵Benjamin Peterson2014-12-062-3/+33
| | | | | | | | | | | | (closes #16043)
* | | Issue #22581: Use more "bytes-like object" throughout the docs and comments.Serhiy Storchaka2014-12-051-1/+1
| | |
* | | Issue #22599: Enhance tokenize.open() to be able to call it during PythonVictor Stinner2014-12-051-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | finalization. Before the module kept a reference to the builtins module, but the module attributes are cleared during Python finalization. Instead, keep directly a reference to the open() function. This enhancement is not perfect, calling tokenize.open() can still fail if called very late during Python finalization. Usually, the function is called by the linecache module which is called to display a traceback or emit a warning.
* | | Closes #22429, asyncio: Fix EventLoop.run_until_complete(), don't stop theVictor Stinner2014-12-052-2/+37
| | | | | | | | | | | | | | | event loop if a BaseException is raised, because the event loop is already stopped.
* | | Issue #22922: Fix ProactorEventLoop.close()Victor Stinner2014-12-051-1/+3
| | | | | | | | | | | | | | | Call _stop_accept_futures() before sestting the _closed attribute, otherwise call_soon() raises an error.
* | | Closes #22922: More EventLoop methods fail if the loop is closed. Initial patchVictor Stinner2014-12-043-1/+39
| | | | | | | | | | | | | | | | | | | | | written by Torsten Landschoff. create_task(), call_at(), call_soon(), call_soon_threadsafe() and run_in_executor() now raise an error if the event loop is closed.
* | | Issue #22685: Fix test_pause_reading() of asyncio test_subprocessVictor Stinner2014-12-041-0/+2
| | | | | | | | | | | | | | | * mock also resume_reading() * ensure that resume_reading() is called
* | | asyncio: Initialize more Future and Task attributes in the class definition toVictor Stinner2014-12-042-5/+5
| | | | | | | | | | | | avoid attribute errors in destructors.
* | | Issue #14099: ZipFile.open() no longer reopen the underlying file. ObjectsSerhiy Storchaka2014-12-032-65/+159
| | | | | | | | | | | | | | | | | | returned by ZipFile.open() can now operate independently of the ZipFile even if the ZipFile was created by passing in a file-like object as the first argument to the constructor.
* | | Closes #22475: asyncio doc, fix Task.get_stack() docVictor Stinner2014-12-021-1/+1
| | |
* | | Fix the test to use an os.sep agnostic test. Hopefully this will fix theBarry Warsaw2014-12-021-2/+6
| | | | | | | | | | | | Windows buildbots. Found by Jeremy Kloth.
* | | Issue #20335: bytes constructor now raises TypeError when encoding or errorsSerhiy Storchaka2014-12-021-0/+8
| | | | | | | | | | | | is specified with non-string argument. Based on patch by Renaud Blanch.
* | | Make this change a little more robust for up-merging.Barry Warsaw2014-12-011-1/+2
| | |
* | | - Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile isBarry Warsaw2014-12-012-2/+18
|\ \ \ | | | | | | | | | | | | | | | | asked to compile a source file containing multiple dots in the source file name.
| * | | - Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile isBarry Warsaw2014-12-012-2/+18
| | | | | | | | | | | | | | | | | | | | asked to compile a source file containing multiple dots in the source file name.
* | | | Removed duplicated words in in comments and docs.Serhiy Storchaka2014-12-017-7/+7
|/ / /
* | | Issue #21032. Fixed socket leak if HTTPConnection.getresponse() fails.Serhiy Storchaka2014-12-012-11/+38
| | | | | | | | | | | | Original patch by Martin Panter.
* | | Issue #22838: All test_re tests now work with unittest test discovery.Serhiy Storchaka2014-12-012-84/+64
| | |
* | | backout 9fcf4008b626 (#9179) for further considerationBenjamin Peterson2014-11-303-64/+12
| | |
* | | add context parameter to xmlrpclib.ServerProxy (#22960)Benjamin Peterson2014-11-301-3/+12
| | | | | | | | | | | | Patch by Alex Gaynor.
* | | Close issue #22895: fix test failure introduced by the fix for issue #22462.Antoine Pitrou2014-11-291-1/+3
| | |
* | | Issue #16113: Also remove test_case_sha3_224_hugeNed Deily2014-11-281-6/+0
| | |
* | | Issue #22685: Debug test_pause_reading() on FreeBSDVictor Stinner2014-11-281-7/+10
| | |
* | | Issue #21280: Fixed a bug in shutil.make_archive() when create an archive ofSerhiy Storchaka2014-11-272-2/+17
| | | | | | | | | | | | current directory in current directory.
* | | Issue #22314: pydoc now works when the LINES environment variable is set.Serhiy Storchaka2014-11-271-2/+8
| | |
* | | Issue #22915: SAX parser now supports files opened with file descriptor orSerhiy Storchaka2014-11-272-1/+25
| | | | | | | | | | | | bytes path.
* | | Issue #22609: Revert changes in UserDict. They conflicted with existing tests.Serhiy Storchaka2014-11-272-28/+2
| | |
* | | Issue #22609: Constructors and update methods of mapping classes in theSerhiy Storchaka2014-11-273-28/+118
| | | | | | | | | | | | collections module now accept the self keyword argument.
* | | use skipUnlessBenjamin Peterson2014-11-261-3/+3
| | |
* | | handle errors without a reason attributeBenjamin Peterson2014-11-251-1/+1
| | |
* | | don't fail tests when www.python.org can't be validated by the systemBenjamin Peterson2014-11-252-0/+13
| | |
* | | Closes #22685, asyncio: Set the transport of stdout and stderr StreamReaderVictor Stinner2014-11-252-5/+44
| | | | | | | | | | | | | | | objects in the SubprocessStreamProtocol. It allows to pause the transport to not buffer too much stdout or stderr data.
* | | add context parameter to HTTPHandler (closes #22788)Benjamin Peterson2014-11-242-16/+12
| | |
* | | don't require OpenSSL SNI to pass hostname to ssl functions (#22921)Benjamin Peterson2014-11-2314-54/+15
| | | | | | | | | | | | Patch by Donald Stufft.
* | | Issue #22894: TestCase.subTest() would cause the test suite to be stopped ↵Antoine Pitrou2014-11-232-1/+30
| | | | | | | | | | | | when in failfast mode, even in the absence of failures.
* | | Issue #22638: SSLv3 is now disabled throughout the standard library.Antoine Pitrou2014-10-171-0/+3
| | | | | | | | | | | | It can still be enabled by instantiating a SSLContext manually.
* | | Issue #17293: socket.gethostbyname() can raise an exception of FreeBSD.Serhiy Storchaka2014-11-211-1/+4
| | |
* | | asyncio: BaseSelectorEventLoop.close() now closes the self-pipe before callingVictor Stinner2014-11-201-1/+3
| | | | | | | | | | | | | | | the parent close() method. If the event loop is already closed, the self-pipe is not unregistered from the selector.
* | | asyncio: Coroutine objects are now rejected with a TypeError by the followingVictor Stinner2014-11-204-21/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functions: * add_signal_handler() * call_at() * call_later() * call_soon() * call_soon_threadsafe() * run_in_executor() Fix also the error message of add_signal_handler() (fix the name of the function).
* | | asyncio, test_events: Ignore the "SSL handshake failed" log in debug modeVictor Stinner2014-11-201-1/+3
| | |
* | | asyncio: Fix formatting of the "Future exception was never retrieved" inVictor Stinner2014-11-203-42/+64
| | | | | | | | | | | | release mode
* | | Issue #20736: testSendmsgDontWait in test_socket no longer skipped on Linux.Serhiy Storchaka2014-11-191-1/+1
| | | | | | | | | | | | Patch by David Watson.
* | | Issue #20604: Added missed invalid mode in error message of socket.makefile().Serhiy Storchaka2014-11-191-3/+2
| | | | | | | | | | | | Based on patch by Franck Michea.
* | | Close #22370: Windows detection in pathlib is now more robust.Antoine Pitrou2014-11-181-5/+4
| | |
* | | Issue #20662: Argspec now is escaped in html output of pydoc.Serhiy Storchaka2014-11-171-1/+1
| | |