[issue43916] Check that new heap types cannot be created uninitialised

2021-04-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +24424 pull_request: https://github.com/python/cpython/pull/25733 ___ Python tracker ___ __

[issue43977] Implement the latest semantics for PEP 634 for matching collections

2021-04-29 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: +24425 pull_request: https://github.com/python/cpython/pull/25734 ___ Python tracker ___ ___

[issue43968] os.path.realpath() unexpected breaking change: resolves subst'd paths to real paths

2021-04-29 Thread Steve Dower
Steve Dower added the comment: I think Eryk's point is that the behaviour is correct, and it's unfortunate that certain tools use realpath() when they don't actually mean it (I've been bitten by this too with pytest). Presumably you want to replace realpath with abspath? -- ___

[issue43892] Make match patterns explicit in the AST

2021-04-29 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: +24426 pull_request: https://github.com/python/cpython/pull/25735 ___ Python tracker ___ ___

[issue40379] multiprocessing's default start method of fork()-without-exec() is broken

2021-04-29 Thread Andrew Duncan
Andrew Duncan added the comment: I just ran into and fixed (thanks to itamarst's blog post) a problem likely related to this. Multiprocessing workers performing work and sending a logging message back with success/fail info. I had a few intermittent deadlocks that became a recurring problem

[issue42800] Traceback objects allow accessing frame objects without triggering audit hooks

2021-04-29 Thread Steve Dower
Steve Dower added the comment: New changeset 9a2c2a9ec3140b6c54c9ef9d994311f114128ee3 by Ryan Hileman in branch 'master': bpo-42800: add audit hooks for f_code and tb_frame (GH-24182) https://github.com/python/cpython/commit/9a2c2a9ec3140b6c54c9ef9d994311f114128ee3 -- _

[issue42800] Traceback objects allow accessing frame objects without triggering audit hooks

2021-04-29 Thread STINNER Victor
STINNER Victor added the comment: Can you please rename AUDIT_READ to PY_AUDIT_READ? We should avoid adding symbols without Py/PY prefix to the Python C API. -- ___ Python tracker __

[issue42800] Traceback objects allow accessing frame objects without triggering audit hooks

2021-04-29 Thread Steve Dower
Steve Dower added the comment: Sure, I can do that. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue43982] Code coverage on the CI: validate codecov shell script checksum

2021-04-29 Thread STINNER Victor
New submission from STINNER Victor : Currently, GitHub Action and Travis CI run a codecov bash downloaded from https://codecov.io/bash without validating it. The script was recently compromised: https://about.codecov.io/security-update/ We should validate the shell script integrity by checkin

[issue43982] Code coverage on the CI: validate codecov shell script checksum

2021-04-29 Thread Ammar Askar
Ammar Askar added the comment: See also https://github.com/python/cpython/pull/25679 where we're proposing just removing the coverage build altogether. -- nosy: +ammar2 ___ Python tracker __

[issue42800] Traceback objects allow accessing frame objects without triggering audit hooks

2021-04-29 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +24427 pull_request: https://github.com/python/cpython/pull/25736 ___ Python tracker ___ _

[issue42904] get_type_hints does not provide localns for classes

2021-04-29 Thread Ken Jin
Ken Jin added the comment: Hmm I think you're right - the normal behavior in Python is for local variables to shadow global variables, and as a user I expect the same for eval in inspect.get_annotation. -- ___ Python tracker

[issue42800] Traceback objects allow accessing frame objects without triggering audit hooks

2021-04-29 Thread Steve Dower
Steve Dower added the comment: New changeset 87655e2cf58c543914ea05ebe5a0377441da1ef2 by Steve Dower in branch 'master': bpo-42800: Rename AUDIT_READ to PY_AUDIT_READ (GH-25736) https://github.com/python/cpython/commit/87655e2cf58c543914ea05ebe5a0377441da1ef2 -- ___

[issue43982] Code coverage on the CI: validate codecov shell script checksum

2021-04-29 Thread Ned Deily
Ned Deily added the comment: I agree that we should just remove the code coverage runs rather than trying to improve their security. It seems to me to be rude of us to use so much of the open source build resources for an activity that appears to have little benefit. -- nosy: +ned.de

[issue43976] Introduce mechanism to allow Python distributors to add custom site install schemes

2021-04-29 Thread Filipe Laíns
Filipe Laíns added the comment: Making sysconfig look at sitecustomize seems like the wrong approach. It is behavior I would never expect, and there are use-cases where I still want the schemes to be present when the site module initialization is disabled. I would also argue that having this

[issue43892] Make match patterns explicit in the AST

2021-04-29 Thread Brandt Bucher
Brandt Bucher added the comment: New changeset dbe60ee09dc5a624cfb78dff61ecf050a5b3f105 by Brandt Bucher in branch 'master': bpo-43892: Validate the first term of complex literal value patterns (GH-25735) https://github.com/python/cpython/commit/dbe60ee09dc5a624cfb78dff61ecf050a5b3f105

[issue42800] Traceback objects allow accessing frame objects without triggering audit hooks

2021-04-29 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +24428 pull_request: https://github.com/python/cpython/pull/25737 ___ Python tracker ___ _

[issue43979] Simplify urllib.parse_qsl

2021-04-29 Thread robertohueso
robertohueso added the comment: Seems like a nice simplification to me. Can I open PR? :) -- nosy: +robertohueso ___ Python tracker ___ ___

[issue42800] Traceback objects allow accessing frame objects without triggering audit hooks

2021-04-29 Thread Steve Dower
Steve Dower added the comment: The 3.9 backport is a bit different from what's in master, so would appreciate someone double-check it. It should go back to 3.8 just fine. -- ___ Python tracker _

