summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #21435: Segfault in gc with cyclic trashTim Peters2014-05-081-0/+32
| | | | | Changed the iteration logic in finalize_garbage() to tolerate objects vanishing from the list as a side effect of executing a finalizer.
* Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a ↵Antoine Pitrou2014-05-082-0/+33
| | | | | | flush() on the underlying binary stream. Patch by akira.
* - Issue #17752: Fix distutils tests when run from the installed location.doko@ubuntu.com2014-05-071-1/+1
|
* #21300: Clean up the docs for the email "policy" arguments.R David Murray2014-05-071-3/+6
|
* asyncio: Fix the second half of issue #21447: race in _write_to_self().Guido van Rossum2014-05-062-6/+14
|
* Issue #21088: Bugfix for curses.window.addch() regression in 3.4.0.Larry Hastings2014-05-041-0/+30
| | | | In porting to Argument Clinic, the first two arguments were reversed.
* Issue #18604: Skip the Tk instantiation test on OS X because it canNed Deily2014-05-041-1/+3
| | | | | cause GUI tests to segfault in Cocoa Tk when run under regrtest -j (multiple threads running subprocesses).
* use with blocks to make sure files are closedBenjamin Peterson2014-05-041-18/+12
|
* improve test coverage of filecmp (closes #21357)Benjamin Peterson2014-05-041-5/+75
| | | | Patch by Diana Clarke.
* Issue #18604: Consolidated checks for GUI availability.Zachary Ware2014-05-025-73/+60
| | | | | | | | | test_support._is_gui_available is now defined the same way on every platform, and now includes the Windows-specific check that had been in the Windows version of _is_gui_available and the OSX-specific check that was in tkinter.test.support.check_tk_availability. Also, every platform checks whether Tk can be instantiated (if the platform-specific checks passed).
* Issue #21374: Fix pickling of DecimalTuple.Stefan Krah2014-04-291-0/+17
|
* Closes issue #21316: mark test_devpoll to be meaningfull only for SolarisJesus Cea2014-04-291-4/+2
|
* Issue #21321: itertools.islice() now releases the reference to the source ↵Antoine Pitrou2014-04-291-2/+11
| | | | | | iterator when the slice is exhausted. Patch by Anton Afanasyev.
* Issue #9815: assertRaises now tries to clear references to local variables ↵Antoine Pitrou2014-04-282-0/+34
| | | | in the exception's traceback.
* 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-222-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-201-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-152-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-152-1/+29
| | | | Closes issue #21209.
* Invoke test_urllibnet tests using unittest.main functionSenthil Kumaran2014-04-151-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.