summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix asyncio issue 235 (merge from 3.4).Guido van Rossum2015-04-201-5/+19
|\
| * Fix asyncio issue 235: Queue subclass bug caused by JoinableQueue merge.Guido van Rossum2015-04-201-5/+19
| |
* | Issue #23908: os functions now reject paths with embedded null characterSerhiy Storchaka2015-04-201-0/+36
|\ \ | |/ | | | | | | | | on Windows instead of silently truncate them. Removed no longer used _PyUnicode_HasNULChars().
| * Issue #23908: os functions now reject paths with embedded null characterSerhiy Storchaka2015-04-201-0/+36
| | | | | | | | on Windows instead of silently truncate them.
* | Issue #23728: binascii.crc_hqx() could return an integer outside of the rangeSerhiy Storchaka2015-04-201-0/+12
|\ \ | |/ | | | | 0-0xffff for empty data.
| * Issue #23728: binascii.crc_hqx() could return an integer outside of the rangeSerhiy Storchaka2015-04-201-0/+12
| | | | | | | | 0-0xffff for empty data.
* | Issue #23842: Added tests for os.major(), os.minor() and os.makedev().Serhiy Storchaka2015-04-201-0/+30
|\ \ | |/
| * Issue #23842: Added tests for os.major(), os.minor() and os.makedev().Serhiy Storchaka2015-04-201-0/+30
| |
| * Backported tests from issue #20175.Serhiy Storchaka2015-04-162-3/+23
| |
* | #16914: add timestamps to smtplib debugging output via new debuglevel 2.R David Murray2015-04-161-0/+21
| | | | | | | | Patch by Gavin Chappell and Maciej Szulik.
* | #7159: generalize urllib prior auth support.R David Murray2015-04-161-16/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | This fix is a superset of the functionality introduced by the issue #19494 enhancement, and supersedes that fix. Instead of a new handler, we have a new password manager that tracks whether we should send the auth for a given uri. This allows us to say "always send", satisfying #19494, or track that we've succeeded in auth and send the creds right away on every *subsequent* request. The support for using the password manager is added to AbstractBasicAuth, which means the proxy handler also now can handle prior auth if passed the new password manager. Patch by Akshit Khurana, docs mostly by me.
* | #18128: use standard +NNNN timezone format in POT-Creation-Date header.R David Murray2015-04-161-0/+68
| | | | | | | | Patch by Michael McFadden, with a few small style tweaks.
* | Issue #20175: Converted the _io module to Argument Clinic.Serhiy Storchaka2015-04-162-7/+22
| |
* | Issues #22980, 23969: For OS X, use PEP 3149-style file names for extensionNed Deily2015-04-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | module binaries, with a platform triple of just "darwin", resulting in file names like: _ssl.cpython-35m-darwin.so rather than just _ssl.so as previously. Instead of attempting to encode differences in CPU architecture and OS X deployment targets in the file name as is done on other platforms, these continue to be managed by the use of Apple multi-architecture ("fat") files, by the system dynamic loader, and by logic in higher-levels like sysconfig.get_platform() and pip.
* | Issue #23703: Fix a regression in urljoin() introduced in 901e4e52b20a.Berker Peksag2015-04-151-0/+3
| | | | | | | | Patch by Demian Brecht.
* | Issue #4254: Adds _curses.update_lines_cols() Patch by Arnon YaariSteve Dower2015-04-151-0/+7
| |
* | #23949: Improve tuple unpacking error messages.R David Murray2015-04-152-2/+9
| | | | | | | | Patch by Arnon Yaari.
* | Issue 19933: Provide default argument for ndigits in round. Patch by ↵Steve Dower2015-04-151-0/+8
| | | | | | | | Vajrasky Kok.
* | - #22980: fix typo in Lib/test/test_sysconfig.py triplet testdoko@ubuntu.com2015-04-151-1/+1
| |
* | - Issue #22980: Under Linux, GNU/KFreeBSD and the Hurd, C extensions now includedoko@ubuntu.com2015-04-151-3/+12
| | | | | | | | | | the architecture triplet in the extension name, to make it easy to test builds for different ABIs in the same working tree.
* | Issue 23193: Add numeric_owner to tarfile.TarFile.extract() and ↵Eric V. Smith2015-04-151-0/+132
| | | | | | | | tarfile.TarFile.extractall().
* | Add a subprocess.run() function than returns a CalledProcess instance for aGregory P. Smith2015-04-141-0/+97
| | | | | | | | | | more consistent API than the existing call* functions. (enhancement from issue 23342)
* | Issue #21217: inspect.getsourcelines() now tries to compute the start andAntoine Pitrou2015-04-142-2/+19
| | | | | | | | | | end lines from the code object, fixing an issue when a lambda function is used as decorator argument. Patch by Thomas Ballinger.
* | Merge: #23925: stop (eg) PYTHONSTARTUP from causing test_cmd_line failure.R David Murray2015-04-141-1/+5
|\ \ | |/
| * #23925: stop (eg) PYTHONSTARTUP from causing test_cmd_line failure.R David Murray2015-04-141-1/+5
| | | | | | | | Patch by Jamiel Almeida.
* | issue9859: Use an expected failure rather than a skip.Gregory P. Smith2015-04-141-1/+1
| |
* | issue9859: Document test.support.detect_api_mismatch() and simplify its test.Gregory P. Smith2015-04-142-31/+21
| |
* | issue9859: rename CPyMatchTest to APIMismatchTest and add @support.cpython_only.Gregory P. Smith2015-04-141-2/+3
| |
* | issue9859: Adds a CPyMatchTest test case to compare the exposed APIsGregory P. Smith2015-04-141-1/+15
| | | | | | | | | | of the Python io module and the C io module. They do not currently match so the failing test is marked with @unittest.skip.
* | issue9859: Adds a test.support.detect_api_mismatch function useful toGregory P. Smith2015-04-142-1/+58
| | | | | | | | compare the public APIs of two modules or classes.
* | Merge from 3.4Andrew Kuchling2015-04-141-0/+27
|\ \ | |/
| * #17898: reset k and v so that the loop doesn't use an old valueAndrew Kuchling2015-04-131-0/+27
| |
* | Issue #23943: Fix typos. Patch by Piotr Kasprzyk.Berker Peksag2015-04-146-7/+7
|\ \ | |/
| * Issue #23943: Fix typos. Patch by Piotr Kasprzyk.Berker Peksag2015-04-146-7/+7
| |
* | #11754: test contents of string module attributes.R David Murray2015-04-141-9/+13
| | | | | | | | | | | | | | | | As noted in the comment, while the order of the items in the attributes is not technically guaranteed, after all this time there is almost certainly user code out there that relies on it, so we might as well test for it. Patch by Chalmer Lowe.
* | Issue #20586: Argument Clinic now ensures signatures on functions without ↵Zachary Ware2015-04-132-1/+8
| | | | | | | | docstrings.
* | Issue #23822: Fix test_py_compile to not fail under -O.Brett Cannon2015-04-131-0/+1
| |
* | Issue #21741: Update 147 test modules to use test discovery.Zachary Ware2015-04-13148-866/+184
| | | | | | | | | | | | | | I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run.
* | Issue #23731: Implement PEP 488.Brett Cannon2015-04-1312-193/+145
| | | | | | | | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied.
* | Issue #23726: Don't enable GC for user subclasses of non-GC types that don't ↵Antoine Pitrou2015-04-132-2/+20
| | | | | | | | | | | | add any new fields. Patch by Eugene Toder.
* | Issue #22982: Improve BOM handling when seeking to multiple positions of a ↵Antoine Pitrou2015-04-131-0/+13
|\ \ | |/ | | | | writable text file.
| * Issue #22982: Improve BOM handling when seeking to multiple positions of a ↵Antoine Pitrou2015-04-131-0/+13
| | | | | | | | writable text file.
* | Issue #23309: Avoid a deadlock at shutdown if a daemon thread is abortedAntoine Pitrou2015-04-133-13/+67
|\ \ | |/ | | | | | | | | while it is holding a lock to a buffered I/O object, and the main thread tries to use the same I/O object (typically stdout or stderr). A fatal error is emitted instead.
| * Issue #23309: Avoid a deadlock at shutdown if a daemon thread is abortedAntoine Pitrou2015-04-133-14/+67
| | | | | | | | | | | | while it is holding a lock to a buffered I/O object, and the main thread tries to use the same I/O object (typically stdout or stderr). A fatal error is emitted instead.
* | Actually run the builtins Argument Clinic testNick Coghlan2015-04-131-53/+58
| |
* | Close issue23900: add default __doc__ to new enumerations that do not ↵Ethan Furman2015-04-121-5/+5
| | | | | | | | specify one.
* | - fix file permission for Lib/test/test_script_helper.pydoko@ubuntu.com2015-04-121-0/+0
| |
* | Unittest for Issue 21511 by Christie Wilson bobcatfish@gmail.com (merge from ↵Guido van Rossum2015-04-111-0/+7
|\ \ | |/ | | | | 3.4).
| * Unittest for Issue 21511 by Christie Wilson bobcatfish@gmail.com.Guido van Rossum2015-04-111-0/+7
| |
* | Issue23826: fix doc test for -OO runsEthan Furman2015-04-111-4/+35
| |