cpython
cpython copied to clipboard
The Python programming language
Key points: 1. I've covered these two C-API function calls by covering `operator` module, which uses these functions in their C implementation. I think that this is better because it...
After https://github.com/python/cpython/commit/d6f276799754f0eab24e1c195d6dca1bc0aadf14 I've decided to take a look at other unused / obsolete `NameError` items that can be removed. This is what I found: - [ ] `tarfile.py`: https://github.com/python/cpython/blame/26726c76494d85c7b565b764c732dd4473458409/Lib/tarfile.py#L61-L66 `OSError`...
*[edit by @encukou, May 2024] The coverage report and checklist are outdated. [Run coverage locally](https://devguide.python.org/testing/coverage/#measuring-coverage-of-c-code-with-gcov-and-lcov) before contributing.* --- This bug is going to be used to track work in a...
# Feature or enhancement > CPython 3.11 is on average [25% faster](https://github.com/faster-cpython/ideas#published-results) than CPython 3.10 Therefore hope the python 3.12 stdlibs can get optimized as well, since maybe web could...
Things I've skipped: 1. `NULL` checks for `PyLong` allocation and `NULL` check for `self`. Cannot be reproduced from python 2. Different values and corner cases for `sq_repeat` and `sq_inplace_repeat`, I...
Move some C API tests into Lib/test/test_capi/. (cherry picked from commit f883b7f8ee3209b52863fc662343c8cd81abdc59) Co-authored-by: Serhiy Storchaka
Move some C API tests into Lib/test/test_capi/. (cherry picked from commit f883b7f8ee3209b52863fc662343c8cd81abdc59) Co-authored-by: Serhiy Storchaka
BPO | [44431](https://bugs.python.org/issue44431) --- | :--- Nosy | @serhiy-storchaka, @erlend-aasland, @ephenix PRs | python/cpython#26751 *Note: these values reflect the state of the issue at the time it was migrated and...
The [stdlib module `site.py`](https://github.com/python/cpython/blob/main/Lib/site.py) runs at startup, and is responsible for setting up a Python environment's basic search paths. There are various ways to customize this, e.g. you can drop...