cpython
cpython copied to clipboard
The Python programming language
The PR contains one-type replacements so I don't know how to split them into smaller PRs. Edit: also removed a dead branch from: https://github.com/python/cpython/blob/cceac5dd06fdbaba3f45b8be159dfa79b74ff237/Python/getcompiler.c#L15-L19 * Issue: gh-94795
BPO | [38285](https://bugs.python.org/issue38285) --- | :--- Nosy | @asvetlov, @1st1, @malversan, @callumquick *Note: these values reflect the state of the issue at the time it was migrated and might not...
Proxes of shared objects register a Finalizer in BaseProxy._incref(), and it will call BaseProxy._decref() when it is GCed. This may cause a race condition with Pool(maxtasksperchild=None) on Windows. A connection...
# Feature or enhancement We propose adding “eager” coroutine execution support to `asyncio.TaskGroup` via a new method `enqueue()` [1]. `TaskGroup.enqueue()` would have the same signature as `TaskGroup.create_task()` but eagerly perform...
* Issue: gh-95023
BPO | [36607](https://bugs.python.org/issue36607) --- | :--- Nosy | @asvetlov, @thatch, @ambv, @1st1, @miss-islington, @sdunster PRs | python/cpython#13971python/cpython#13975python/cpython#13976 *Note: these values reflect the state of the issue at the time it...
ZipFile.writestr doesn't work when a pathlike filename is used, the other methods do. Example: ``` >>> a = ZipFile(Path('test.zip'), 'w') # this works >>> a.write(Path('./foo.jpeg'), arcname=PurePath('/some/thing.jpeg')) # this works >>>...
By default pathlib.PurePath.relative_to doesn't deal with paths that are not a direct prefix of the other raising an exception in that instance, this patch adds the parameter strict that can...
* Issue: gh-97912