Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add missing PyAPI_FUNC macro's to the public functions as other .c files do | Gregory P. Smith | 2015-04-26 | 1 | -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 hex | Gregory P. Smith | 2015-04-26 | 1 | -28/+3 |
| | | | | and hexlify functions. issue9951. | ||||
* | Add the files missing from c9f1630cf2b1 for issue9951. | Gregory P. Smith | 2015-04-26 | 2 | -0/+77 |
| | | | | hg status should be my friend more often... | ||||
* | Issue9951: update _hashopenssl and md5module to use _Py_strhex(). | Gregory P. Smith | 2015-04-25 | 3 | -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. Smith | 2015-04-25 | 15 | -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 Peterson | 2015-04-25 | 1 | -2/+2 |
|\ | |||||
| * | fix relative link (closes #24057) | Benjamin Peterson | 2015-04-25 | 1 | -2/+2 |
| | | |||||
* | | (Merge 3.4) Issue #9246: On POSIX, os.getcwd() now supports paths longer than | Victor Stinner | 2015-04-24 | 2 | -9/+32 |
|\ \ | |/ | | | | | 1025 bytes. Patch written by William Orr. | ||||
| * | Issue #9246: On POSIX, os.getcwd() now supports paths longer than 1025 bytes | Victor Stinner | 2015-04-24 | 2 | -7/+30 |
| | | | | | | | | Patch written by William Orr. | ||||
* | | merge 3.4 (#24049) | Benjamin Peterson | 2015-04-24 | 2 | -35/+0 |
|\ \ | |/ | |||||
| * | remove dead *-import checking code (closes #24049) | Benjamin Peterson | 2015-04-24 | 2 | -35/+0 |
| | | |||||
* | | Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the | Serhiy Storchaka | 2015-04-23 | 39 | -823/+377 |
| | | | | | | | | same line as function name. | ||||
* | | merge 3.4 (#24044) | Benjamin Peterson | 2015-04-23 | 2 | -2/+7 |
|\ \ | |/ | |||||
| * | merge 3.3 (#24044) | Benjamin Peterson | 2015-04-23 | 2 | -2/+7 |
| |\ | |||||
| | * | merge 3.2 (#24044) | Benjamin Peterson | 2015-04-23 | 2 | -2/+7 |
| | |\ | |||||
| | | * | properly handle malloc failure (closes #24044) | Benjamin Peterson | 2015-04-23 | 2 | -2/+7 |
| | | | | | | | | | | | | | | | | Patch by Christian Heimes. | ||||
* | | | | Issue #24031: make patchcheck now supports git checkouts, too. | Christian Heimes | 2015-04-23 | 2 | -9/+29 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #24031: make patchcheck now supports git checkouts, too. | Christian Heimes | 2015-04-23 | 2 | -9/+29 |
| | | | | |||||
* | | | | Issue #23713: Fixed fragility of test_imap_unordered_handle_iterable_exception. | Serhiy Storchaka | 2015-04-23 | 1 | -2/+8 |
|\ \ \ \ | |/ / / | | | | | | | | | Patch by Davin Potts. | ||||
| * | | | Issue #23713: Fixed fragility of test_imap_unordered_handle_iterable_exception. | Serhiy Storchaka | 2015-04-23 | 1 | -2/+8 |
| | | | | | | | | | | | | | | | | Patch by Davin Potts. | ||||
* | | | | Use more precise Tcl version checks in tests. | Serhiy Storchaka | 2015-04-23 | 2 | -4/+6 |
|\ \ \ \ | |/ / / | |||||
| * | | | Use more precise Tcl version checks in tests. | Serhiy Storchaka | 2015-04-23 | 2 | -4/+6 |
| | | | | |||||
* | | | | Issue #24029: Document the name binding behavior for submodule imports. | Barry Warsaw | 2015-04-22 | 2 | -0/+40 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #24029: Document the name binding behavior for submodule imports. | Barry Warsaw | 2015-04-22 | 2 | -0/+40 |
| |\ \ \ | |||||
| | * | | | Issue #24029: Document the name binding behavior for submodule imports. | Barry Warsaw | 2015-04-22 | 2 | -0/+40 |
| | | | | | |||||
* | | | | | Next attempt: fix .gitignore for Unix and OSX. Sorry RDM! | Christian Heimes | 2015-04-22 | 1 | -1/+4 |
|\ \ \ \ \ | |/ / / / | |||||
| * | | | | Next attempt: fix .gitignore for Unix and OSX. Sorry RDM! | Christian Heimes | 2015-04-22 | 1 | -1/+4 |
| |/ / / | |||||
* | | | | Issue #23887: urllib.error.HTTPError now has a proper repr() representation. | Facundo Batista | 2015-04-22 | 3 | -44/+111 |
| | | | | |||||
* | | | | Fix .gitignore for 'python' binary. | Christian Heimes | 2015-04-22 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | Fix .gitignore for 'python' binary. | Christian Heimes | 2015-04-22 | 1 | -1/+1 |
| | | | | |||||
* | | | | merge 3.4 (#22785) | Benjamin Peterson | 2015-04-22 | 1 | -1/+5 |
|\ \ \ \ | |/ / / | |||||
| * | | | improved range docstring (closes #22785) | Benjamin Peterson | 2015-04-22 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | Patch by Ned Batchelder. | ||||
* | | | | - move NEWS item to 3.5 | doko@ubuntu.com | 2015-04-22 | 1 | -3/+3 |
| | | | | |||||
* | | | | Issue #21483: Skip test_timestamp_overflow on NFS. | Berker Peksag | 2015-04-22 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | Patch by Isaac Schwabacher. | ||||
* | | | | Merge heads | Serhiy Storchaka | 2015-04-22 | 4 | -9/+10 |
|\ \ \ \ | |||||
| * | | | | Issue #23917: Fall back to sequential compilation when ProcessPoolExecutor ↵ | Berker Peksag | 2015-04-22 | 4 | -9/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | doesn't exist. Patch by Claudiu Popa. | ||||
* | | | | | Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than ↵ | Serhiy Storchaka | 2015-04-22 | 3 | -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 Storchaka | 2015-04-22 | 3 | -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 Storchaka | 2015-04-22 | 3 | -27/+23 |
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | | | |||||
| * | | | Fixed full Tcl version parsing in tests for pre-final versions. | Serhiy Storchaka | 2015-04-22 | 3 | -27/+23 |
| | | | | |||||
* | | | | Merge from 3.4 | Andrew Kuchling | 2015-04-21 | 2 | -1/+4 |
|\ \ \ \ | |/ / / | |||||
| * | | | #15183: clarify timeit documentation to say that setup statement isn't timed | Andrew Kuchling | 2015-04-21 | 2 | -1/+4 |
| | | | | |||||
* | | | | Issue #23008: Fixed resolving attributes with boolean value is False in pydoc. | Serhiy Storchaka | 2015-04-21 | 3 | -1/+11 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #23008: Fixed resolving attributes with boolean value is False in pydoc. | Serhiy Storchaka | 2015-04-21 | 3 | -1/+11 |
| | | | | |||||
* | | | | merge 3.4 (#24022) | Benjamin Peterson | 2015-04-21 | 3 | -5/+18 |
|\ \ \ \ | |/ / / | |||||
| * | | | do not call into python api if an exception is set (#24022) | Benjamin Peterson | 2015-04-21 | 3 | -5/+18 |
| | | | | |||||
* | | | | Get rid of unused-but-set-variable warning. len and len2 should be equal and ↵ | Christian Heimes | 2015-04-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | len2 is technically more correct, too. | ||||
* | | | | #17445: difflib: add diff_bytes(), to compare bytes rather than str | Greg Ward | 2015-04-21 | 5 | -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 Peterson | 2015-04-20 | 2 | -0/+10 |
|\ \ \ \ | |/ / / | |||||
| * | | | recommend requests library (closes #23989) | Benjamin Peterson | 2015-04-20 | 2 | -0/+10 |
| | | | | | | | | | | | | | | | | Patch from Van Lindberg |