summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #25994: Added the close() method and the support of the context managerSerhiy Storchaka2016-02-116-49/+211
| | | | protocol for the os.scandir() iterator.
* Issue #26325: Added test.support.check_no_resource_warning() to check thatSerhiy Storchaka2016-02-115-20/+32
|\ | | | | | | no ResourceWarning is emitted.
| * Issue #26325: Added test.support.check_no_resource_warning() to check thatSerhiy Storchaka2016-02-115-20/+32
| | | | | | | | no ResourceWarning is emitted.
* | Issue #25985: sys.version_info is now used instead of sys.versionSerhiy Storchaka2016-02-1124-52/+56
| | | | | | | | to format short Python version.
* | Issue #26312: SystemError is now raised in all programming bugs with usingSerhiy Storchaka2016-02-113-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 Natali2016-02-103-8/+38
| |
* | Null merge of typing.rst changeGuido van Rossum2016-02-100-0/+0
|\ \ | |/
| * Hopefully clarify the difference between Optional[t] and an optional argument.Guido van Rossum2016-02-101-0/+7
| |
* | Hopefully clarify the difference between Optional[t] and an optional argument.Guido van Rossum2016-02-101-0/+7
| |
* | Issue #25698: Prevent possible replacing imported module with the empty oneSerhiy Storchaka2016-02-101-2/+6
|\ \ | |/ | | | | if the stack is too deep.
| * Issue #25698: Prevent possible replacing imported module with the empty oneSerhiy Storchaka2016-02-101-2/+6
| | | | | | | | if the stack is too deep.
* | Issue #26304: Additional “allows to” fix specific to 3.6Martin Panter2016-02-101-1/+1
| |
* | Issue #26304: Merge doc wording from 3.5Martin Panter2016-02-1025-76/+76
|\ \ | |/
| * Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-1025-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 DeprecationWarningMartin Panter2016-02-106-7/+19
| | | | | | | | Patch by Anish Shah.
* | Issue 26243: Forgot to update zlib doc strings in Argument ClinicMartin Panter2016-02-102-3/+3
| |
* | Issue #26243: zlib.compress() keyword argument support by Aviv PalivodaMartin Panter2016-02-106-25/+44
| |
* | Issue #26200: The SETREF macro adds unnecessary work in some cases.Raymond Hettinger2016-02-091-1/+4
| |
* | Issues #26310, 26311: Merge typo fixes from 3.5Martin Panter2016-02-108-9/+9
|\ \ | |/
| * Issues #26310, #26311: Fix typos in the documentation and code commentsMartin Panter2016-02-108-9/+9
| |
* | compiler: don't emit SyntaxWarning on const stmtVictor Stinner2016-02-085-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 Storchaka2016-02-081-0/+155
|\ \ | |/
| * Issue #25983: Added tests for multi-argument type().Serhiy Storchaka2016-02-081-0/+155
| |
* | Clarify "cardinality of" as "number of elements in" as many readers doGregory P. Smith2016-02-081-1/+1
|\ \ | |/ | | | | not have a math vocabulary.
| * Clarify "cardinality of" as "number of elements in" as many readers doGregory P. Smith2016-02-081-1/+1
| | | | | | | | not have a math vocabulary.
* | Updates build to use SHA256 hash when signing filesSteve Dower2016-02-081-1/+1
|\ \ | |/
| * Updates build to use SHA256 hash when signing files.Steve Dower2016-02-081-1/+1
| |
* | compiler now ignores constant statementsVictor Stinner2016-02-085-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 expressionVictor Stinner2016-02-085-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_astVictor Stinner2016-02-081-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 onlySerhiy Storchaka2016-02-082-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 onlySerhiy Storchaka2016-02-082-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 whenSerhiy Storchaka2016-02-083-17/+13
| | | | | | | | needed.
* | Issue #25911: Restored support of bytes paths in os.walk() on Windows.Serhiy Storchaka2016-02-083-10/+41
|\ \ | |/
| * Issue #25911: Restored support of bytes paths in os.walk() on Windows.Serhiy Storchaka2016-02-083-10/+41
| |
* | Issue #26045: Merge http.client error addition from 3.5Martin Panter2016-02-093-2/+20
|\ \ | |/
| * Issue #26045: Add UTF-8 suggestion to error in http.clientMartin Panter2016-02-093-2/+20
| | | | | | | | Based on patch by Guido van Rossum.
* | Issue #26198: Make datetime error tests more lenient.Serhiy Storchaka2016-02-081-3/+3
|\ \ | |/
| * Issue #26198: Make datetime error tests more lenient.Serhiy Storchaka2016-02-081-3/+3
| |
* | Issue #26198: ValueError is now raised instead of TypeError on bufferSerhiy Storchaka2016-02-074-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 Storchaka2016-02-072-13/+21
|\ \ | |/
| * Issue #26198: Fixed error messages for some argument parsing errors.Serhiy Storchaka2016-02-073-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 Storchaka2016-02-075-28/+99
| | | | | | | | Patch by Thomas Kluyver.
* | Merge string formatting doc fixes from 3.5Martin Panter2016-02-089-29/+31
|\ \ | |/
| * Issue #25179: Preparatory cleanup of existing docs on string formattingMartin Panter2016-02-089-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 commentYury Selivanov2016-02-061-3/+3
| |
* | merge from 3.5Senthil Kumaran2016-02-061-1/+1
|\ \ | |/
| * Fix userinfo example presented in urllib2 howto.Senthil Kumaran2016-02-061-1/+1
| |
* | Issue #26288: Optimize PyLong_AsDouble.Yury Selivanov2016-02-062-0/+8
| |
* | Switch to more idiomatic C code.Eric V. Smith2016-02-051-3/+4
| |