Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #20939: Use www.example.com instead of www.python.org to avoid test | Ned Deily | 2014-03-27 | 4 | -20/+22 |
| | | | | failures when ssl is not present. | ||||
* | Issue #20939: Backout test_urllib2.test_issue16464 disables: | Ned Deily | 2014-03-27 | 1 | -6/+0 |
| | | | | | 68335b8afb1f 3.4 ad0c75b7bd7d default | ||||
* | backport: #20145: assert[Raises|Warns]Regex now raise TypeError on bad regex. | R David Murray | 2014-03-25 | 2 | -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 Stinner | 2014-03-25 | 1 | -1/+1 |
| | |||||
* | Issue #21038: Use monotonic clock to compute timeout, not the system clock | Victor Stinner | 2014-03-25 | 1 | -8/+8 |
| | |||||
* | Issue #21038: Cleanup test_epoll.py | Victor Stinner | 2014-03-25 | 1 | -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 Stinner | 2014-03-25 | 2 | -3/+31 |
| | | | | close the file descriptor if io.open() fails | ||||
* | asyncio: Ensure call_soon(), call_later() and call_at() are invoked on current | Victor Stinner | 2014-03-21 | 2 | -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 contexts | Donald Stufft | 2014-03-23 | 2 | -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 Oudkerk | 2014-03-23 | 1 | -2/+2 |
| | |||||
* | #20976: remove unneeded quopri import in email.utils. | R David Murray | 2014-03-23 | 2 | -4/+2 |
| | |||||
* | Merge 3.3. | Richard Oudkerk | 2014-03-23 | 2 | -2/+2 |
|\ | |||||
| * | Issue #20633: Replace relative import by absolute import. | Richard Oudkerk | 2014-03-23 | 1 | -1/+1 |
| | | |||||
* | | Issue #20980: Stop wrapping exception when using ThreadPool. | Richard Oudkerk | 2014-03-23 | 3 | -6/+28 |
| | | |||||
* | | Issue #20990: Fix issues found by pyflakes for multiprocessing. | Richard Oudkerk | 2014-03-23 | 2 | -5/+14 |
| | | |||||
* | | Issue #21015: SSL contexts will now automatically select an elliptic curve ↵ | Antoine Pitrou | 2014-03-22 | 1 | -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 module | Donald Stufft | 2014-03-22 | 1 | -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 | ||||
* | | merge | Brett Cannon | 2014-03-21 | 3 | -67/+48 |
|\ \ | |||||
| * | | Fix parameter name in docs for os.makedirs and os.removedirs. | Zachary Ware | 2014-03-20 | 1 | -2/+2 |
| | | | | | | | | | | | | Pointed out by Colin Davis on docs@. | ||||
| * | | Clean-up docstring | Raymond Hettinger | 2014-03-20 | 1 | -3/+1 |
| | | | |||||
| * | | Issue #20444: Reduced code duplication. | Vinay Sajip | 2014-03-20 | 1 | -50/+34 |
| | | | |||||
| * | | Issue #20558: Improved implementation of error handling. | Vinay Sajip | 2014-03-20 | 1 | -12/+11 |
| | | | |||||
* | | | Issue #20884: Don't assume in importlib.__init__ that __file__ is | Brett Cannon | 2014-03-21 | 1 | -1/+6 |
|/ / | | | | | | | defined. | ||||
* | | Issue #20976: pyflakes: Remove unused imports | Victor Stinner | 2014-03-20 | 43 | -64/+11 |
| | | |||||
* | | Issue #20978: pyflakes: fix undefined names | Victor Stinner | 2014-03-20 | 3 | -3/+2 |
| | | |||||
* | | Issue #20978: Remove last part of OS/2 support in distutils | Victor Stinner | 2014-03-20 | 1 | -2/+0 |
| | | |||||
* | | Skip test_urllib2.test_issue16464() is the ssl module is missing | Victor Stinner | 2014-03-19 | 1 | -0/+6 |
| | | |||||
* | | Issue #20879: Delay the initialization of encoding and decoding tables for | Victor Stinner | 2014-03-17 | 2 | -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_descr | Benjamin Peterson | 2014-03-17 | 2 | -25/+25 |
| | | |||||
* | | correct the fix for #20637; allow slot descriptor inheritance to take place ↵ | Benjamin Peterson | 2014-03-17 | 1 | -0/+8 |
| | | | | | | | | before creating cached keys | ||||
* | | Remove stray semicolon | Antoine Pitrou | 2014-03-17 | 1 | -1/+1 |
| | | |||||
* | | Merged default into 3.4 branch. 3.4 branch is now effectively 3.4.1rc1. | Larry Hastings | 2014-03-17 | 89 | -965/+1399 |
|\ \ | |||||
| * \ | merge 3.3 (#20946) | Benjamin Peterson | 2014-03-16 | 2 | -9/+9 |
| |\ \ | | |/ | |||||
| | * | fix ctypes test alignment assumptions (closes #20946) | Benjamin Peterson | 2014-03-16 | 2 | -9/+9 |
| | | | | | | | | | | | | Patch by Andreas Schwab. | ||||
| * | | Issue #20939: merge from 3.3 | Ned Deily | 2014-03-15 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Issue #20939: Fix test_geturl failure in test_urllibnet due to | Ned Deily | 2014-03-15 | 1 | -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 Murray | 2014-03-15 | 1 | -1/+2 |
| |\ \ | | |/ | |||||
| | * | #20933: At least one place maps 'test' to 'localhost'...fix test. | R David Murray | 2014-03-15 | 1 | -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 Sajip | 2014-03-14 | 1 | -4/+12 |
| | | | | | | | | | | | | logging exceptions. | ||||
| * | | Merge #7475: Remove references to '.transform' from transform codec docstrings. | R David Murray | 2014-03-14 | 6 | -12/+6 |
| |\ \ | | |/ | |||||
| | * | #7475: Remove references to '.transform' from transform codec docstrings. | R David Murray | 2014-03-14 | 6 | -12/+6 |
| | | | |||||
| * | | Merge 3.3 (#11599) | Éric Araujo | 2014-03-13 | 1 | -15/+40 |
| |\ \ | | |/ | |||||
| | * | Make distutils error messages more helpful (#11599). | Éric Araujo | 2014-03-13 | 1 | -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 Peterson | 2014-03-13 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | weaken callback count inequality (closes #20901) | Benjamin Peterson | 2014-03-13 | 1 | -1/+1 |
| | | | |||||
| * | | merge 3.3 (#19060) | Benjamin Peterson | 2014-03-13 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | remove unnecessary word (closes #19060) | Benjamin Peterson | 2014-03-13 | 1 | -1/+1 |
| | | | | | | | | | | | | Patch by Anastasia Filatova. | ||||
| * | | merge 3.3 (#20896) | Benjamin Peterson | 2014-03-12 | 1 | -3/+8 |
| |\ \ | | |/ | |||||
| | * | merge 3.2 (#20896) | Benjamin Peterson | 2014-03-12 | 1 | -3/+8 |
| | |\ | |||||
| | | * | use ssl.PROTOCOL_SSLv23 for maximum compatibility (closes #20896) | Benjamin Peterson | 2014-03-12 | 1 | -3/+8 |
| | | | |