summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* merge headsSenthil Kumaran2014-04-141-0/+17
|\
| * Issue #13598: Add auto-numbering of replacement fields to string.Formatter.Eric V. Smith2014-04-141-0/+17
| |
* | Convert urllib.request parse_proxy doctests to unittests.Senthil Kumaran2014-04-141-1/+38
|/
* Issue #7776: Fix ``Host:'' header and reconnection when using ↵Senthil Kumaran2014-04-141-2/+48
| | | | | | http.client.HTTPConnection.set_tunnel(). Patch by Nikolaus Rath.
* Issue #12546: Allow \x00 as a fill character for builtin type __format__ ↵Eric V. Smith2014-04-141-0/+21
| | | | methods.
* fix sending tuples to custom generator objects with yield from (closes #21209)Benjamin Peterson2014-04-141-0/+19
| | | | Debugged by Victor.
* merge 3.3Benjamin Peterson2014-04-141-0/+4
|\
| * merge 3.2Benjamin Peterson2014-04-141-0/+4
| |\
| | * in scan_once, prevent the reading of arbitrary memory when passed a negative ↵Benjamin Peterson2014-04-141-0/+4
| | | | | | | | | | | | | | | | | | index Bug reported by Guido Vranken.
* | | #21169: fix getpass to use replace error handler on UnicodeEncodeError.R David Murray2014-04-141-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | If the input stream encoding couldn't encode one or more of the non-ascii characters in the prompt, it would fail, throwing a UnicodeEncodeError. Now if that happens we re-encoding using the 'replace' error handler. Patch by Kushal Das.
* | | inspect.signautre: Fix functools.partial support. Issue #21117Yury Selivanov2014-04-081-20/+79
| | |
* | | Issue #21155: asyncio.EventLoop.create_unix_server() now raises a ValueError ifVictor Stinner2014-04-071-0/+11
| | | | | | | | | | | | path and sock are specified at the same time.
* | | make temporary read-only files writable, so rmtree can remove them (#21128)Benjamin Peterson2014-04-041-0/+3
| | |
* | | make sure to test UnicodeEncodeError, tooBenjamin Peterson2014-04-021-1/+1
| | |
* | | bail in unicode error's __str__ methods if the objects are not properly ↵Benjamin Peterson2014-04-021-0/+6
| | | | | | | | | | | | initialized (closes #21134)
* | | make test name consistent with the rest of the fileBenjamin Peterson2014-04-021-1/+1
| | |
* | | Issue #18652: Add an itertools recipe for first_true()Raymond Hettinger2014-04-021-0/+16
| | |
* | | merge 3.3 (#21082)Benjamin Peterson2014-04-011-4/+3
|\ \ \ | |/ /
| * | merge 3.2 (#21082)Benjamin Peterson2014-04-011-4/+3
| |\ \ | | |/
| | * remove directory mode check from makedirs (closes #21082)Benjamin Peterson2014-04-011-4/+3
| | |
* | | use https docs urlBenjamin Peterson2014-03-311-2/+2
| | |
* | | merge 3.3 (#21115)Benjamin Peterson2014-03-311-2/+2
|\ \ \ | |/ /
| * | merge 3.2Benjamin Peterson2014-03-311-2/+2
| |\ \ | | |/
| | * use https docs url (#21115)Benjamin Peterson2014-03-311-2/+2
| | |
* | | Issue #20668: Remove tests.txt of test_asyncioVictor Stinner2014-03-311-14/+0
| | | | | | | | | | | | It's useless, tests are now discovered automatically.
* | | Issue #21097: Move test_namespace_pkgs into test_importlib.Eric Snow2014-03-2915-0/+0
| | |
* | | Issue #6676: Ensure a meaningful exception is raised when attemptingNed Deily2014-03-271-0/+12
| | | | | | | | | | | | | | | | | | to parse more than one XML document per pyexpat xmlparser instance. (Original patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with suggested wording by David Gutteridge)
* | | inspect: Fix getcallargs() to fail correctly if more than 3 args are missing.Yury Selivanov2014-03-271-0/+6
| | | | | | | | | | | | Patch by Jeremiah Lowin. Closes #20817.
* | | inspect: Fix getcallargs() to raise correct TypeErrorYury Selivanov2014-03-271-0/+8
| | | | | | | | | | | | | | | ... for missing keyword-only arguments. Patch by Jeremiah Lowin. Closes #20816.
* | | asyncio.tests: Autodiscover asyncio tests. Patch by Vajrasky Kok. Closes #20668Yury Selivanov2014-03-271-12/+10
| | |
* | | Issue #21069: Temporarily use www.google.com while investigatingNed Deily2014-03-271-1/+1
| | | | | | | | | | | | test_urllibnet.test_fileno intermittent failures with www.example.com.
* | | Issue #20939: remove stray character from commentNed Deily2014-03-271-1/+1
| | |
* | | Issue #20939: Use www.example.com instead of www.python.org to avoid testNed Deily2014-03-274-20/+22
| | | | | | | | | | | | failures when ssl is not present.
* | | Issue #20939: Backout test_urllib2.test_issue16464 disables:Ned Deily2014-03-271-6/+0
| | | | | | | | | | | | | | | 68335b8afb1f 3.4 ad0c75b7bd7d default
* | | Issue #21058: fix typo in a comment. Patch written by Vajrasky Kok.Victor Stinner2014-03-251-1/+1
| | |
* | | Issue #21038: Use monotonic clock to compute timeout, not the system clockVictor Stinner2014-03-251-8/+8
| | |
* | | 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
|\ \ \ | |/ /