[issue46107] ExceptionGroup.split()/subgroup() don't copy __note__ to parts

2021-12-16 Thread Irit Katriel
Irit Katriel added the comment: With the patch: >>> e = ExceptionGroup("eg", [ValueError(1), TypeError(2)]) >>> e.__note__ = "a note" >>> e.split(ValueError) (ExceptionGroup('eg', [ValueError(1)]), ExceptionGroup('eg', [TypeError(2)])) >>> e.split(ValueError)[0].__note__ 'a note' >>> e.split(V

[issue46107] ExceptionGroup.split()/subgroup() don't copy __note__ to parts

2021-12-16 Thread Irit Katriel
Change by Irit Katriel : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue36225] [subinterpreters] Lingering subinterpreters should be implicitly cleared on shutdown

2021-12-16 Thread Chris Roberts
Change by Chris Roberts : -- nosy: +nasageek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue9917] resource max value represented as signed when should be unsigned

2021-12-16 Thread Daniel Diniz
Change by Daniel Diniz : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker ___ _

[issue678264] test_resource fails when file size is limited

2021-12-16 Thread Daniel Diniz
Change by Daniel Diniz : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker ___ ___

[issue37578] Change Glob: Allow Recursion for Hidden Files

2021-12-16 Thread Andrei Kulakov
Andrei Kulakov added the comment: Zsh allows use of *, ? and ** to match hidden files and directories. Bash allows the same for * and ? with `dotglob` option. There is also a `globstar` but my version of bash (on macos) is too old to have it. By the way setting options in bash is done with `

[issue46028] 3.11.0a3: under tox, sys._base_executable is wrong

2021-12-16 Thread Ned Batchelder
Ned Batchelder added the comment: Thanks, your change looks good. The exact symlinks in the nested venv's are different for 3.10.1 and your 3.11, but they both work: $ python3.10 -c "import sys; print(sys.version)" 3.10.1 (main, Dec 14 2021, 08:30:13) [Clang 12.0.0 (clang-1200.0.32.29)] $ p

[issue46105] Requirement syntax broken when extras indicated on url_req

2021-12-16 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 864ec170e14b663f999eb415a4f1a0067ec6833a by Jason R. Coombs in branch '3.9': [3.9] bpo-46105: Honor spec when generating requirement specs with urls and extras. (GH-30151). (GH-30157) https://github.com/python/cpython/commit/864ec170e14b663f99

[issue46105] Requirement syntax broken when extras indicated on url_req

2021-12-16 Thread Jason R. Coombs
Change by Jason R. Coombs : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue44893] importlib.metadata Entrypoint has a broken _asdict

2021-12-16 Thread Jason R. Coombs
Jason R. Coombs added the comment: Expect the fix in 3.11a3. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46089] Problems with AF_PACKET sockets

2021-12-16 Thread Ethan Furman
Ethan Furman added the comment: To contribute you'll need to sign a Contributor's License Agreement [1]. After that, anything you can do to help will move this forward. You may not be aware, but Python is developed primarily by volunteers, which unfortunately means that time is normally spe

[issue46108] Enum repr() incorrect when mixed with dataclasses

2021-12-16 Thread Ethan Furman
New submission from Ethan Furman : from dataclasses import dataclass from enum import Enum @dataclass class Foo: a: int = 0 class Entries(Foo, Enum): ENTRY1 = Foo(1) repr(Entries.ENTRY1) != '' -- assignee: ethan.furman messages: 408748 nosy: ethan.furman priority: normal seve

[issue46109] Separate resources and abc docs from other importlib docs

2021-12-16 Thread Jason R. Coombs
New submission from Jason R. Coombs : The `importlib` documentation is fairly long and covers a number of topics. Furthermore, the `importlib.metadata` is separately documented and presents a good example of breaking out major aspects. Let's do the same with `.abc` and `.resources`.

[issue46109] Separate resources and abc docs from other importlib docs

2021-12-16 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +28379 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30160 ___ Python tracker ___

[issue37578] Change Glob: Allow Recursion for Hidden Files

2021-12-16 Thread Isaac Muse
Isaac Muse added the comment: If this was to be done, you'd want to make sure character sequences also match hidden files: [.]. Just * and ? would be incomplete. If allowing ** to match a leading dot, it would not match . or .. -- nosy: +Isaac Muse __

[issue37578] Change Glob: Allow Recursion for Hidden Files

2021-12-16 Thread Andrei Kulakov
Andrei Kulakov added the comment: Isaac: my PR does allow [.] to match. But I probably need to update the docs to note that. -- ___ Python tracker ___ ___

[issue37578] Change Glob: Allow Recursion for Hidden Files

2021-12-16 Thread Andrei Kulakov
Andrei Kulakov added the comment: I want to clarify my first comment: my PR is similar to Zsh behaviour as described above; as I'm not 100% sure how bash behaves with `**` with globstar option, I can say that bash is the same as Zsh with ? and * magic characters (with dotglob option), and li

[issue46110] `eval("-"*3000000 + "4")` in cmd causes hard crash

2021-12-16 Thread Charles McMarrow
New submission from Charles McMarrow : `eval("-"*300 + "4")` in cmd causes hard crash -- components: Parser messages: 408753 nosy: charles.mcmarrow.4, lys.nikolaou, pablogsal priority: normal severity: normal status: open title: `eval("-"*300 + "4")` in cmd causes hard crash typ

[issue41033] readline.c: SEGFAULT on SIGWINCH when loaded twice

2021-12-16 Thread Dale
Dale added the comment: I hit this on macOS today but I didn't get segmentation fault, at least not for as long as I cared to let Python run. Instead I got a non-responsive Python process using 100% CPU that I had to kill with ^\. I first hit this with GNU readline while running Python int

[issue46111] test_unittest fails in optimized mode

2021-12-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : $ ./python -OO -m test -vuall test_unittest ... == FAIL: testShortDescriptionWhitespaceTrimming (unittest.test.test_case.Test_TestCase)

[issue46111] test_unittest fails in optimized mode

2021-12-16 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +28380 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30163 ___ Python tracker ___

[issue46108] Enum repr() incorrect when mixed with dataclasses

2021-12-16 Thread Eric V. Smith
Eric V. Smith added the comment: I know you know this, but here's a version without dataclasses, in case you want to add a test for this, too. from enum import Enum class Foo: def __init__(self, a): self.a = a def __repr__(self): return f'Foo(a={self.a!r})' class Ent

<    1   2