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

Fix assertion failure when slicing a `sqlite3.Blob` with indices that result in an empty slice. * Issue: gh-142787

awaiting review
needs backport to 3.13
needs backport to 3.14

BPO | [25516](https://bugs.python.org/issue25516) --- | :--- Nosy | @nirs, @pitrou PRs | python/cpython#2681 Files | [0001-Issue-25516-threading.Condition._is_owned-fails-when.patch](https://bugs.python.org/file40900/0001-Issue-25516-threading.Condition._is_owned-fails-when.patch "Uploaded as text/plain at 2015-10-30.02:09:56 by @nirs"): patch fixing this issue by implementing _is_owned...

type-bug
stdlib
3.11
3.12
3.13

Add a visualisation explaining how the sampling profiler works. CC: @pablogsal * Issue: gh-138122 ---- 📚 Documentation preview 📚: https://cpython-previews--142772.org.readthedocs.build/en/142772/library/profiling.sampling.html

awaiting review
skip news

# Bug report ### Bug description: I already opened a bug on `urllib3` for this issue, it looks that may application using MSAL for Python library (which relies on `requests`...

type-bug
extension-modules
topic-SSL
3.14

(cherry picked from commit 39ecb17103a07175895e52c336a0b5980b773bce) ---- 📚 Documentation preview 📚: https://cpython-previews--142839.org.readthedocs.build/

docs
skip issue
awaiting review
skip news

# Bug report This came up in the context of [nanobind](https://github.com/wjakob/nanobind/). Nanobind implements (in a test) a traverse function: ```c++ int funcwrapper_tp_traverse(PyObject *self, visitproc visit, void *arg) { FuncWrapper *w...

type-bug
3.13
topic-free-threading
3.14

This makes generator frame state transitions atomic in the free threading build, which avoids segfaults when trying to execute a generator from multiple threads concurrently. There are still a few...

awaiting core review
skip news
topic-free-threading

# Bug report ### Bug description: Test `test_distutils` fails at `test_srcdir` subtest on OS Elbrus due to config var `srcdir` is real path, but makefile path is not real path....

type-bug
tests
stdlib
topic-sysconfig
OS-unsupported

### What happened? A progress handler that returns an object with a custom `__bool__` can call `conn.set_progress_handler(None, …)` while `progress_callback` is still running, so the callback context is freed before...

extension-modules
type-crash
topic-sqlite3

@kulikjak reports seeing the following test failure on Solaris following #142371: ``` ====================================================================== ERROR: test_script_target_anonymous_pipe (test.test_pdb.PdbTestCase.test_script_target_anonymous_pipe) _ScriptTarget doesn't fail on an anonymous pipe. ---------------------------------------------------------------------- Traceback (most recent call last): File...

type-bug
tests
OS-unsupported