Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #25994: Added the close() method and the support of the context manager | Serhiy Storchaka | 2016-02-11 | 6 | -49/+211 |
| | | | | protocol for the os.scandir() iterator. | ||||
* | Issue #26325: Added test.support.check_no_resource_warning() to check that | Serhiy Storchaka | 2016-02-11 | 5 | -20/+32 |
|\ | | | | | | | no ResourceWarning is emitted. | ||||
| * | Issue #26325: Added test.support.check_no_resource_warning() to check that | Serhiy Storchaka | 2016-02-11 | 5 | -20/+32 |
| | | | | | | | | no ResourceWarning is emitted. | ||||
* | | Issue #25985: sys.version_info is now used instead of sys.version | Serhiy Storchaka | 2016-02-11 | 24 | -52/+56 |
| | | | | | | | | to format short Python version. | ||||
* | | Issue #26312: SystemError is now raised in all programming bugs with using | Serhiy Storchaka | 2016-02-11 | 3 | -8/+12 |
| | | | | | | | | | | PyArg_ParseTupleAndKeywords(). RuntimeError did raised before in some programming bugs. | ||||
* | | Issue #23992: multiprocessing: make MapResult not fail-fast upon exception. | Charles-François Natali | 2016-02-10 | 3 | -8/+38 |
| | | |||||
* | | Null merge of typing.rst change | Guido van Rossum | 2016-02-10 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | Hopefully clarify the difference between Optional[t] and an optional argument. | Guido van Rossum | 2016-02-10 | 1 | -0/+7 |
| | | |||||
* | | Hopefully clarify the difference between Optional[t] and an optional argument. | Guido van Rossum | 2016-02-10 | 1 | -0/+7 |
| | | |||||
* | | Issue #25698: Prevent possible replacing imported module with the empty one | Serhiy Storchaka | 2016-02-10 | 1 | -2/+6 |
|\ \ | |/ | | | | | if the stack is too deep. | ||||
| * | Issue #25698: Prevent possible replacing imported module with the empty one | Serhiy Storchaka | 2016-02-10 | 1 | -2/+6 |
| | | | | | | | | if the stack is too deep. | ||||
* | | Issue #26304: Additional “allows to” fix specific to 3.6 | Martin Panter | 2016-02-10 | 1 | -1/+1 |
| | | |||||
* | | Issue #26304: Merge doc wording from 3.5 | Martin Panter | 2016-02-10 | 25 | -76/+76 |
|\ \ | |/ | |||||
| * | Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar | Martin Panter | 2016-02-10 | 25 | -76/+76 |
| | | | | | | | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear. | ||||
* | | Issue #26136: Upgrade the generator_stop warning to DeprecationWarning | Martin Panter | 2016-02-10 | 6 | -7/+19 |
| | | | | | | | | Patch by Anish Shah. | ||||
* | | Issue 26243: Forgot to update zlib doc strings in Argument Clinic | Martin Panter | 2016-02-10 | 2 | -3/+3 |
| | | |||||
* | | Issue #26243: zlib.compress() keyword argument support by Aviv Palivoda | Martin Panter | 2016-02-10 | 6 | -25/+44 |
| | | |||||
* | | Issue #26200: The SETREF macro adds unnecessary work in some cases. | Raymond Hettinger | 2016-02-09 | 1 | -1/+4 |
| | | |||||
* | | Issues #26310, 26311: Merge typo fixes from 3.5 | Martin Panter | 2016-02-10 | 8 | -9/+9 |
|\ \ | |/ | |||||
| * | Issues #26310, #26311: Fix typos in the documentation and code comments | Martin Panter | 2016-02-10 | 8 | -9/+9 |
| | | |||||
* | | compiler: don't emit SyntaxWarning on const stmt | Victor Stinner | 2016-02-08 | 5 | -75/+27 |
| | | | | | | | | | | Issue #26204: the compiler doesn't emit SyntaxWarning warnings anymore when constant statements are ignored. | ||||
* | | Issue #25983: Added tests for multi-argument type(). | Serhiy Storchaka | 2016-02-08 | 1 | -0/+155 |
|\ \ | |/ | |||||
| * | Issue #25983: Added tests for multi-argument type(). | Serhiy Storchaka | 2016-02-08 | 1 | -0/+155 |
| | | |||||
* | | Clarify "cardinality of" as "number of elements in" as many readers do | Gregory P. Smith | 2016-02-08 | 1 | -1/+1 |
|\ \ | |/ | | | | | not have a math vocabulary. | ||||
| * | Clarify "cardinality of" as "number of elements in" as many readers do | Gregory P. Smith | 2016-02-08 | 1 | -1/+1 |
| | | | | | | | | not have a math vocabulary. | ||||
* | | Updates build to use SHA256 hash when signing files | Steve Dower | 2016-02-08 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Updates build to use SHA256 hash when signing files. | Steve Dower | 2016-02-08 | 1 | -1/+1 |
| | | |||||
* | | compiler now ignores constant statements | Victor Stinner | 2016-02-08 | 5 | -47/+95 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The compile ignores constant statements and emit a SyntaxWarning warning. Don't emit the warning for string statement because triple quoted string is a common syntax for multiline comments. Don't emit the warning on ellipis neither: 'def f(): ...' is a legit syntax for abstract functions. Changes: * test_ast: ignore SyntaxWarning when compiling test statements. Modify test_load_const() to use assignment expressions rather than constant expression. * test_code: add more kinds of constant statements, ignore SyntaxWarning when testing that the compiler removes constant statements. * test_grammar: ignore SyntaxWarning on the statement "1" | ||||
* | | 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 |
| | |