summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add missing PyAPI_FUNC macro's to the public functions as other .c files doGregory P. Smith2015-04-261-2/+2
| | | | | in hopes that this fixes the windows extension module link error for modules trying to call _Py_strhex functions. issue9951.
* Switch binascii over to using the common _Py_strhex implementation for its hexGregory P. Smith2015-04-261-28/+3
| | | | and hexlify functions. issue9951.
* Add the files missing from c9f1630cf2b1 for issue9951.Gregory P. Smith2015-04-262-0/+77
| | | | hg status should be my friend more often...
* Issue9951: update _hashopenssl and md5module to use _Py_strhex().Gregory P. Smith2015-04-253-41/+6
| | | | Also update _posixsubprocess to use Py_hexdigits instead of its own constant.
* Implements issue #9951: Adds a hex() method to bytes, bytearray, & memoryview.Gregory P. Smith2015-04-2515-64/+112
| | | | | | | Also updates a few internal implementations of the same thing to use the new built-in code. Contributed by Arnon Yaari.
* merge 3.4 (#24057)Benjamin Peterson2015-04-251-2/+2
|\
| * fix relative link (closes #24057)Benjamin Peterson2015-04-251-2/+2
| |
* | (Merge 3.4) Issue #9246: On POSIX, os.getcwd() now supports paths longer thanVictor Stinner2015-04-242-9/+32
|\ \ | |/ | | | | 1025 bytes. Patch written by William Orr.
| * Issue #9246: On POSIX, os.getcwd() now supports paths longer than 1025 bytesVictor Stinner2015-04-242-7/+30
| | | | | | | | Patch written by William Orr.
* | merge 3.4 (#24049)Benjamin Peterson2015-04-242-35/+0
|\ \ | |/
| * remove dead *-import checking code (closes #24049)Benjamin Peterson2015-04-242-35/+0
| |
* | Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at theSerhiy Storchaka2015-04-2339-823/+377
| | | | | | | | same line as function name.
* | merge 3.4 (#24044)Benjamin Peterson2015-04-232-2/+7
|\ \ | |/
| * merge 3.3 (#24044)Benjamin Peterson2015-04-232-2/+7
| |\
| | * merge 3.2 (#24044)Benjamin Peterson2015-04-232-2/+7
| | |\
| | | * properly handle malloc failure (closes #24044)Benjamin Peterson2015-04-232-2/+7
| | | | | | | | | | | | | | | | Patch by Christian Heimes.
* | | | Issue #24031: make patchcheck now supports git checkouts, too.Christian Heimes2015-04-232-9/+29
|\ \ \ \ | |/ / /
| * | | Issue #24031: make patchcheck now supports git checkouts, too.Christian Heimes2015-04-232-9/+29
| | | |
* | | | 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 #24029: Document the name binding behavior for submodule imports.Barry Warsaw2015-04-222-0/+40
|\ \ \ \ | |/ / /
| * | | Issue #24029: Document the name binding behavior for submodule imports.Barry Warsaw2015-04-222-0/+40
| |\ \ \
| | * | | Issue #24029: Document the name binding behavior for submodule imports.Barry Warsaw2015-04-222-0/+40
| | | | |
* | | | | Next attempt: fix .gitignore for Unix and OSX. Sorry RDM!Christian Heimes2015-04-221-1/+4
|\ \ \ \ \ | |/ / / /
| * | | | Next attempt: fix .gitignore for Unix and OSX. Sorry RDM!Christian Heimes2015-04-221-1/+4
| |/ / /
* | | | Issue #23887: urllib.error.HTTPError now has a proper repr() representation.Facundo Batista2015-04-223-44/+111
| | | |
* | | | Fix .gitignore for 'python' binary.Christian Heimes2015-04-221-1/+1
|\ \ \ \ | |/ / /
| * | | Fix .gitignore for 'python' binary.Christian Heimes2015-04-221-1/+1
| | | |
* | | | merge 3.4 (#22785)Benjamin Peterson2015-04-221-1/+5
|\ \ \ \ | |/ / /
| * | | improved range docstring (closes #22785)Benjamin Peterson2015-04-221-1/+5
| | | | | | | | | | | | | | | | Patch by Ned Batchelder.
* | | | - move NEWS item to 3.5doko@ubuntu.com2015-04-221-3/+3
| | | |
* | | | Issue #21483: Skip test_timestamp_overflow on NFS.Berker Peksag2015-04-221-1/+2
| | | | | | | | | | | | | | | | Patch by Isaac Schwabacher.
* | | | Merge headsSerhiy Storchaka2015-04-224-9/+10
|\ \ \ \
| * | | | Issue #23917: Fall back to sequential compilation when ProcessPoolExecutor ↵Berker Peksag2015-04-224-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | doesn't exist. Patch by Claudiu Popa.
* | | | | Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than ↵Serhiy Storchaka2015-04-223-12/+15
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 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-223-11/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-212-1/+4
|\ \ \ \ | |/ / /
| * | | #15183: clarify timeit documentation to say that setup statement isn't timedAndrew Kuchling2015-04-212-1/+4
| | | |
* | | | Issue #23008: Fixed resolving attributes with boolean value is False in pydoc.Serhiy Storchaka2015-04-213-1/+11
|\ \ \ \ | |/ / /
| * | | Issue #23008: Fixed resolving attributes with boolean value is False in pydoc.Serhiy Storchaka2015-04-213-1/+11
| | | |
* | | | merge 3.4 (#24022)Benjamin Peterson2015-04-213-5/+18
|\ \ \ \ | |/ / /
| * | | do not call into python api if an exception is set (#24022)Benjamin Peterson2015-04-213-5/+18
| | | |
* | | | Get rid of unused-but-set-variable warning. len and len2 should be equal and ↵Christian Heimes2015-04-211-1/+1
| | | | | | | | | | | | | | | | len2 is technically more correct, too.
* | | | #17445: difflib: add diff_bytes(), to compare bytes rather than strGreg Ward2015-04-215-2/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | merge 3.4 (#23989)Benjamin Peterson2015-04-202-0/+10
|\ \ \ \ | |/ / /
| * | | recommend requests library (closes #23989)Benjamin Peterson2015-04-202-0/+10
| | | | | | | | | | | | | | | | Patch from Van Lindberg