summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #21038: Cleanup test_epoll.pyVictor Stinner2014-03-251-3/+0
| | | | Remove useless test and unused variables. Initial patch by Andreas Schwab.
* Issue #21058: Fix a leak of file descriptor in tempfile.NamedTemporaryFile(),Victor Stinner2014-03-251-0/+24
| | | | close the file descriptor if io.open() fails
* asyncio: Ensure call_soon(), call_later() and call_at() are invoked on currentVictor Stinner2014-03-211-0/+23
| | | | | | loop in debug mode. Raise a RuntimeError if the event loop of the current thread is different. The check should help to debug thread-safetly issue. Patch written by David Foster.
* Issue #21013: Enhance ssl.create_default_context() for server side contextsDonald Stufft2014-03-231-3/+23
| | | | | | | | | | | | | | | | | | | | Closes #21013 by modfying ssl.create_default_context() to: * Move the restricted ciphers to only apply when using ssl.Purpose.CLIENT_AUTH. The major difference between restricted and not is the lack of RC4 in the restricted. However there are servers that exist that only expose RC4 still. * Switches the default protocol to ssl.PROTOCOL_SSLv23 so that the context will select TLS1.1 or TLS1.2 if it is available. * Add ssl.OP_NO_SSLv3 by default to continue to block SSL3.0 sockets * Add ssl.OP_SINGLE_DH_USE and ssl.OP_SINGLE_ECDG_USE to improve the security of the perfect forward secrecy * Add ssl.OP_CIPHER_SERVER_PREFERENCE so that when used for a server side socket the context will prioritize our ciphers which have been carefully selected to maximize security and performance. * Documents the failure conditions when a SSL3.0 connection is required so that end users can more easily determine if they need to unset ssl.OP_NO_SSLv3.
* Issue #20980: Stop wrapping exception when using ThreadPool.Richard Oudkerk2014-03-231-0/+11
|
* Issue #21015: SSL contexts will now automatically select an elliptic curve ↵Antoine Pitrou2014-03-221-0/+12
| | | | | | for ECDH key exchange on OpenSSL 1.0.2 and later, and otherwise default to "prime256v1". (should also fix a buildbot failure introduced by #20995)
* Skip test_urllib2.test_issue16464() is the ssl module is missingVictor Stinner2014-03-191-0/+6
|
* move SharedKeyTests to test_descrBenjamin Peterson2014-03-172-25/+25
|
* correct the fix for #20637; allow slot descriptor inheritance to take place ↵Benjamin Peterson2014-03-171-0/+8
| | | | before creating cached keys
* Issue #20939: merge from 3.3Ned Deily2014-03-151-1/+1
|\
| * Issue #20939: Fix test_geturl failure in test_urllibnet due toNed Deily2014-03-151-1/+1
| | | | | | | | new redirect of http://www.python.org/ to https://www.python.org.
* | Merge: #20933: At least one place maps 'test' to 'localhost'...fix test.R David Murray2014-03-151-1/+2
|\ \ | |/
| * #20933: At least one place maps 'test' to 'localhost'...fix test.R David Murray2014-03-151-1/+2
| | | | | | | | | | | | | | Discovery and patch by Wenzhu Man. University of Waterloo apparently maps the local name 'test' to localhost, which is in the bypass list, causing the test to fail. So change 'test' to a name unlikely to get mapped to localhost.
* | merge 3.3 (#20896)Benjamin Peterson2014-03-121-3/+8
|\ \ | |/
| * merge 3.2 (#20896)Benjamin Peterson2014-03-121-3/+8
| |\
| | * use ssl.PROTOCOL_SSLv23 for maximum compatibility (closes #20896)Benjamin Peterson2014-03-121-3/+8
| | |
| | * Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.Stefan Krah2014-01-211-1/+1
| | |
* | | merge 3.3 (#19614)Benjamin Peterson2014-03-121-1/+1
|\ \ \ | |/ /
| * | use support.rmtree instead of shutil (closes #19614)Benjamin Peterson2014-03-121-1/+1
| | | | | | | | | | | | Patch by Sean Rodman.
* | | Backed out changeset c13398566409Benjamin Peterson2014-03-121-4/+3
| | |
* | | Issue #20896: Workaround the bug temporarely to fix buildbotsVictor Stinner2014-03-121-3/+4
| | |
* | | tracemalloc: filter_traces() raises a TypeError if filters is not an iterableVictor Stinner2014-03-101-0/+2
| | |
* | | use assertEqual instead of the deprecated assertEquals (closes #20877)Benjamin Peterson2014-03-101-2/+2
| | |
* | | Issue #20875: Merge from 3.3Ned Deily2014-03-091-0/+7
|\ \ \ | |/ /
| * | Issue #20875: Prevent possible gzip "'read' is not defined" NameError.Ned Deily2014-03-091-0/+7
| | | | | | | | | | | | Patch by Claudiu Popa.
* | | #20871: improve email policy test coverage.R David Murray2014-03-091-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | More tests of the concrete policy methods would probably be a good idea, but this is a start, and it brings line coverage up to 100% for the policy module. Patch by Milan Oberkirch.
* | | #11558: Better message if attach called on non-multipart.R David Murray2014-03-061-0/+8
| | | | | | | | | | | | Original patch by Varun Sharma.
* | | Issue #20283: RE pattern methods now accept the string keyword parametersSerhiy Storchaka2014-03-061-0/+18
|\ \ \ | |/ / | | | | | | | | | as documented. The pattern and source keyword parameters are left as deprecated aliases.
| * | Issue #20283: RE pattern methods now accept the string keyword parametersSerhiy Storchaka2014-03-061-0/+16
| | | | | | | | | | | | | | | as documented. The pattern and source keyword parameters are left as deprecated aliases.
* | | asyncio, Tulip issue 157: Improve test_events.py, avoid run_briefly() which isVictor Stinner2014-03-061-64/+65
| | | | | | | | | | | | not reliable
* | | asyncio: Synchronize with TulipVictor Stinner2014-03-052-4/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Issue #159: Fix windows_utils.socketpair() - Use "127.0.0.1" (IPv4) or "::1" (IPv6) host instead of "localhost", because "localhost" may be a different IP address - Reject also invalid arguments: only AF_INET/AF_INET6 with SOCK_STREAM (and proto=0) are supported * Reject add/remove reader/writer when event loop is closed. * Fix ResourceWarning warnings
* | | Make the various iterators' "setstate" sliently and consistently clip theKristján Valur Jónsson2014-03-051-0/+12
|\ \ \ | |/ / | | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state.
| * | Make the various iterators' "setstate" sliently and consistently clip theKristján Valur Jónsson2014-03-051-0/+12
| | | | | | | | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state.
* | | Merge with 3.3Kristján Valur Jónsson2014-03-041-0/+12
|\ \ \ | |/ /
| * | Fix pickling of rangeiter. rangeiter_setstate would not allow setting itKristján Valur Jónsson2014-03-041-0/+12
| | | | | | | | | | | | to the exhausted state.
* | | Close #20839: pkgutil.find_loader now uses importlib.util.find_specNick Coghlan2014-03-041-0/+19
| | |
* | | Correct comments and improve failure reports in test_fileinput (closes #20501).Serhiy Storchaka2014-03-031-4/+7
|\ \ \ | |/ / | | | | | | Thanks Vajrasky Kok and Zachary Ware.
| * | Correct comments and improve failure reports in test_fileinput (closes #20501).Serhiy Storchaka2014-03-031-4/+7
| | | | | | | | | | | | Thanks Vajrasky Kok and Zachary Ware.
* | | Issue #20786: Fix signatures for dict.__delitem__ and property.__delete__Yury Selivanov2014-03-021-0/+5
| | |
* | | merge with 3.3Georg Brandl2014-03-021-0/+1
|\ \ \ | |/ /
| * | Issue #20404: reject non-text encodings early in TextIOWrapper.Georg Brandl2014-03-021-6/+24
| | |
| * | merge 3.3.5rc1 release commits with 3.3 branchGeorg Brandl2014-03-021-0/+1
| |\ \
| | * | #20719: Disable the robotparser python.org test until the gzip encoding ↵Georg Brandl2014-02-231-0/+1
| | | | | | | | | | | | | | | | issue can be sorted.
* | | | merge 3.3 (#20249)Benjamin Peterson2014-03-021-1/+1
|\ \ \ \ | |/ / /
| * | | fix test_posix.test_initgroups to work without supplemental groups (closes ↵Benjamin Peterson2014-03-021-1/+1
| | | | | | | | | | | | | | | | #20249)
* | | | merge 3.3Benjamin Peterson2014-03-011-1/+2
|\ \ \ \ | |/ / /
| * | | fix test on debug builds (closes #20731)Benjamin Peterson2014-03-011-2/+3
| | | |
* | | | merge for issue #20778Brett Cannon2014-02-281-0/+20
|\ \ \ \ | |/ / /
| * | | Issue #20778: Fix modulefinder to work with bytecode-only modules.Brett Cannon2014-02-281-0/+20
| | | | | | | | | | | | | | | | Bug filed and initial attempt at a patch by Bohuslav Kabrda.
* | | | ReindentMartin v. Löwis2014-02-281-1/+1
| | | |