Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. ↵ | Serhiy Storchaka | 2018-12-07 | 2 | -6/+42 |
| | | | | | | | | | (GH-11015) (GH-11020) (GH-11026) (cherry picked from commit 4c49da0cb7434c676d70b9ccf38aca82ac0d64a9) (cherry picked from commit 602d307ac5e8a2da38a193dca3bdfef5994dfe67) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | ||||
* | bpo-34400: Fix more undefined behavior in parsetok.c (GH-8833) | Miss Islington (bot) | 2018-08-20 | 1 | -2/+4 |
| | | | | | (cherry picked from commit 3e26e42c905852394fa136f1cc564dac98b56166) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | ||||
* | closes bpo-34400: Fix undefined behavior in parsetok(). (GH-4439) | Miss Islington (bot) | 2018-08-15 | 1 | -1/+1 |
| | | | | | | Avoid undefined pointer arithmetic with NULL. (cherry picked from commit 7c4ab2afb17b99eb3f61f9c73cbd548b5e0ad2c0) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | ||||
* | bpo-30237: Output error when ReadConsole is canceled by CancelSynchronousIo. ↵ | Steve Dower | 2018-07-29 | 1 | -1/+4 |
| | | | | | (GH-7911) Co-authored-by: ValeriyaSinevich <valeriya.sinevich@phystech.edu> | ||||
* | bpo-34084: Fix setting an error message for the "Barry as BDFL" easter egg. ↵ | Miss Islington (bot) | 2018-07-24 | 1 | -2/+1 |
| | | | | | | | (GH-8262) (GH-8424) (cherry picked from commit aba24ff3601ddc86b85e01880a8be596fb799287) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | bpo-31546: Fix input hook integration (GH-7978) | Miss Islington (bot) | 2018-06-28 | 1 | -0/+3 |
| | | | | | (cherry picked from commit 9b9d58f0d88b338eb8d2ae0da5cd91d60d1b0e39) Co-authored-by: Thomas A Caswell <tcaswell@gmail.com> | ||||
* | bpo-33677: Fix signatures of tp_clear handlers for AST and deque. (GH-7196) ↵ | Miss Islington (bot) | 2018-05-31 | 1 | -1/+2 |
| | | | | | | | (GH-7269) (cherry picked from commit a5c42284e69fb309bdd17ee8c1c120d1be383012) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | [3.6] bpo-31852: Fix segfault caused by using the async soft keyword (GH-4122) | Pablo Galindo | 2017-10-30 | 1 | -0/+10 |
| | |||||
* | [3.6] bpo-31536: Avoid wholesale rebuild after `make regen-all` (GH-3678) ↵ | Miss Islington (bot) | 2017-09-28 | 1 | -42/+38 |
| | | | | | | (#3797) bpo-31536: Avoid wholesale rebuild after `make regen-all` | ||||
* | bpo-31095: fix potential crash during GC (GH-3195) | INADA Naoki | 2017-09-04 | 1 | -0/+2 |
| | | | (cherry picked from commit a6296d34a478b4f697ea9db798146195075d496c) | ||||
* | Fix a shadow-compatible-local warning (#2181) | Yuan Chao Chou | 2017-08-04 | 1 | -3/+3 |
| | | | | Change the shadowing naming, 'value' (Python-ast.c:4686), to 'val' to prevent the variables from being misused. | ||||
* | Issue #28489: Fix comment in tokenizer.c | Berker Peksag | 2017-02-05 | 1 | -1/+1 |
| | | | | Patch by Ryan Gonzalez. | ||||
* | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 1 | -1/+1 |
| | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
* | Issue #28333: Fixes off-by-one error that was adding an extra space. | Steve Dower | 2016-10-25 | 1 | -1/+2 |
| | |||||
* | Issue #28333: Remove unnecessary increment. | Steve Dower | 2016-10-08 | 1 | -1/+1 |
| | |||||
* | Issue #28333: Enables Unicode for ps1/ps2 and input() prompts. (Patch by ↵ | Steve Dower | 2016-10-08 | 1 | -4/+24 |
| | | | | Eryk Sun) | ||||
* | Issue #24098: Fixed possible crash when AST is changed in process of | Serhiy Storchaka | 2016-10-07 | 1 | -0/+7 |
|\ | | | | | | | compiling it. | ||||
| * | Issue #24098: Fixed possible crash when AST is changed in process of | Serhiy Storchaka | 2016-10-07 | 1 | -0/+7 |
| | | | | | | | | compiling it. | ||||
* | | merge 3.5 (#28184) | Benjamin Peterson | 2016-09-19 | 1 | -3/+3 |
|\ \ | |/ | |||||
* | | merge 3.5 (#24022) | Benjamin Peterson | 2016-09-18 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | merge 3.4 | Benjamin Peterson | 2016-09-18 | 1 | -1/+1 |
| |\ | |||||
| | * | properly handle the single null-byte file (closes #24022) | Benjamin Peterson | 2016-09-18 | 1 | -1/+1 |
| | | | |||||
* | | | properly free memory in pgen | Benjamin Peterson | 2016-09-18 | 3 | -2/+34 |
| | | | |||||
* | | | merge 3.5 (#27981) | Benjamin Peterson | 2016-09-12 | 1 | -15/+17 |
|\ \ \ | |/ / | |||||
| * | | restructure fp_setreadl so as to avoid refleaks (closes #27981) | Benjamin Peterson | 2016-09-12 | 1 | -15/+17 |
| | | | |||||
* | | | Issue #26331: Implement the parsing part of PEP 515. | Brett Cannon | 2016-09-09 | 1 | -68/+162 |
| | | | | | | | | | | | | Thanks to Georg Brandl for the patch. | ||||
* | | | Issue #28008: Implement PEP 530 -- asynchronous comprehensions. | Yury Selivanov | 2016-09-09 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. | Yury Selivanov | 2016-09-08 | 1 | -0/+2 |
| | | | | | | | | | | | | Patch by Ivan Levkivskyi. | ||||
* | | | Skip unused value in tokenizer code | Christian Heimes | 2016-09-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | In the case of an escape character, c is never read. tok_next() is used to advance the pointer. CID 1225097 | ||||
* | | | Issue #1602: Windows console doesn't input or print Unicode (PEP 528) | Steve Dower | 2016-08-30 | 1 | -0/+113 |
| | | | | | | | | | | | | Closes #17602: Adds a readline implementation for the Windows console | ||||
* | | | Issue #23524: Finish removing _PyVerify_fd from sources | Steve Dower | 2016-09-08 | 1 | -4/+1 |
| | | | |||||
* | | | replace PY_SIZE_MAX with SIZE_MAX | Benjamin Peterson | 2016-09-07 | 1 | -1/+1 |
| | | | |||||
* | | | replace Py_(u)intptr_t with the c99 standard types | Benjamin Peterson | 2016-09-06 | 2 | -3/+3 |
| | | | |||||
* | | | Fix a clang warning in grammar.c | Victor Stinner | 2016-08-19 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | Clang is smarter than GCC and emits a warning for dead code after a function declared with __attribute__((__noreturn__)) (Py_FatalError). | ||||
* | | | Issue #27336: Fix compilation failures --without-threads | Berker Peksag | 2016-06-17 | 1 | -2/+3 |
| | | | |||||
* | | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #26130: Remove redundant variable 's' from Parser/parser.c | Berker Peksag | 2016-03-28 | 1 | -5/+4 |
| | | | | | | | | | | | | Patch by Oren Milman. | ||||
* | | | remove duplicated check for fractions and complex numbers (closes #26076) | Benjamin Peterson | 2016-03-24 | 1 | -4/+0 |
| | | | | | | | | | | | | Patch by Oren Milman. | ||||
* | | | Issue #26581: Use the first coding cookie on a line, not the last one. | Serhiy Storchaka | 2016-03-20 | 1 | -0/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #26581: Use the first coding cookie on a line, not the last one. | Serhiy Storchaka | 2016-03-20 | 1 | -0/+1 |
| | | | |||||
* | | | On memory error, dump the memory block traceback | Victor Stinner | 2016-03-15 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | Add more checks on the GIL | Victor Stinner | 2016-03-14 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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() | ||||
* | | | Issue #26146: remove useless code | Victor Stinner | 2016-01-27 | 1 | -7/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | Add ast.Constant | Victor Stinner | 2016-01-26 | 3 | -2/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | 2015-12-25 | 3 | -7/+7 |
| | | | | | | | | | | | | private functions. | ||||
* | | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 2 | -3/+3 |
| | | | |||||
* | | | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 1 | -2/+1 |
|\ \ \ | |/ / | | | | | | | macro Py_SETREF. | ||||
| * | | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 1 | -2/+1 |
| | | | | | | | | | | | | macro Py_SETREF. | ||||
* | | | Issue #25388: Fixed tokenizer crash when processing undecodable source code | Serhiy Storchaka | 2015-11-14 | 1 | -8/+6 |
|\ \ \ | |/ / | | | | | | | with a null byte. |