summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23713: Fixed fragility of test_imap_unordered_handle_iterable_exception.Serhiy Storchaka2015-04-231-2/+8
|\ | | | | | | Patch by Davin Potts.
| * Issue #23713: Fixed fragility of test_imap_unordered_handle_iterable_exception.Serhiy Storchaka2015-04-231-2/+8
| | | | | | | | Patch by Davin Potts.
* | Use more precise Tcl version checks in tests.Serhiy Storchaka2015-04-232-4/+6
|\ \ | |/
| * Use more precise Tcl version checks in tests.Serhiy Storchaka2015-04-232-4/+6
| |
* | Issue #23887: urllib.error.HTTPError now has a proper repr() representation.Facundo Batista2015-04-222-44/+108
| |
* | Issue #21483: Skip test_timestamp_overflow on NFS.Berker Peksag2015-04-221-1/+2
| | | | | | | | Patch by Isaac Schwabacher.
* | Merge headsSerhiy Storchaka2015-04-222-7/+5
|\ \
| * | Issue #23917: Fall back to sequential compilation when ProcessPoolExecutor ↵Berker Peksag2015-04-222-7/+5
| | | | | | | | | | | | | | | | | | doesn't exist. Patch by Claudiu Popa.
* | | Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than ↵Serhiy Storchaka2015-04-221-1/+3
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 8.5.8 (tclTomMath.h was broken) and non-final Tcl 8.6. Removed TK_VERSION_HEX.
| * | Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than ↵Serhiy Storchaka2015-04-221-1/+3
| | | | | | | | | | | | | | | | | | 8.5.8 (tclTomMath.h was broken) and non-final Tcl 8.6.
* | | Fixed full Tcl version parsing in tests for pre-final versions.Serhiy Storchaka2015-04-223-27/+23
|\ \ \ | |/ / | | / | |/ |/|
| * Fixed full Tcl version parsing in tests for pre-final versions.Serhiy Storchaka2015-04-223-27/+23
| |
* | Merge from 3.4Andrew Kuchling2015-04-211-1/+2
|\ \ | |/
| * #15183: clarify timeit documentation to say that setup statement isn't timedAndrew Kuchling2015-04-211-1/+2
| |
* | Issue #23008: Fixed resolving attributes with boolean value is False in pydoc.Serhiy Storchaka2015-04-212-1/+9
|\ \ | |/
| * Issue #23008: Fixed resolving attributes with boolean value is False in pydoc.Serhiy Storchaka2015-04-212-1/+9
| |
* | merge 3.4 (#24022)Benjamin Peterson2015-04-211-1/+13
|\ \ | |/
| * do not call into python api if an exception is set (#24022)Benjamin Peterson2015-04-211-1/+13
| |
* | #17445: difflib: add diff_bytes(), to compare bytes rather than strGreg Ward2015-04-212-2/+196
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some applications (e.g. traditional Unix diff, version control systems) neither know nor care about the encodings of the files they are comparing. They are textual, but to the diff utility they are just bytes. This worked fine under Python 2, because all of the hardcoded strings in difflib.py are ASCII, so could safely be combined with old-style u'' strings. But it stopped working in 3.x. The solution is to use surrogate escapes for a lossless bytes->str->bytes roundtrip. That means {unified,context}_diff() can continue to just handle strings without worrying about bytes. Callers who have to deal with bytes will need to change to using diff_bytes(). Use case: Mercurial's test runner uses difflib to compare current hg output with known good output. But Mercurial's output is just bytes, since it can contain: * file contents (arbitrary unknown encoding) * filenames (arbitrary unknown encoding) * usernames and commit messages (usually UTF-8, but not guaranteed because old versions of Mercurial did not enforce it) * user messages (locale encoding) Since the output of any given hg command can include text in multiple encodings, it is hopeless to try to treat it as decodable Unicode text. It's just bytes, all the way down. This is an elaboration of a patch by Terry Reedy.
* | Fix asyncio issue 235 (merge from 3.4).Guido van Rossum2015-04-202-11/+32
|\ \ | |/
| * Fix asyncio issue 235: Queue subclass bug caused by JoinableQueue merge.Guido van Rossum2015-04-202-11/+32
| |
* | Merge Python 3.5.0a4 release engineering commits.Larry Hastings2015-04-202-0/+78
|\ \
| * \ 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
| | |
* | | Version number bump for Python 3.5.0a4.v3.5.0a4Larry Hastings2015-04-192-2/+2
| | |
* | | Regenerated pydoc-topics and fixed bad/suspicious doc markup for Python 3.5.0a4.Larry Hastings2015-04-191-3/+3
|/ /
* | #16914: fix test errors under -W error::BytesWarning.R David Murray2015-04-161-2/+2
| | | | | | | | | | | | There are doubtless other debug messages in smtplib that would trigger an error if they were tested, but this fixes the things we do now test, which is good enough for now.
* | #16914: add timestamps to smtplib debugging output via new debuglevel 2.R David Murray2015-04-162-14/+40
| | | | | | | | Patch by Gavin Chappell and Maciej Szulik.
* | #7159: generalize urllib prior auth support.R David Murray2015-04-162-34/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-152-2/+4
| | | | | | | | 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-152-17/+160
| | | | | | | | tarfile.TarFile.extractall().
* | Add a subprocess.run() function than returns a CalledProcess instance for aGregory P. Smith2015-04-142-16/+205
| | | | | | | | | | 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-143-16/+42
| | | | | | | | | | 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
| |
* | Closes #23956: Merge with 3.4Zachary Ware2015-04-141-1/+1
|\ \ | |/