Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-35808: Retire pgen and use pgen2 to generate the parser (GH-11814) | Pablo Galindo | 2019-03-01 | 1 | -8/+0 |
| | | | | | Pgen is the oldest piece of technology in the CPython repository, building it requires various #if[n]def PGEN hacks in other parts of the code and it also depends more and more on CPython internals. This commit removes the old pgen C code and replaces it for a new version implemented in pure Python. This is a modified and adapted version of lib2to3/pgen2 that can generate grammar files compatibles with the current parser. This commit also eliminates all the #ifdef and code branches related to pgen, simplifying the code and making it more maintainable. The regen-grammar step now uses $(PYTHON_FOR_REGEN) that can be any version of the interpreter, so the new pgen code maintains compatibility with older versions of the interpreter (this also allows regenerating the grammar with the current CI solution that uses Python3.5). The new pgen Python module also makes use of the Grammar/Tokens file that holds the token specification, so is always kept in sync and avoids having to maintain duplicate token definitions. | ||||
* | merge 3.5 (#28184) | Benjamin Peterson | 2016-09-20 | 1 | -1/+1 |
|\ | |||||
| * | remove trailing whitespace | Benjamin Peterson | 2016-09-20 | 1 | -1/+1 |
| | | |||||
* | | replace PY_LONG_LONG with long long | Benjamin Peterson | 2016-09-06 | 1 | -2/+1 |
| | | |||||
* | | Merge spelling and grammar fixes from 3.5 | Martin Panter | 2016-08-05 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix spelling and grammar in documentation and code comments | Martin Panter | 2016-08-04 | 1 | -1/+1 |
| | | |||||
* | | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | 2015-12-25 | 1 | -1/+1 |
|/ | | | | private functions. | ||||
* | Update coverity modeling file to silence datetime warnings | Christian Heimes | 2015-04-16 | 1 | -1/+57 |
| | |||||
* | Issue #18395: Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, rename | Victor Stinner | 2014-08-01 | 1 | -1/+1 |
| | | | | | ``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these functions. | ||||
* | Coverity: model PyLong_From*() functions | Christian Heimes | 2013-07-26 | 1 | -5/+30 |
| | |||||
* | Remove duplicate entry for sdigit. | Christian Heimes | 2013-07-23 | 1 | -5/+0 |
| | | | | I fixed it before the checkin but forgot to save... :wq | ||||
* | Add modeling file for Coverity Scan. | Christian Heimes | 2013-07-22 | 1 | -0/+112 |
The modeling file avoids false positive reports. |