Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Replace noop constant statement with expression | Victor Stinner | 2016-02-08 | 5 | -20/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Constant statements will be ignored and the compiler will emit a SyntaxWarning. * Replace constant statement (ex: "1") with an expression statement (ex: "x=1"). * test_traceback: use context manager on the file. Issue #26204. | |||||
* | | | Simplify main() of test_ast | Victor Stinner | 2016-02-08 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | | | | | | * Use ast.parse() to get the AST for a statement * Use str%args syntax for format a line Issue #26204. | |||||
* | | | Issue #26117: The os.scandir() iterator now closes file descriptor not only | Serhiy Storchaka | 2016-02-08 | 2 | -17/+23 | |
|\ \ \ | |/ / | | | | | | | when the iteration is finished, but when it was failed with error. | |||||
| * | | Issue #26117: The os.scandir() iterator now closes file descriptor not only | Serhiy Storchaka | 2016-02-08 | 2 | -17/+23 | |
| | | | | | | | | | | | | when the iteration is finished, but when it was failed with error. | |||||
* | | | Issue #25949: __dict__ for an OrderedDict instance is now created only when | Serhiy Storchaka | 2016-02-08 | 3 | -17/+13 | |
| | | | | | | | | | | | | needed. | |||||
* | | | Issue #25911: Restored support of bytes paths in os.walk() on Windows. | Serhiy Storchaka | 2016-02-08 | 3 | -10/+41 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #25911: Restored support of bytes paths in os.walk() on Windows. | Serhiy Storchaka | 2016-02-08 | 3 | -10/+41 | |
| | | | ||||||
* | | | Issue #26045: Merge http.client error addition from 3.5 | Martin Panter | 2016-02-09 | 3 | -2/+20 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #26045: Add UTF-8 suggestion to error in http.client | Martin Panter | 2016-02-09 | 3 | -2/+20 | |
| | | | | | | | | | | | | Based on patch by Guido van Rossum. | |||||
* | | | Issue #26198: Make datetime error tests more lenient. | Serhiy Storchaka | 2016-02-08 | 1 | -3/+3 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #26198: Make datetime error tests more lenient. | Serhiy Storchaka | 2016-02-08 | 1 | -3/+3 | |
| | | | ||||||
* | | | Issue #26198: ValueError is now raised instead of TypeError on buffer | Serhiy Storchaka | 2016-02-07 | 4 | -8/+20 | |
| | | | | | | | | | | | | | | | overflow in parsing "es#" and "et#" format units. SystemError is now raised instead of TypeError on programmical error in parsing format string. | |||||
* | | | Issue #26198: Fixed error messages for some argument parsing errors. | Serhiy Storchaka | 2016-02-07 | 2 | -13/+21 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #26198: Fixed error messages for some argument parsing errors. | Serhiy Storchaka | 2016-02-07 | 3 | -14/+23 | |
| | | | | | | | | | | | | | | | Fixed the documented about buffer overflow error for "es#" and "et#" format units. | |||||
* | | | Issue #26039: Added zipfile.ZipInfo.from_file() and zipinfo.ZipInfo.is_dir(). | Serhiy Storchaka | 2016-02-07 | 5 | -28/+99 | |
| | | | | | | | | | | | | Patch by Thomas Kluyver. | |||||
* | | | Merge string formatting doc fixes from 3.5 | Martin Panter | 2016-02-08 | 9 | -29/+31 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #25179: Preparatory cleanup of existing docs on string formatting | Martin Panter | 2016-02-08 | 9 | -29/+31 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Various sections were pointing to the section on the string.Formatter class, when the section on the common format string syntax is probably more appropriate * Fix references to various format() functions and methods * Nested replacement fields may contain conversions and format specifiers, and this is tested; see Issue #19729 for instance | |||||
* | | | Issue #26288: Fix comment | Yury Selivanov | 2016-02-06 | 1 | -3/+3 | |
| | | | ||||||
* | | | merge from 3.5 | Senthil Kumaran | 2016-02-06 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | Fix userinfo example presented in urllib2 howto. | Senthil Kumaran | 2016-02-06 | 1 | -1/+1 | |
| | | | ||||||
* | | | Issue #26288: Optimize PyLong_AsDouble. | Yury Selivanov | 2016-02-06 | 2 | -0/+8 | |
| | | | ||||||
* | | | Switch to more idiomatic C code. | Eric V. Smith | 2016-02-05 | 1 | -3/+4 | |
| | | | ||||||
* | | | Fix issue 26287: While handling FORMAT_VALUE opcode, the top of stack was ↵ | Eric V. Smith | 2016-02-05 | 2 | -2/+13 | |
| | | | | | | | | | | | | being corrupted if an error occurred in PyObject_Format(). | |||||
* | | | Issue #12923: Merge FancyURLopener fix from 3.5 | Martin Panter | 2016-02-06 | 4 | -17/+42 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #12923: Reset FancyURLopener's redirect counter even on exception | Martin Panter | 2016-02-04 | 4 | -17/+42 | |
| | | | | | | | | | | | | Based on patches by Brian Brazil and Daniel Rocco. | |||||
* | | | Merge 3.5 | Yury Selivanov | 2016-02-04 | 2 | -4/+9 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #25660: Fix a unittest and rlcompleter when readline isn't available | Yury Selivanov | 2016-02-04 | 2 | -4/+10 | |
| | | | ||||||
* | | | Add early-out for the common case where kwds is NULL (gives 1.1% speedup). | Raymond Hettinger | 2016-02-04 | 1 | -2/+3 | |
| | | | ||||||
* | | | Merge 3.5 (issue #25660) | Yury Selivanov | 2016-02-04 | 2 | -1/+6 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #25660: Fix TAB key behaviour in REPL. | Yury Selivanov | 2016-02-04 | 2 | -1/+6 | |
| | | | ||||||
* | | | Merge with 3.5 | Zachary Ware | 2016-02-04 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | Python for .NET has moved to Github. | Zachary Ware | 2016-02-04 | 1 | -1/+1 | |
| | | | | | | | | | | | | Reported by Denis Akhiyarov on docs@ | |||||
* | | | Merge with 3.5 | Zachary Ware | 2016-02-02 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | Fix typo. | Zachary Ware | 2016-02-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | Reported by Jon Tetlak on docs@ | |||||
* | | | Issue #25945: Fixed bugs in functools.partial. | Serhiy Storchaka | 2016-02-02 | 3 | -66/+160 | |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | Fixed a crash when unpickle the functools.partial object with wrong state. Fixed a leak in failed functools.partial constructor. "args" and "keywords" attributes of functools.partial have now always types tuple and dict correspondingly. | |||||
| * | | Issue #25945: Fixed bugs in functools.partial. | Serhiy Storchaka | 2016-02-02 | 3 | -66/+160 | |
| | | | | | | | | | | | | | | | | | | | | | Fixed a crash when unpickle the functools.partial object with wrong state. Fixed a leak in failed functools.partial constructor. "args" and "keywords" attributes of functools.partial have now always types tuple and dict correspondingly. | |||||
* | | | Issue #26244: Merge zlib documentation from 3.5 | Martin Panter | 2016-02-03 | 4 | -9/+13 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #26244: Clarify default zlib compression level in documentation | Martin Panter | 2016-02-03 | 4 | -9/+13 | |
| | | | | | | | | | | | | Based on patch by Aviv Palivoda. | |||||
| * | | Issue #26194: Inserting into a full deque to raise an IndexError | Raymond Hettinger | 2016-02-02 | 4 | -20/+18 | |
| | | | ||||||
* | | | Issue #24421: Compile _math.c separately to avoid race condition | Martin Panter | 2016-02-03 | 3 | -5/+17 | |
| | | | ||||||
* | | | merge | Raymond Hettinger | 2016-02-02 | 3 | -18/+16 | |
| | | | ||||||
* | | | Merge 3.5 (asyncio) | Victor Stinner | 2016-02-01 | 1 | -6/+6 | |
|\ \ \ | |/ / | ||||||
| * | | Fix error message in asyncio.selector_events. | Victor Stinner | 2016-02-01 | 1 | -6/+6 | |
| | | | | | | | | | | | | Patch written by Carlo Beccarini <hackdiablo.cb@gmail.com>. | |||||
* | | | Merge 3.5 (test_asyncio) | Victor Stinner | 2016-02-01 | 1 | -1/+2 | |
|\ \ \ | |/ / | ||||||
| * | | test_asyncio: fix test_timeout_time() | Victor Stinner | 2016-02-01 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | Accept time delta up to 0.12 second, instead of 0.11, for the "AMD64 FreeBSD 9.x" buildbot slave. | |||||
* | | | Issue #19587: Merge test_bytes cleanup from 3.5 | Martin Panter | 2016-02-02 | 3 | -63/+6 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #19587: Remove masked and redundant tests in test_bytes | Martin Panter | 2016-02-02 | 3 | -63/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | * test_contains() did not override anything * test_expandtabs/upper/lower() in FixedStringTest were masking usable tests in string_tests. These tests now get run for bytearray() and bytes(). * test_expandtabs/upper/lower() in buffer_tests were only run on bytearray() and are redundant with string_tests | |||||
* | | | Issue #26173: Merge SSL tests from 3.5 | Martin Panter | 2016-02-01 | 1 | -40/+54 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #26173: Separate bad cert file tests and client rejection test | Martin Panter | 2016-02-01 | 1 | -40/+54 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Test test_wrong_cert() runs a server that rejects the client's certificate, so ECONNRESET is reasonable in addition to SSLError. On the other hand, the other three tests don't even need to run a server because they are just testing the parsing of invalid certificate files. Also fix a ResourceWarning by closing the wrapped socket. | |||||
* | | | Merge 3.5 (doc) | Victor Stinner | 2016-01-31 | 1 | -35/+38 | |
|\ \ \ | |/ / |