summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
* backport: #20145: assert[Raises|Warns]Regex now raise TypeError on bad regex.R David Murray2014-03-252-1/+13
| | | | | | | Previously a non-string, non-regex second argument and missing callable argument could cause the test to appear to always pass. Initial patch by Kamilla Holanda.
* 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-252-3/+31
| | | | close the file descriptor if io.open() fails
* asyncio: Ensure call_soon(), call_later() and call_at() are invoked on currentVictor Stinner2014-03-212-1/+45
| | | | | | 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-232-9/+47
| | | | | | | | | | | | | | | | | | | | 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 #20990: Correction for 619331c67638.Richard Oudkerk2014-03-231-2/+2
|
* #20976: remove unneeded quopri import in email.utils.R David Murray2014-03-232-4/+2
|
* Merge 3.3.Richard Oudkerk2014-03-232-2/+2
|\
| * Issue #20633: Replace relative import by absolute import.Richard Oudkerk2014-03-231-1/+1
| |
* | Issue #20980: Stop wrapping exception when using ThreadPool.Richard Oudkerk2014-03-233-6/+28
| |
* | Issue #20990: Fix issues found by pyflakes for multiprocessing.Richard Oudkerk2014-03-232-5/+14
| |
* | 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)
* | Issue #20995: Enhance default ciphers used by the ssl moduleDonald Stufft2014-03-221-8/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #20995 by Enabling better security by prioritizing ciphers such that: * Prefer cipher suites that offer perfect forward secrecy (DHE/ECDHE) * Prefer ECDHE over DHE for better performance * Prefer any AES-GCM over any AES-CBC for better performance and security * Then Use HIGH cipher suites as a fallback * Then Use 3DES as fallback which is secure but slow * Finally use RC4 as a fallback which is problematic but needed for compatibility some times. * Disable NULL authentication, NULL encryption, and MD5 MACs for security reasons
* | mergeBrett Cannon2014-03-213-67/+48
|\ \
| * | Fix parameter name in docs for os.makedirs and os.removedirs.Zachary Ware2014-03-201-2/+2
| | | | | | | | | | | | Pointed out by Colin Davis on docs@.
| * | Clean-up docstringRaymond Hettinger2014-03-201-3/+1
| | |
| * | Issue #20444: Reduced code duplication.Vinay Sajip2014-03-201-50/+34
| | |
| * | Issue #20558: Improved implementation of error handling.Vinay Sajip2014-03-201-12/+11
| | |
* | | Issue #20884: Don't assume in importlib.__init__ that __file__ isBrett Cannon2014-03-211-1/+6
|/ / | | | | | | defined.
* | Issue #20976: pyflakes: Remove unused importsVictor Stinner2014-03-2043-64/+11
| |
* | Issue #20978: pyflakes: fix undefined namesVictor Stinner2014-03-203-3/+2
| |
* | Issue #20978: Remove last part of OS/2 support in distutilsVictor Stinner2014-03-201-2/+0
| |
* | Skip test_urllib2.test_issue16464() is the ssl module is missingVictor Stinner2014-03-191-0/+6
| |
* | Issue #20879: Delay the initialization of encoding and decoding tables forVictor Stinner2014-03-172-19/+49
| | | | | | | | | | | | base32, ascii85 and base85 codecs in the base64 module, and delay the initialization of the unquote_to_bytes() table of the urllib.parse module, to not waste memory if these modules are not used.
* | 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
* | Remove stray semicolonAntoine Pitrou2014-03-171-1/+1
| |
* | Merged default into 3.4 branch. 3.4 branch is now effectively 3.4.1rc1.Larry Hastings2014-03-1789-965/+1399
|\ \
| * \ merge 3.3 (#20946)Benjamin Peterson2014-03-162-9/+9
| |\ \ | | |/
| | * fix ctypes test alignment assumptions (closes #20946)Benjamin Peterson2014-03-162-9/+9
| | | | | | | | | | | | Patch by Andreas Schwab.
| * | 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.
| * | Closes #20918: Added handling for exceptions during fallback output of ↵Vinay Sajip2014-03-141-4/+12
| | | | | | | | | | | | logging exceptions.
| * | Merge #7475: Remove references to '.transform' from transform codec docstrings.R David Murray2014-03-146-12/+6
| |\ \ | | |/
| | * #7475: Remove references to '.transform' from transform codec docstrings.R David Murray2014-03-146-12/+6
| | |
| * | Merge 3.3 (#11599)Éric Araujo2014-03-131-15/+40
| |\ \ | | |/
| | * Make distutils error messages more helpful (#11599).Éric Araujo2014-03-131-18/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running external programs such as a C compiler and getting an error code, distutils only prints the program name. With this change, one can get the full command line by setting the DISTUTILS_DEBUG environment variable. This should have no compatibility issues, unless there are tools that depend on the exact format of distutils debug messages.
| * | merge 3.3 (#20901)Benjamin Peterson2014-03-131-1/+1
| |\ \ | | |/
| | * weaken callback count inequality (closes #20901)Benjamin Peterson2014-03-131-1/+1
| | |
| * | merge 3.3 (#19060)Benjamin Peterson2014-03-131-1/+1
| |\ \ | | |/
| | * remove unnecessary word (closes #19060)Benjamin Peterson2014-03-131-1/+1
| | | | | | | | | | | | Patch by Anastasia Filatova.
| * | 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
| | | |