Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-45952: Get the C analyzer tool working again. (gh-29882) | Eric Snow | 2021-12-01 | 6 | -99/+111 |
| | | | | | There wasn't much that needed to be done. Mostly it was just a few new files that got added. https://bugs.python.org/issue45952 | ||||
* | bpo-35081: Move interpreteridobject.h to Include/internal/ (GH-28969) | Victor Stinner | 2021-10-15 | 1 | -1/+0 |
| | | | | Move the interpreteridobject.h header file from Include/ to Include/internal/. It only provides private functions. | ||||
* | Fix typos in the Tools directory (GH-28769) | Christian Clauss | 2021-10-06 | 9 | -15/+15 |
| | | | | | | | Like #28744 but for the Tools directory. [skip issue] Opening a related issue is pending python/psf-infra-meta#130 Automerge-Triggered-By: GH:pablogsal | ||||
* | bpo-44786: Fix a warning in RE in c-analyzer (GH-28351) | Serhiy Storchaka | 2021-09-15 | 1 | -2/+2 |
| | |||||
* | bpo-44854: Remove trailing whitespaces (GH-27689) | Serhiy Storchaka | 2021-08-09 | 2 | -2/+2 |
| | |||||
* | bpo-42064: Move `sqlite3` exceptions to global state, part 2 of 2 (GH-26884) | Erlend Egeberg Aasland | 2021-07-14 | 1 | -10/+0 |
| | | | Automerge-Triggered-By: GH:encukou | ||||
* | bpo-42862: Strip stale sqlite3 cache ignores from c-analyzer (GH-26876) | Erlend Egeberg Aasland | 2021-06-23 | 1 | -5/+0 |
| | |||||
* | bpo-42064: Move `sqlite3` exceptions to global state, part 1 of 2 (GH-26745) | Erlend Egeberg Aasland | 2021-06-23 | 1 | -10/+0 |
| | | | Also adds a test to verify the (borrowed) exceptions in `sqlite3.Connection`. | ||||
* | bpo-42064: Remove stale extern declarations in `sqlite3` headers (GH-26840) | Erlend Egeberg Aasland | 2021-06-23 | 1 | -14/+0 |
| | |||||
* | Fix a typo in c-analyzer (GH-24468) | Ikko Ashimine | 2021-03-19 | 1 | -1/+1 |
| | |||||
* | bpo-36876: [c-analyzer tool] Additional CLI updates for "capi" command. ↵ | Eric Snow | 2020-12-25 | 3 | -93/+380 |
| | | | | | (gh-23929) https://bugs.python.org/issue36876 | ||||
* | bpo-36876: [c-analyzer tool] Add a "capi" subcommand to the c-analyzer tool. ↵ | Eric Snow | 2020-12-24 | 10 | -57/+849 |
| | | | | | | | (gh-23918) This will help identify which C-API items will need to be updated for subinterpreter support. https://bugs.python.org/issue36876 | ||||
* | bpo-36876: [c-analyzer tool] Tighten up the results and output. (GH-23431) | Eric Snow | 2020-11-20 | 13 | -109/+3202 |
| | | | We also update the "ignored" file with a temporary list of all known globals. | ||||
* | bpo-36876: Small adjustments to the C-analyzer tool. (GH-23045) | Eric Snow | 2020-10-30 | 16 | -218/+633 |
| | | | This is a little bit of clean-up, small fixes, and additional helpers prior to building an updated & accurate list of globals to eliminate. | ||||
* | bpo-42161: Remove private _PyLong_Zero and _PyLong_One (GH-23003) | Victor Stinner | 2020-10-27 | 1 | -2/+0 |
| | | | | | Use PyLong_FromLong(0) and PyLong_FromLong(1) of the public C API instead. For Python internals, _PyLong_GetZero() and _PyLong_GetOne() of pycore_long.h can be used. | ||||
* | bpo-36876: Fix the C analyzer tool. (GH-22841) | Eric Snow | 2020-10-23 | 72 | -6239/+8882 |
| | | | | | | | The original tool wasn't working right and it was simpler to create a new one, partially re-using some of the old code. At this point the tool runs properly on the master. (Try: ./python Tools/c-analyzer/c-analyzer.py analyze.) It take ~40 seconds on my machine to analyze the full CPython code base. Note that we'll need to iron out some OS-specific stuff (e.g. preprocessor). We're okay though since this tool isn't used yet in our workflow. We will also need to verify the analysis results in detail before activating the check in CI, though I'm pretty sure it's close. https://bugs.python.org/issue36876 | ||||
* | bpo-41971: Fix test failure in test.test_tools.test_c_analyzer when mutating ↵ | Pablo Galindo | 2020-10-11 | 1 | -1/+3 |
| | | | | global state (GH-22652) | ||||
* | bpo-41834: Remove _Py_CheckRecursionLimit variable (GH-22359) | Victor Stinner | 2020-09-23 | 2 | -2/+0 |
| | | | | | | | | | | Remove the global _Py_CheckRecursionLimit variable: it has been replaced by ceval.recursion_limit of the PyInterpreterState structure. There is no need to keep the variable for the stable ABI, since Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() were not usable in Python 3.8 and older: these macros accessed PyThreadState members, whereas the PyThreadState structure is opaque in the limited C API. | ||||
* | bpo-41715: Fix potential catastrofic backtracking in c_analyzer. (GH-22091) | Serhiy Storchaka | 2020-09-17 | 1 | -6/+6 |
| | |||||
* | bpo-40939: Remove even more references to the old parser (GH-21642) | Lysandros Nikolaou | 2020-07-27 | 3 | -7/+0 |
| | | | Automerge-Triggered-By: @lysnikolaou | ||||
* | bpo-41043: Escape literal part of the path for glob(). (GH-20994) | Serhiy Storchaka | 2020-06-20 | 2 | -3/+7 |
| | |||||
* | bpo-38419: fix "check-c-globals" path (GH-16680) | AMIR | 2019-10-23 | 1 | -1/+1 |
| | |||||
* | bpo-36876: Re-organize the c-analyzer tool code. (gh-16841) | Eric Snow | 2019-10-19 | 36 | -706/+1030 |
| | | | | | This is partly a cleanup of the code. It also is preparation for getting the variables from the source (cross-platform) rather than from the symbols. The change only touches the tool (and its tests). | ||||
* | bpo-38187: Fix a refleak in Tools/c-analyzer. (gh-16304) | Eric Snow | 2019-09-27 | 6 | -49/+108 |
| | | | | | The "Slot" helper (descriptor) is leaking references due to its caching mechanism. The change includes a partial fix to Slot, but also adds Variable.storage to replace the problematic use of Slot. https://bugs.python.org/issue38187 | ||||
* | bpo-38187: Fix reference leak in test_tools (GH-16233) | Pablo Galindo | 2019-09-17 | 1 | -0/+3 |
| | |||||
* | Move Eric's TODO file into his directory. (GH-16072) | Benjamin Peterson | 2019-09-12 | 1 | -0/+1072 |
| | |||||
* | bpo-36876: Fix the globals checker tool. (gh-16058) | Eric Snow | 2019-09-12 | 2 | -18/+51 |
| | |||||
* | bpo-36876: Add a tool that identifies unsupported global C variables. (#15877) | Eric Snow | 2019-09-11 | 29 | -0/+6020 |