Petr Viktorin

Results 103 issues of Petr Viktorin

# Feature or enhancement ### Proposal: The `importlib.resources` functions `{open,read}_{text,binary}`, `path`, `is_resource` and `contents`, deprecated in 3.11 and removed in 3.13 alphas, are, anecdotally, missed by quite a few users....

type-feature
topic-importlib

For the argument name, I used *pathsegments* to match [pathlib docs](https://docs.python.org/3/library/pathlib.html#pathlib.PurePath.joinpath), rather than *descendants* used in [importlib_resources](https://importlib-resources.readthedocs.io/en/latest/api.html#importlib_resources.abc.Traversable.joinpath) and the source. ---- 📚 Documentation preview 📚: https://cpython-previews--117113.org.readthedocs.build/

docs
awaiting core review
skip news

[`importlib.resources.abc.Traversable.joinpath`](https://docs.python.org/3.13/library/importlib.resources.abc.html#importlib.resources.abc.Traversable.joinpath) should mention that it can take multiple descendants. The versionchanged note should mention that some providers might still not support this. @jaraco, this was officially added in 3.11, right?...

docs

The [status key](https://devguide.python.org/versions/#status-key) for branches has lists of changes that can go in, and the lists look exclusive: > feature: > - new features, bugfixes, and security fixes are accepted....

enhancement
needs: decision
guide-edits

iCal z meetup.com už není veřejně dostupný. Události *PyWorking Sessions* a *PyData Prague* se tak na python.cz nezobrazují.

Python packages that aren't trivial to install make me sad :(

On both https://pradyunsg.me/lutra/ and https://pradyunsg-cpython-lutra-testing.readthedocs.io/en/latest/index.html, the GitHub icon at the bottom looks like it should be a link, but isn't.

type: task

The current C API is not compatible with per-interpreter GIL. For example, it contains global static types such as `PyList_Type`. We should definitely add functions to access these and deprecate...

status: backburner

The `_ast` module uses global state with heap types, so it is possible to do: ```python import _xxsubinterpreters import _ast _ast.Lambda.smuggled = 'any object' interp = _xxsubinterpreters.create() _xxsubinterpreters.run_string(interp, 'import _ast;...

bz2file's test suite [blocks the threading module](https://github.com/nvawda/bz2file/blob/master/test_bz2file.py#L502) to simulate systems where threads aren't available. Since Python 3.7, [Python no longer supports systems without threads](https://docs.python.org/3.8/whatsnew/3.7.html#build-changes); the `threading` module is always available....