[issue46528] Simplify the VM's stack manipulations

2022-01-28 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: +29180 pull_request: https://github.com/python/cpython/pull/30998 ___ Python tracker ___ ___

[issue45628] TimedRotatingFileHandler backupCount not working

2022-01-28 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: -29179 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue45628] TimedRotatingFileHandler backupCount not working

2022-01-28 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: -brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29688] Add support for Path.absolute()

2022-01-28 Thread Brett Cannon
Brett Cannon added the comment: New changeset 18cb2ef46c9998480f7182048435bc58265c88f2 by Barney Gale in branch 'main': bpo-29688: document and test `pathlib.Path.absolute()` (GH-26153) https://github.com/python/cpython/commit/18cb2ef46c9998480f7182048435bc58265c88f2 -- ___

[issue46285] protocol_version in http.server.test can be ignored

2022-01-28 Thread Géry
Change by Géry : -- keywords: +patch pull_requests: +29181 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/30999 ___ Python tracker ___ _

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2022-01-28 Thread Éric Araujo
Change by Éric Araujo : -- pull_requests: +29182 pull_request: https://github.com/python/cpython/pull/31001 ___ Python tracker ___ __

[issue46520] ast.unparse produces bad code for identifiers that become keywords

2022-01-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'Reserved words' include all double underscore words, like __reserved__. Using such is allowed, but we reserve the right to break such code by adding a use for the word. 'def' is a keyword. Using identifier normalization to smuggle keywords into compiled c

[issue45953] Statically allocate interpreter states as much as possible.

2022-01-28 Thread Brandt Bucher
Brandt Bucher added the comment: Any chance we could revert the recent renaming of tstate.exc_state and tstate.root_cframe in https://github.com/python/cpython/pull/30590? It broke Greenlet again: https://github.com/python-greenlet/greenlet/issues/288 If it's only a name change (and the mem

[issue36346] Prepare for removing the legacy Unicode C API

2022-01-28 Thread Inada Naoki
Inada Naoki added the comment: No. I just waiting Python 3.11 become Bata. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue41255] Argparse.parse_args exits on unrecognized option with exit_on_error=False

2022-01-28 Thread Jacob Walls
Change by Jacob Walls : -- nosy: +jacobtylerwalls nosy_count: 6.0 -> 7.0 pull_requests: +29183 pull_request: https://github.com/python/cpython/pull/30832 ___ Python tracker ___

[issue36346] Prepare for removing the legacy Unicode C API

2022-01-28 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue46503] assertion failure in Parser/string_parser.c

2022-01-28 Thread Eric V. Smith
Eric V. Smith added the comment: In case anyone cares: in a non-debug build, this error had no real effect. It just caused the "find the literal part of an fstring" routine to terminate early, but since the part that it had already identified was still in error, a syntax error was still rais

[issue46561] Descriptor resolution should own arguments passed to descriptors

2022-01-28 Thread Dennis Sweeney
Dennis Sweeney added the comment: Hi Max, My apologies -- my first message was probably too dismissive. Is there any way to make the existing code crash with pure Python, and can we then add such a test case? If not with pure Python, then perhaps with some minimal reproducible example using

[issue46555] Unicode-mangled names refer inconsistently to constants

2022-01-28 Thread James Gerity
Change by James Gerity : -- nosy: +SnoopJeDi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue46564] Near zero-cost super().meth() calls via adaptive superinstructions

2022-01-28 Thread Kumar Aditya
Kumar Aditya added the comment: I was reading typeobject.c and noticed that creating a super object currently requires creating a frame object which is created lazily and is slow and it would work with the InterpreterFrame as well so I created a PR for this optimization and now it does not r

[issue46564] Near zero-cost super().meth() calls via adaptive superinstructions

2022-01-28 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +29184 pull_request: https://github.com/python/cpython/pull/31002 ___ Python tracker ___

[issue26552] Failing ensure_future still creates a Task

2022-01-28 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +29185 pull_request: https://github.com/python/cpython/pull/31003 ___ Python tracker ___

[issue46564] Near zero-cost super().meth() calls via adaptive superinstructions

2022-01-28 Thread Ken Jin
Ken Jin added the comment: @Kumar, my PR already has your changes. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue46564] Near zero-cost super().meth() calls via adaptive superinstructions

2022-01-28 Thread Kumar Aditya
Kumar Aditya added the comment: Oh, I didn't see your PR and commented as it was not mentioned in this bpo. Would you like to split the PR or continue with yours, either way is fine? -- ___ Python tracker _

[issue46521] codeop._maybe_compile passes code with error + triple quotes

2022-01-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tushar, I am the principle IDLE maintainer and have dealt with similar interactive compile problems on and off for a few years. Code module uses codeop._maybe_compile, which in turn uses batch-mode compile(). To review: Code can be in 3 states: legal, illega

[issue46524] test_peg_generator takes 8 minutes on Windows

2022-01-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Do all of the tests use all of the slowly built extensions, or could the test file be split into multiple files run separately, each faster? -- nosy: +terry.reedy ___ Python tracker

[issue46564] Near zero-cost super().meth() calls via adaptive superinstructions

2022-01-28 Thread Ken Jin
Ken Jin added the comment: > Oh, I didn't see your PR and commented as it was not mentioned in this bpo. No problem. In the future please check the "Pull Requests" section on the issue. People don't always say "I created a PR at xxx". Often times we just link the PR into the issue itself. K

[issue46565] Delete module-level loop variables when no longer needed

2022-01-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am opposed at this time. Leaving loop variables available is an intended feature of python. After reading point 1, I was tempted to say that you are making a fetish of typing or making the tail wag the dog. I mention this because others might have simila

[issue26552] Failing ensure_future still creates a Task

2022-01-28 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset a5451c96a14ac0c3ee7cef7b5c52ab1d783ec613 by Kumar Aditya in branch '3.10': bpo-26552: Fixed case where failing `asyncio.ensure_future` did not close the coroutine (#30288) (#31003) https://github.com/python/cpython/commit/a5451c96a14ac0c3ee7c

[issue46329] Split up the CALL_NO_KW and CALL_KW instructions.

2022-01-28 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +29186 pull_request: https://github.com/python/cpython/pull/31005 ___ Python tracker ___ ___ P

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2022-01-28 Thread pmp-p
Change by pmp-p : -- pull_requests: +29187 pull_request: https://github.com/python/cpython/pull/31006 ___ Python tracker ___ ___ Pyt

<    1   2