- 06 Nis, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 27 Mar, 2016 1 kayıt (commit)
-
-
Berker Peksag yazdı
Patch by Oren Milman.
-
- 25 Mar, 2016 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
Patch by Oren Milman.
-
- 20 Mar, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 15 Mar, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #26564: _PyObject_DebugDumpAddress() now dumps the traceback where a memory block was allocated on memory block. Use the tracemalloc module to get the traceback.
-
- 14 Mar, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #10915, #15751, #26558: * PyGILState_Check() now returns 1 (success) before the creation of the GIL and after the destruction of the GIL. It allows to use the function early in Python initialization and late in Python finalization. * Add a flag to disable PyGILState_Check(). Disable PyGILState_Check() when Py_NewInterpreter() is called * Add assert(PyGILState_Check()) to: _Py_dup(), _Py_fstat(), _Py_read() and _Py_write()
-
- 26 Ock, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
obj2ast_constant() code is baesd on obj2ast_object() which has a special case for Py_None. But in practice, we don't need to have a special case for constants. Issue noticed by Joseph Jevnik on a review.
-
- 25 Ock, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #26146: Add a new kind of AST node: ast.Constant. It can be used by external AST optimizers, but the compiler does not emit directly such node. An optimizer can replace the following AST nodes with ast.Constant: * ast.NameConstant: None, False, True * ast.Num: int, float, complex * ast.Str: str * ast.Bytes: bytes * ast.Tuple if items are constants too: tuple * frozenset Update code to accept ast.Constant instead of ast.Num and/or ast.Str: * compiler * docstrings * ast.literal_eval() * Tools/parser/unparse.py
-
- 25 Ara, 2015 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
- 24 Ara, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
macro Py_SETREF.
-
- 14 Kas, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
with a null byte.
-
- 06 Kas, 2015 2 kayıt (commit)
-
-
Victor Stinner yazdı
compiling AST from Python objects.
-
Victor Stinner yazdı
compiling AST from Python objects.
-
- 29 Eki, 2015 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 19 Eyl, 2015 1 kayıt (commit)
-
-
Eric V. Smith yazdı
Issue #24965: Implement PEP 498 "Literal String Interpolation". Documentation is still needed, I'll open an issue for that.
-
- 12 Eyl, 2015 1 kayıt (commit)
-
-
Eric V. Smith yazdı
-
- 06 Eyl, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 23 Tem, 2015 1 kayıt (commit)
-
-
Yury Selivanov yazdı
This commit simplifies async/await tokenization in tokenizer.c, tokenize.py & lib2to3/tokenize.py. Previous solution was to keep a stack of async-def & def blocks, whereas the new approach is just to remember position of the outermost async-def block. This change won't bring any parsing performance improvements, but it makes the code much easier to read and validate.
-
- 22 Tem, 2015 1 kayıt (commit)
-
-
Yury Selivanov yazdı
This commit fixes how one-line async-defs and defs are tracked by tokenizer. It allows to correctly parse invalid code such as: >>> async def f(): ... def g(): pass ... async = 10 and valid code such as: >>> async def f(): ... async def g(): pass ... await z As a consequence, is is now possible to have one-line 'async def foo(): await ..' functions: >>> async def foo(): return await bar()
-
- 18 May, 2015 1 kayıt (commit)
-
-
Yury Selivanov yazdı
-
- 12 May, 2015 1 kayıt (commit)
-
-
Yury Selivanov yazdı
-
- 06 May, 2015 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
Patch by Neil Girdhar.
-
- 21 Nis, 2015 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 03 Nis, 2015 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
in Parser/pgen.c.
-
- 09 Kas, 2014 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 05 Eyl, 2014 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
expressions.
-
- 08 Tem, 2014 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 07 Haz, 2014 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 10 May, 2014 1 kayıt (commit)
-
-
Eli Bendersky yazdı
The new parser does not rely on Spark (which is now removed from our repo), uses modern 3.x idioms and is significantly smaller and simpler. It generates exactly the same AST files (.h and .c), so in practice no builds should be affected.
-
- 10 Nis, 2014 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 28 Şub, 2014 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
are opened in text mode. Patch by Serhiy Storchaka.
-
- 11 Şub, 2014 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 09 Ock, 2014 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
value. (fixes error in patch for issue #18960)
-
Serhiy Storchaka yazdı
* The first line of Python script could be executed twice when the source encoding (not equal to 'utf-8') was specified on the second line. * Now the source encoding declaration on the second line isn't effective if the first line contains anything except a comment. * As a consequence, 'python -x' works now again with files with the source encoding declarations specified on the second file, and can be used again to make Python batch files on Windows. * The tokenize module now ignore the source encoding declaration on the second line if the first line contains anything except a comment. * IDLE now ignores the source encoding declaration on the second line if the first line contains anything except a comment. * 2to3 and the findnocoding.py script now ignore the source encoding declaration on the second line if the first line contains anything except a comment.
-
- 21 Ara, 2013 1 kayıt (commit)
-
-
Christian Heimes yazdı
-
- 04 Ara, 2013 1 kayıt (commit)
-
-
Christian Heimes yazdı
-
- 18 Kas, 2013 2 kayıt (commit)
-
-
Victor Stinner yazdı
Python parser doesn't support lines longer than INT_MAX bytes yet
-
Victor Stinner yazdı
INT_MAX states and labels should be enough for everyone
-