[issue36077] Inheritance dataclasses fields and default init statement

2021-04-29 Thread Eric V. Smith
Eric V. Smith added the comment: I'm going to close this in favor of the kw_only work done in issue 43532. I realize they're not quite the same thing, but we'll see how it works out in Python 3.10, and possibly make adjustments when we have some real world experience. -- resolution:

[issue41486] Add _BlocksOutputBuffer for bz2/lzma/zlib module

2021-04-29 Thread Ma Lin
Change by Ma Lin : -- pull_requests: +24429 pull_request: https://github.com/python/cpython/pull/25738 ___ Python tracker ___ ___ Py

[issue41486] Add _BlocksOutputBuffer for bz2/lzma/zlib module

2021-04-29 Thread Ma Lin
Ma Lin added the comment: Found a backward incompatible behavior. Before the patch, in 64-bit build, zlib module allows the initial size > UINT32_MAX. It creates a bytes object, and uses a sliding window to deal with the UINT32_MAX limit: https://github.com/python/cpython/blob/v3.9.4/Module

[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules

2021-04-29 Thread Larry Hastings
Larry Hastings added the comment: New changeset 2f2b69855d6524e15d12c15ddc0adce629e7de84 by larryhastings in branch 'master': bpo-43901: Lazy-create an empty annotations dict in all unannotated user classes and modules (#25623) https://github.com/python/cpython/commit/2f2b69855d6524e15d12c15

[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules

2021-04-29 Thread Larry Hastings
Larry Hastings added the comment: Thanks for your feedback and reviews, everybody! Python just got an eensy teensy tiny bit better. -- assignee: -> larry resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python trac

[issue43951] Two minor fixes for C module object

2021-04-29 Thread Larry Hastings
Larry Hastings added the comment: Thanks for the review, Victor! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43981] test_idle is leaking references

2021-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: The only recently added tests are the 11 in test_sidebar.ShellSidebarTest. Leak testing just these with python -m test -R3:3 -ugui -m *Sidebar* test_idle does not fail. Leak test all of test_idle with >python -m test -R3:3 -v -ugui test_idle ends after t

[issue43981] test_idle is leaking references

2021-04-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +24430 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25739 ___ Python tracker ___ _

[issue43981] test_idle is leaking references

2021-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a62e424de0c394cda178a8d934d06f0559b5e28d by Terry Jan Reedy in branch 'master': bpo-43981: Fix error in idle-test leak test (GH-25739) https://github.com/python/cpython/commit/a62e424de0c394cda178a8d934d06f0559b5e28d -- __

[issue43983] Can't install Python v3.9.4 / 0x80070643 / windows 10 64bit

2021-04-29 Thread Marwan Essam
New submission from Marwan Essam : Hello, While I was trying to install Python version 3.9.4 on Windows 10 64bit, Error 0x80070643 - Fatal error during installation is showing, with a message saying " install the process cannot access the file because another process has locked a portion of

[issue43983] Can't install Python v3.9.4 / 0x80070643 / windows 10 64bit

2021-04-29 Thread Marwan Essam
Change by Marwan Essam : -- nosy: -Marwan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue43978] Incorrect "versionadded" info in typing.NoReturn documentation

2021-04-29 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: +rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue43817] Add inspect.get_annotations()

2021-04-29 Thread Larry Hastings
Larry Hastings added the comment: New changeset 74613a46fc79cacc88d3eae4105b12691cd4ba20 by larryhastings in branch 'master': bpo-43817: Add inspect.get_annotations(). (#25522) https://github.com/python/cpython/commit/74613a46fc79cacc88d3eae4105b12691cd4ba20 --

[issue43817] Add inspect.get_annotations()

2021-04-29 Thread Larry Hastings
Larry Hastings added the comment: Thanks for your feedback, everybody! It's now checked in. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue43981] test_idle is leaking references

2021-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_squeezer.ExpandingButtonTest accounts for most of the leak. python -m test -R3:3 -v -ugui -m *zer.Expand* test_idle test_idle leaked [576, 576, 576] references, sum=1728 test_idle leaked [282, 282, 282] memory blocks, sum=846 All 6 methods failed. I belie

[issue15443] datetime module has no support for nanoseconds

2021-04-29 Thread mdcb
mdcb added the comment: In the confines of PTP / IEEE1588, it's actually quite common and can be useful. It's not so much the ns, but the <1us that is missing. -- ___ Python tracker

[issue43976] Introduce mechanism to allow Python distributors to add custom site install schemes

2021-04-29 Thread Lumír Balhar
Change by Lumír Balhar : -- nosy: +frenzy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue43978] Incorrect "versionadded" info in typing.NoReturn documentation

2021-04-29 Thread Rahul Kumaresan
Rahul Kumaresan added the comment: Although the documentation for 'typing.NoReturn' is made in: https://github.com/python/cpython/pull/7107/files The actual inclusion of the 'typing.NoReturn' was made through the following this PR: https://github.com/python/typing/pull/397 Also the change i

[issue24247] Docs: "unittest discover" modifies sys.path

2021-04-29 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: +rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue41486] Add _BlocksOutputBuffer for bz2/lzma/zlib module

2021-04-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: Renaming to OutputBuffer sounds like a good idea. On Thu, Apr 29, 2021, 7:55 PM Ma Lin wrote: > > Ma Lin added the comment: > > Found a backward incompatible behavior. > > Before the patch, in 64-bit build, zlib module allows the initial size > > UINT32_M

[issue37387] test_compileall fails randomly on Windows when tests are run in parallel

2021-04-29 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Though I've never been able to reproduce this test failure. Maybe it's fixed (maybe it was a side effect of another test)? -- ___ Python tracker __

<    1   2