summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* merge 3.3 (#21082)Benjamin Peterson2014-04-012-29/+8
|\
| * merge 3.2 (#21082)Benjamin Peterson2014-04-012-29/+8
| |\
| | * remove directory mode check from makedirs (closes #21082)Benjamin Peterson2014-04-012-27/+8
| | |
* | | fix typoBenjamin Peterson2014-04-011-1/+1
| | |
* | | simplify check, since now there are only new-style classesBenjamin Peterson2014-04-011-5/+2
| | |
* | | 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 #16047: Fix module exception list and __file__ handling in freeze.Martin v. Löwis2014-03-301-3/+8
| | | | | | | | | | | | Patch by Meador Inge.
* | | Issue #21097: Move test_namespace_pkgs into test_importlib.Eric Snow2014-03-2915-0/+0
| | |
* | | Issue #21093: Prevent failures of ctypes test_macholib on OS X if aNed Deily2014-03-291-2/+5
| | | | | | | | | | | | copy of libz exists in $HOME/lib or /usr/local/lib.
* | | Issue #17654: Ensure IDLE menus are customized properly on OS X forNed Deily2014-03-2811-93/+123
| | | | | | | | | | | | non-framework builds and for all variants of Tk.
* | | 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-272-1/+7
| | | | | | | | | | | | Patch by Jeremiah Lowin. Closes #20817.
* | | inspect: Fix getcallargs() to raise correct TypeErrorYury Selivanov2014-03-272-1/+9
| | | | | | | | | | | | | | | ... 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
* | | 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