[issue43888] GitHub Actions CI/CD `Coverage` job is broken on master

2021-04-19 Thread Sviatoslav Sydorenko
Change by Sviatoslav Sydorenko : -- keywords: +patch pull_requests: +24196 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25471 ___ Python tracker <https://bugs.python.org/issu

[issue43888] GitHub Actions CI/CD `Coverage` job is broken on master

2021-04-19 Thread Sviatoslav Sydorenko
Change by Sviatoslav Sydorenko : -- type: crash -> ___ Python tracker <https://bugs.python.org/issue43888> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue43888] GitHub Actions CI/CD `Coverage` job is broken on master

2021-04-19 Thread Sviatoslav Sydorenko
New submission from Sviatoslav Sydorenko : I noticed that https://github.com/python/cpython/runs/2378199636 (a coverage job on the last commit on master at the time of writing) takes suspiciously long to complete. I did some investigation and noticed that this job on the 3.9 branch succeeds

[issue43540] importlib: Document how to replace load_module() in What's New in Python 3.10

2021-04-08 Thread Sviatoslav Sydorenko
Sviatoslav Sydorenko added the comment: @vstinner: I think I figure out the solution — https://github.com/pypa/setuptools/pull/2633 -- nosy: +webknjaz ___ Python tracker <https://bugs.python.org/issue43

[issue26131] Raise ImportWarning when loader.load_module() is used

2020-12-11 Thread Sviatoslav Sydorenko
Sviatoslav Sydorenko added the comment: > What is "VendorImporter" @brett.cannon `VendorImporter` is something comping from `pkg_resources`. Because of an entangled traceback and the fact that it dynamically injects a vendored copy of `six`, it's hard to spot. Here

[issue20120] Percent-signs (%) in .pypirc should not be interpolated

2020-05-03 Thread Sviatoslav Sydorenko
Sviatoslav Sydorenko added the comment: Not sure if it's in the scope of this issue but I thought I'd report it. I've just hit a similar issue with `setup.cfg` under Python 3.8 which is supposed to be parsed by `setuptools` but for some reason, I only see `distutils` in th

[issue38216] Fix for issue30458 prevents crafting invalid requests

2019-09-18 Thread Sviatoslav Sydorenko
Change by Sviatoslav Sydorenko : -- nosy: +webknjaz ___ Python tracker <https://bugs.python.org/issue38216> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36274] http.client cannot send non-ASCII request lines

2019-09-18 Thread Sviatoslav Sydorenko
Sviatoslav Sydorenko added the comment: @xtreak the encoded null-byte test would be an extra test case to consider. It is reasonable to test as many known invalid sequences as possible. Changing that byte to encoded notation would just replace one test with another effectively changing the

[issue36274] http.client cannot send non-ASCII request lines

2019-09-14 Thread Sviatoslav Sydorenko
Change by Sviatoslav Sydorenko : -- nosy: +webknjaz ___ Python tracker <https://bugs.python.org/issue36274> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36608] Replace bundled pip and setuptools with a downloader in the ensurepip module

2019-07-13 Thread Sviatoslav Sydorenko
Sviatoslav Sydorenko added the comment: Thanks for the feedback! I've changed it a bit to have a separate command for downloading bundles to the source tree. It'd work as in `python -m ensurepip.bundle` (needs a better name/CLI args probably). Does it sound

[issue30088] mailbox.Maildir doesn't create subdir structure when create=True and base dir exists

2019-07-13 Thread Sviatoslav Sydorenko
Sviatoslav Sydorenko added the comment: Hi, I've tried clarifying this in docs as suggested @ https://github.com/python/cpython/pull/1163 -- ___ Python tracker <https://bugs.python.org/is

[issue36608] Replace bundled pip and setuptools with a downloader in the ensurepip module

2019-04-11 Thread Sviatoslav Sydorenko
Change by Sviatoslav Sydorenko : -- keywords: +patch pull_requests: +12719 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue36608] Replace bundled pip and setuptools with a downloader in the ensurepip module

2019-04-11 Thread Sviatoslav Sydorenko
New submission from Sviatoslav Sydorenko : Hi, I've noticed that there's an idea to not pollute Git tree with vendored blobs. In particular, `ensurepip` is one of the components doing this. Such a wish was expressed here: https://bugs.python.org/issue35277#msg330098 So I thought

[issue21537] functools.lru_cache does not cache exceptions

2017-09-14 Thread Sviatoslav Sydorenko
Sviatoslav Sydorenko added the comment: Hi, I've got similar need (caching exceptions). My use case is syscall, which is not going to result in something different regardless of the number of times it's called. But I'd like to be able to have exception already raised for me by

[issue30088] mailbox.Maildir doesn't create subdir structure when create=True and base dir exists

2017-04-17 Thread Sviatoslav Sydorenko
Sviatoslav Sydorenko added the comment: > create a Maildir folder in a temporary directory: > > with tempfile.TemporaryDirectory() as tmpdir: > with mailbox.Maildir(os.path.join(tmpdir, 'mail'), create=True) as > box: > ... Yeah, I came u

[issue30088] mailbox.Maildir doesn't create subdir structure when create=True and base dir exists

2017-04-17 Thread Sviatoslav Sydorenko
New submission from Sviatoslav Sydorenko: Hi, I've faced an issue w/ `mailbox.Maildir()`. The case is following: 1. I create a folder with `tempfile.TemporaryDirectory()`, so it's empty 2. I pass that folder path as an argument when instantiating `mailbox.Maildir()` 3. Then I