[issue44207] Add a version number to Python functions

2021-05-21 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue36384] [security] CVE-2021-29921: ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-05-21 Thread Ned Deily
Ned Deily added the comment: Is there anything more to be done for this issue or can it be closed? -- ___ Python tracker ___ ___ Py

[issue44184] crash on windows invoking flake8

2021-05-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset 50b0d148a68072292832eb69bdf1815b8059355f by Miss Islington (bot) in branch '3.10': bpo-44184: Fix subtype_dealloc() for freed type (GH-26274) (GH-26290) https://github.com/python/cpython/commit/50b0d148a68072292832eb69bdf1815b8059355f

[issue44184] crash on windows invoking flake8

2021-05-21 Thread STINNER Victor
STINNER Victor added the comment: The issue is fixed by: commit 615069eb08494d089bf24e43547fbc482ed699b8 Author: Victor Stinner Date: Fri May 21 19:19:54 2021 +0200 bpo-44184: Fix subtype_dealloc() for freed type (GH-26274) Fix a crash at Python exit when a deallocator functio

[issue44184] crash on windows invoking flake8

2021-05-21 Thread STINNER Victor
STINNER Victor added the comment: Anthony Sottile: "that version of flake8 uses multiprocessing (even for 1 file) -- would the ast objects be involved in that way? (pyflakes also makes reference cyles to handle "parent" relationships)" I expect flake8 to use the ast somewhere to analyze sour

[issue44208] argparse: Accept option without needing to distinguish "-" from "_" in arg_string

2021-05-21 Thread William Barnhart
William Barnhart added the comment: I'm glad someone else thinks it's a good idea. If you have some ideas for tests, I'd be happy to help write them in order to spare the inconvenience (unless the tests are that easy to write then by all means please do). I can appreciate why the core devel

[issue40695] hashlib: OpenSSL hash detection should obey security policy

2021-05-21 Thread Ned Deily
Ned Deily added the comment: Is there anything more that needs to be done for this issue? -- nosy: +ned.deily ___ Python tracker ___ __

[issue44038] In documentation Section 8.6, the definition of parameter_list need correcting

2021-05-21 Thread Webb Scales
Webb Scales added the comment: I concur -- it is correct as it is: I wasn't properly interpreting the alternation. Thank you for your attention; sorry for the false alarm! -- ___ Python tracker __

[issue32084] [Security] http.server can be abused to redirect to (almost) arbitrary URL

2021-05-21 Thread Ned Deily
Ned Deily added the comment: This looks like a duplicate of Issue43223 which has a PR in progress. -- nosy: +ned.deily resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> [security] http.server: Open Redirection if the URL path starts with //

[issue20749] shutil.unpack_archive(): security concerns not documented

2021-05-21 Thread Ned Deily
Ned Deily added the comment: The warning from Tarfile.extractall (Doc/library/tarfile.rst -> https://docs.python.org/dev/library/tarfile.html#tarfile-objects) can be adapted for use here (Doc/library/shutil.rst -> https://docs.python.org/dev/library/shutil.html#archiving-operations). --

[issue29788] [Security] tarfile: Add absolute_path option to tarfile, disabled by default

2021-05-21 Thread Ned Deily
Change by Ned Deily : -- versions: +Python 3.11 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2021-05-21 Thread Ned Deily
Ned Deily added the comment: Since 3.5 has now reached end-of-life, this issue will not be fixed there so it looks like it can be closed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.5 ___ Pyt

[issue33213] crypt function not hashing properly on Mac (uses a specific salt)

2021-05-21 Thread Ned Deily
Change by Ned Deily : -- components: +macOS versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Py

[issue44184] crash on windows invoking flake8

2021-05-21 Thread Ammar Askar
Ammar Askar added the comment: Indeed, it's quite a tricky issue so I'm glad it was caught in the beta. Thank you for the report Anthony. Thanks for tracing the root cause and the fix Victor and thank you to everyone who helped debug. -- ___ Pytho

[issue31767] Windows Installer fails with error 0x80091007 when trying to install debugging symbols

2021-05-21 Thread Ned Deily
Ned Deily added the comment: Any updates on this or can it be closed? -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-li

[issue39442] from __future__ import annotations makes dataclasses.Field.type a string, not type

2021-05-21 Thread Dan Cecile
Change by Dan Cecile : -- nosy: +dcecile ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue44212] asyncio overrides signal handlers

2021-05-21 Thread Francisco Demartino
New submission from Francisco Demartino : Hello, It looks like when asyncio sets up a signal handler, it forgets about the previous one (if any). Here's a patch (was about to create a PR but the default text brought me to bugs.python.org) https://github.com/franciscod/cpython/commit/bdac885b

[issue44208] argparse: Accept option without needing to distinguish "-" from "_" in arg_string

2021-05-21 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +paul.j3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue44208] argparse: Accept option without needing to distinguish "-" from "_" in arg_string

2021-05-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: Ideally, we should keep argparse in line with common practices. AFAICT, treating '-' and '_' the same isn't a norm. Click, for example, doesn't do this. -- nosy: +rhettinger versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9

[issue44212] asyncio overrides signal handlers

2021-05-21 Thread Francisco Demartino
Francisco Demartino added the comment: Looks like Roger Dahl also noted this on https://bugs.python.org/issue39765: > Second, set_signal_handler()[sic] silently and implicitly removes > corresponding handlers set with signal.signal(). [...] I think this should > be documented as well. (the

[issue44212] asyncio overrides signal handlers

2021-05-21 Thread Francisco Demartino
Change by Francisco Demartino : -- keywords: +patch pull_requests: +24904 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26306 ___ Python tracker

[issue44154] Optimize Fraction pickling

2021-05-21 Thread Sergey B Kirpichev
Sergey B Kirpichev added the comment: On Thu, May 20, 2021 at 12:03:38AM +, Raymond Hettinger wrote: > Raymond Hettinger added the comment: > You're right that this won't work for decimal because it takes a > string constructor. A fancier reduce might do the trick but it would > involve m

[issue44213] LIST_TO_TUPLE placed below the sentence "all of the following use their opcodes" in dis library documentaiton.

2021-05-21 Thread glubs9
New submission from glubs9 : in the dis library documentation where it lists all of the instructions in python bytecode, it includes a small sentence about half way dow "all of the following instructions use their arguments". After this sentence there is an instruction specified LIST_TO_TUPLE

[issue44213] LIST_TO_TUPLE placed below the sentence "all of the following use their opcodes" in dis library documentaiton.

2021-05-21 Thread glubs9
glubs9 added the comment: actually now that I am going through the documentation a bit more thoroughly this has happened again, dict_merge is placed below the sentence as well. -- ___ Python tracker ___

<    1   2