summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* #21169: fix getpass to use replace error handler on UnicodeEncodeError.R David Murray2014-04-142-2/+15
| | | | | | | | | 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.
* Issue #20635: Added tests for Tk geometry managers.Serhiy Storchaka2014-04-132-0/+913
|
* Issue #21171: Fixed undocumented filter API of the rot13 codec.Serhiy Storchaka2014-04-131-1/+1
| | | | Patch by Berker Peksag.
* Issue #21172: isinstance check relaxed from dict to collections.Mapping.Vinay Sajip2014-04-101-2/+9
|
* teach 2to3 about 'yield from'Benjamin Peterson2014-04-102-1/+9
|
* add matrix multiplication operator support to 2to3Benjamin Peterson2014-04-105-9/+17
|
* inspect.signautre: Fix functools.partial support. Issue #21117Yury Selivanov2014-04-082-93/+141
|
* Issue #21155: asyncio.EventLoop.create_unix_server() now raises a ValueError ifVictor Stinner2014-04-072-0/+15
| | | | path and sock are specified at the same time.
* asyncio: Document Task.cancel() properly.Victor Stinner2014-04-071-0/+19
|
* make temporary read-only files writable, so rmtree can remove them (#21128)Benjamin Peterson2014-04-041-0/+3
|
* Issue #21149: Improved thread-safety in logging cleanup during interpreter ↵Vinay Sajip2014-04-041-8/+9
| | | | shutdown.
* remove unused argument (closes #21135)Benjamin Peterson2014-04-031-1/+1
|
* 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-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
| | |