summaryrefslogtreecommitdiff
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #13204: Calling sys.flags.__new__ would crash the interpreter, now it ↵Antoine Pitrou2014-04-281-0/+20
| | | | raises a TypeError.
* asyncio: Add __weakref__ slots to Handle and CoroWrapper. Upstream issue #166.Guido van Rossum2014-04-274-2/+16
|
* asyncio: Be careful accessing instance variables in __del__ (closes #21340).Guido van Rossum2014-04-271-1/+3
|
* make operations on closed dumb databases raise a consistent exception ↵Benjamin Peterson2014-04-262-4/+37
| | | | | | (closes #19385) Patch by Claudiu Popa.
* shallow defaults to 'True' not '1' (closes #21355)Benjamin Peterson2014-04-261-1/+1
| | | | Patch by Diana Clarke.
* Issue #21207: Detect when the os.urandom cached fd has been closed or ↵Antoine Pitrou2014-04-261-0/+43
| | | | replaced, and open it anew.
* #21225: copy docstrings from base classesAndrew Kuchling2014-04-251-4/+4
|
* Issue #21346: Fix typo, make message consistent in test_itertools.Zachary Ware2014-04-241-1/+1
| | | | Pointed out by Brian Kearns.
* fix the test on windows which has different return codes from killedGregory P. Smith2014-04-231-5/+10
| | | | children.
* subprocess's Popen.wait() is now thread safe so that multiple threadsGregory P. Smith2014-04-232-10/+88
| | | | | may be calling wait() or poll() on a Popen instance at the same time without losing the Popen.returncode value. Fixes issue #21291.
* Issue #21127: Path objects can now be instantiated from str subclass ↵Antoine Pitrou2014-04-232-2/+32
| | | | | | instances (such as numpy.str_). Thanks to Antony Lee for the report and preliminary patch.
* Issue #21138: Change default reformat paragraph width to PEP 8's 72.Terry Jan Reedy2014-04-221-1/+1
|
* Issue 21284: Idle: make test_formatparagraph pass even when a user changes theTerry Jan Reedy2014-04-222-10/+13
| | | | reformat width in the configuration menu.
* urllib.response object to use _TemporaryFileWrapper (and _TemporaryFileCloser)Senthil Kumaran2014-04-202-66/+60
| | | | | | facility. Provides a better way to handle file descriptor close. Address issue #15002 . Patch contributed by Christian Theune.
* #12220: improve minidom error when URI contains spaces.R David Murray2014-04-202-1/+7
| | | | Fix by 'amathew', test by Marek Stepniowski.
* Issue #11571: Ensure that the turtle window becomes the topmost windowNed Deily2014-04-191-0/+7
| | | | when launched on OS X. (Original patch by Ronald Oussoren)
* Issue #21311: Avoid exception in _osx_support with non-standard compilerNed Deily2014-04-191-1/+1
| | | | configurations. Patch by John Szakmeister.
* #9364: Improve the text printed by help(pydoc) and help(help).R David Murray2014-04-192-4/+9
|
* Issue #21200: Return None from pkgutil.get_loader() when __spec__ is missing.Eric Snow2014-04-192-1/+20
|
* asyncio: Add gi_{frame,running,code} properties to CoroWrapper (upstream #163).Guido van Rossum2014-04-152-0/+59
|
* Fixes for KFreeBSD and the Hurd:doko@ubuntu.com2014-04-171-1/+1
| | | | | | | | - Issue #21274: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c. - Issue #21276: posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd. - Issue #21275: Fix a socket test on KFreeBSD.
* remove superfluous and useless lineBenjamin Peterson2014-04-161-1/+0
|
* use the called property of the run_pip mock rather than an assertion method ↵Benjamin Peterson2014-04-161-8/+8
| | | | that doesn't exist
* Try to fix buildbot failures on old OpenSSLs (< 1.0.0) - followup to issue ↵Antoine Pitrou2014-04-161-1/+6
| | | | #21015
* #1704474: mark refleak test as specific to CPythonAndrew Kuchling2014-04-151-0/+1
| | | | Patch by Christian Hudon.
* Closes issue 21239. unittest.mock.patch.stopall() did not work ↵Michael Foord2014-04-152-6/+28
| | | | deterministically when the same name was patched multiple times.
* Run test_urllib2_localnet tests using unittest.main().Senthil Kumaran2014-04-151-7/+17
| | | | Capture threads in the setUpModule and cleanup threads in the tearDownModule.
* Closes Issue 21222.Kushal Das2014-04-162-0/+6
| | | | Passing name keyword argument to mock.create_autospec now works.
* - Issue #21223: Pass test_site/test_startup_imports when some of the extensionsdoko@ubuntu.com2014-04-151-1/+2
| | | | are built as builtins.
* asyncio.tasks: Make sure CoroWrapper.send proxies one argument correctlyYury Selivanov2014-04-152-0/+20
| | | | Issue #21209.
* Reverted 16efa8d27e4c after discussion with Eric.Vinay Sajip2014-04-151-2/+0
|
* Issue #21197: Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX.Vinay Sajip2014-04-152-2/+20
|
* Closed issue #8931: Make alternate formatting for 'c' raise an exception. ↵Eric V. Smith2014-04-151-0/+2
| | | | Patch by Torsten Landschoff.
* asyncio.tasks: Fix CoroWrapper to workaround yield-from bug in CPython < 3.4.1Yury Selivanov2014-04-142-1/+29
| | | | Closes issue #21209.
* Invoke test_urllibnet tests using unittest.main functionSenthil Kumaran2014-04-141-7/+3
|
* #17498: Defer SMTPServerDisconnected errors until the next command.R David Murray2014-04-142-3/+28
| | | | | | | | | | | | | Normally an SMTP server will return an error, and smtplib will then issue an RSET to return the connection to the known starting state. Some servers, however, disconnect after issuing certain errors. When we issue the RSET, this would result in raising an SMTPServerDisconnected error, *instead* of returning the error code the user of the library was expecting. This fix makes the internal RSET calls ignore the disconnection so that the error code is returned. The user of the library will then get the SMTPServerDisconnected error the next time they try to talk to the server. Patch by Kushal Das.
* merge headsSenthil Kumaran2014-04-142-2/+38
|\
| * Issue #13598: Add auto-numbering of replacement fields to string.Formatter.Eric V. Smith2014-04-142-2/+38
| |
* | Convert urllib.request parse_proxy doctests to unittests.Senthil Kumaran2014-04-142-45/+39
|/
* Issue 17826. Setting an iterable side_effect on a mock created by ↵Michael Foord2014-04-142-2/+31
| | | | create_autospec now works
* do not generate pipe names in the temporary dirBenjamin Peterson2014-04-141-1/+1
|
* Issue #7776: Fix ``Host:'' header and reconnection when using ↵Senthil Kumaran2014-04-142-26/+97
| | | | | | 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.
* Issue 20968. unittest.mock.MagicMock now supports divisionMichael Foord2014-04-142-1/+28
|
* #21169: add comment and doc update for getpass change.R David Murray2014-04-141-0/+1
|
* fix sending tuples to custom generator objects with yield from (closes #21209)Benjamin Peterson2014-04-131-0/+19
| | | | Debugged by Victor.
* merge 3.3Benjamin Peterson2014-04-131-0/+4
|\
| * merge 3.2Benjamin Peterson2014-04-131-0/+4
| |\
| | * in scan_once, prevent the reading of arbitrary memory when passed a negative ↵Benjamin Peterson2014-04-131-0/+4
| | | | | | | | | | | | | | | | | | index Bug reported by Guido Vranken.
* | | #21169: fix getpass to use replace error handler on UnicodeEncodeError.R David Murray2014-04-132-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.