- 13 Şub, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
Some of the inspiration and wording is taken from the text of PEP 498 by Eric V. Smith, and the existing str.format() documentation.
-
- 11 Şub, 2016 9 kayıt (commit)
-
-
Yury Selivanov yazdı
Microbenchmarks show 2-2.5x improvement. Built-in 'divmod' function is now also ~10% faster. -m timeit -s "x=22331" "x//2;x//-3;x//4;x//5;x//-6;x//7;x//8;x//-99;x//100;" with patch: 0.321 without patch: 0.633 -m timeit -s "x=22331" "x%2;x%3;x%-4;x%5;x%6;x%-7;x%8;x%99;x%-100;" with patch: 0.224 without patch: 0.66 Big thanks to Serhiy Storchaka, Mark Dickinson and Victor Stinner for thorow code reviews and algorithms improvements.
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
Different solution from 3.5.
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
protocol for the os.scandir() iterator.
-
Serhiy Storchaka yazdı
no ResourceWarning is emitted.
-
Serhiy Storchaka yazdı
no ResourceWarning is emitted.
-
Serhiy Storchaka yazdı
to format short Python version.
-
Serhiy Storchaka yazdı
PyArg_ParseTupleAndKeywords(). RuntimeError did raised before in some programming bugs.
-
- 10 Şub, 2016 13 kayıt (commit)
-
-
Charles-François Natali yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Serhiy Storchaka yazdı
if the stack is too deep.
-
Serhiy Storchaka yazdı
if the stack is too deep.
-
Martin Panter yazdı
-
Martin Panter yazdı
-
Martin Panter yazdı
The original form is incorrect grammar and feels awkward, even though the meaning is clear.
-
Martin Panter yazdı
Patch by Anish Shah.
-
Martin Panter yazdı
-
Martin Panter yazdı
-
Martin Panter yazdı
-
- 09 Şub, 2016 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 10 Şub, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
-
- 08 Şub, 2016 14 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #26204: the compiler doesn't emit SyntaxWarning warnings anymore when constant statements are ignored.
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Gregory P. Smith yazdı
not have a math vocabulary.
-
Gregory P. Smith yazdı
not have a math vocabulary.
-
Steve Dower yazdı
-
Steve Dower yazdı
-
Victor Stinner yazdı
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"
-
Victor Stinner yazdı
* 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.
-
Victor Stinner yazdı
* Use ast.parse() to get the AST for a statement * Use str%args syntax for format a line Issue #26204.
-
Serhiy Storchaka yazdı
when the iteration is finished, but when it was failed with error.
-
Serhiy Storchaka yazdı
when the iteration is finished, but when it was failed with error.
-
Serhiy Storchaka yazdı
needed.
-
Serhiy Storchaka yazdı
-
- 09 Şub, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
-