cpython icon indicating copy to clipboard operation
cpython copied to clipboard

The Python programming language

Results 1387 cpython issues
Sort by recently updated
recently updated
newest added

This is a manual rebase of https://github.com/python/cpython/pull/93221. * Issue: gh-91095

BPO | [46939](https://bugs.python.org/issue46939) --- | :--- Nosy | @markshannon, @brandtbucher, @Fidget-Spinner PRs | python/cpython#31707python/cpython#31936 *Note: these values reflect the state of the issue at the time it was migrated and...

3.11

I apologize for the mess that generate_cases.py has become. I promise I will clean it up in the _next_ PR. This PR is a big step forwards though -- it...

awaiting core review
skip news

Hi, Currently (python 3.10.6 & 3.11.0): ```python from pathlib import Path p = Path('/var/log/../opt') p.is_relative_to('/var/log') >>> True p = p.resolve() p.is_relative_to('/var/log') >>> False ``` Once you know `is_relative_to` uses `relative_to`,...

docs
expert-pathlib

Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and Py_XNewRef() in Objects/listobject.c. * Issue: gh-99300

awaiting core review
skip news

I added Py_NewRef() and Py_XNewRef() to Python 3.10 C API. IMO using them make to code easier to read and make the code looks "more correct". Examples: (A) Assign +...

type-bug

Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and Py_XNewRef() in C files of the Objects/ directory. * Issue: gh-99300

awaiting core review
skip news

* Issue: gh-99305

type-feature
performance
awaiting core review

Add new triplets for loongarch64, please review, thanks! https://bugs.python.org/issue46498 https://bugs.python.org/issue46498 Signed-off-by: Zhang Na Reviewed-by: Wang Xuerui Reviewed-by: Wu Xiaotian Reviewed-by: Zhu Yaliang

awaiting review

`Modules/_testcapimodule.c` is a nearly-8000-line behemoth with no clear structure or organization. It is getting hard to maintain. It also doesn't work well with testing (a) feature macros that affect `Python.h`...

tests
expert-C-API