summaryrefslogtreecommitdiff
path: root/Lib/test
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-272-0/+14
|
* make operations on closed dumb databases raise a consistent exception ↵Benjamin Peterson2014-04-261-4/+25
| | | | | | (closes #19385) Patch by Claudiu Popa.
* Issue #21207: Detect when the os.urandom cached fd has been closed or ↵Antoine Pitrou2014-04-261-0/+43
| | | | replaced, and open it anew.
* 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-231-0/+48
| | | | | 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-231-0/+30
| | | | | | instances (such as numpy.str_). Thanks to Antony Lee for the report and preliminary patch.
* urllib.response object to use _TemporaryFileWrapper (and _TemporaryFileCloser)Senthil Kumaran2014-04-201-24/+41
| | | | | | 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-201-0/+4
| | | | Fix by 'amathew', test by Marek Stepniowski.
* Issue #21200: Return None from pkgutil.get_loader() when __spec__ is missing.Eric Snow2014-04-191-1/+18
|
* asyncio: Add gi_{frame,running,code} properties to CoroWrapper (upstream #163).Guido van Rossum2014-04-151-0/+47
|
* 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.
* 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.
* - 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-151-0/+18
| | | | 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-151-0/+9
|
* 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-141-0/+25
| | | | 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-141-0/+13
| | | | | | | | | | | | | 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-141-0/+17
|\
| * Issue #13598: Add auto-numbering of replacement fields to string.Formatter.Eric V. Smith2014-04-141-0/+17
| |
* | Convert urllib.request parse_proxy doctests to unittests.Senthil Kumaran2014-04-141-1/+38
|/
* Issue #7776: Fix ``Host:'' header and reconnection when using ↵Senthil Kumaran2014-04-141-2/+48
| | | | | | 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.
* 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-131-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | inspect.signautre: Fix functools.partial support. Issue #21117Yury Selivanov2014-04-081-20/+79
| | |
* | | Issue #21155: asyncio.EventLoop.create_unix_server() now raises a ValueError ifVictor Stinner2014-04-071-0/+11
| | | | | | | | | | | | path and sock are specified at the same time.
* | | make temporary read-only files writable, so rmtree can remove them (#21128)Benjamin Peterson2014-04-041-0/+3
| | |
* | | 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-011-4/+3
|\ \ \ | |/ /
| * | merge 3.2 (#21082)Benjamin Peterson2014-04-011-4/+3
| |\ \ | | |/
| | * remove directory mode check from makedirs (closes #21082)Benjamin Peterson2014-04-011-4/+3
| | |
* | | 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
| | |