[issue9621] Graphviz output for 2to3 fixer patterns

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker _

[issue13253] 2to3 fix_renames renames sys.maxint only in imports

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: needs patch -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker _

[issue27855] 2to3: Wrong code output w/ has_key without trailing space

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker ___ ___ P

[issue25527] Invalid (... and confusing) warning raised by 2to3 regarding repeat

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker ___

[issue12873] 2to3 incorrectly handles multi-line imports from __future__

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker ___

[issue19111] 2to3 should remove from future_builtins import *

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker ___

[issue11276] 2to3: imports fixer doesn't update references to modules specified without attributes

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: needs patch -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker _

[issue20742] 2to3 zip fixer doesn't fix for loops.

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker ___ ___

[issue22425] 2to3 import fixer writes dotted_as_names into import_as_names

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker ___

[issue7162] 2to3 does not convert __builtins__.file

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker _

[issue15890] lib2to3 pickles created with wrong permissions

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker ___

[issue9273] 2to3 to simultaneously do code and doctests

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: works for me -> wont fix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue45544] Close 2to3 issues and list them here

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- Removed message: https://bugs.python.org/msg404531 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue45544] Close 2to3 issues and list them here

2021-10-20 Thread Irit Katriel
Irit Katriel added the comment: 2to3 is deprecated. All open issues will now being closed with this as superseder, in case someone will need the list of those issues in the future. -- ___ Python tracker ___

[issue9273] 2to3 to simultaneously do code and doctests

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: duplicate -> works for me ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue2470] Need fixer for dl (removed) -> ctypes module

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: duplicate -> wont fix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13332] execfile fixer produces code that does not close the file

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: duplicate -> wont fix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1034] [patch] Add 2to3 support for displaying warnings as Python comments

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: duplicate -> wont fix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12864] 2to3 creates illegal code on import a.b inside a package

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: duplicate -> wont fix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11195] next fixer fooled by trailing characters

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: duplicate -> wont fix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20867] fix_import in 2to3 adds spurious relative import (windows)

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker ___

[issue1034] [patch] Add 2to3 support for displaying warnings as Python comments

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: test needed -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker _

[issue11195] next fixer fooled by trailing characters

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker ___ ___

[issue12864] 2to3 creates illegal code on import a.b inside a package

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker

[issue2470] Need fixer for dl (removed) -> ctypes module

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker _

[issue13332] execfile fixer produces code that does not close the file

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker ___ ___

[issue9273] 2to3 to simultaneously do code and doctests

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker _

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2021-10-20 Thread Irit Katriel
Irit Katriel added the comment: Created issue45544 to close all open issues and list them there. -- nosy: +iritkatriel ___ Python tracker ___ _

[issue45544] Close 2to3 issues and list them here

2021-10-20 Thread Irit Katriel
New submission from Irit Katriel : 2to3 is deprecated. All open issues will now being closed as duplicates of this issue, in case someone needs this list in the future. -- messages: 404531 nosy: iritkatriel priority: normal severity: normal status: open title: Close 2to3 issues and lis

[issue45543] IDLE shell Windows EOL

2021-10-20 Thread Lee Bosch
New submission from Lee Bosch : The IDLE shell for Windows doesn't respect carriage returns in output strings. When using a '\r' as sep, end or as part of the output strings, IDLE ignores it and I get linear output rather than each successive line printing over the previous output. The same

[issue45192] The tempfile._infer_return_type function cannot infer the type of os.PathLike objects.

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 64e83c711eb371d60fce64cae074c4d3311f6ece by Miss Islington (bot) in branch '3.10': bpo-45192: Fix a bug that infers the type of an os.PathLike[bytes] object as str (GH-28323) (GH-29111) https://github.com/python/cpython/commit/64e83c711eb371d60fce

[issue45192] The tempfile._infer_return_type function cannot infer the type of os.PathLike objects.

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d33fae7105aaea7c376b5455fd1f8de802ca2542 by Miss Islington (bot) in branch '3.9': bpo-45192: Fix a bug that infers the type of an os.PathLike[bytes] object as str (GH-28323) (GH-29112) https://github.com/python/cpython/commit/d33fae7105aaea7c376b5

[issue35673] Loader for namespace packages

2021-10-20 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Oct 20, 2021, at 11:27, Brett Cannon wrote: > >> That should probably be a separate issue/PR in either case. > > https://bugs.python.org/issue38782 and I was trying to rope you into doing > the work. 😁 Ha! You should have nosied me then :D - but anyway

[issue35673] Loader for namespace packages

2021-10-20 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue38782] Convert importlib.abc to use typing.Protocol

2021-10-20 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue35673] Loader for namespace packages

2021-10-20 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: New changeset 876fc7fcec9a79a11546b7588d3683a5ccb4d31c by Barry Warsaw in branch 'main': bpo-35673: Add a public alias for namespace package __loader__ attribute (#29049) https://github.com/python/cpython/commit/876fc7fcec9a79a11546b7588d3683a5ccb4d31c --

[issue45520] Frozen dataclass deep copy doesn't work with __slots__

2021-10-20 Thread Justin Furuness
Justin Furuness added the comment: Thank you for the in-depth explanation. That all makes sense to me, I have run into the __slots__ with defaults issues before, I'll be sure to try out these fixes. I appreciate you taking the time. Thanks, Justin On Tue, Oct 19, 2021 at 5:28 PM Josh Rosenber

[issue42517] Enum: do not convert private names into members

2021-10-20 Thread Ethan Furman
Change by Ethan Furman : -- pull_requests: +27380 pull_request: https://github.com/python/cpython/pull/29113 ___ Python tracker ___

[issue44174] Unclear meaning of _Private__names in enum docs.

2021-10-20 Thread Ethan Furman
Ethan Furman added the comment: It has been moved to the tutorial (links are at the top of the Enum page). -- ___ Python tracker ___ __

[issue45192] The tempfile._infer_return_type function cannot infer the type of os.PathLike objects.

2021-10-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +27379 pull_request: https://github.com/python/cpython/pull/29112 ___ Python tracker ___ __

[issue45192] The tempfile._infer_return_type function cannot infer the type of os.PathLike objects.

2021-10-20 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +27378 pull_request: https://github.com/python/cpython/pull/29111 ___ Python tracker _

[issue45192] The tempfile._infer_return_type function cannot infer the type of os.PathLike objects.

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 6270d3eeaf17b50abc4f8f4d97790d66179638e4 by Kyungmin Lee in branch 'main': bpo-45192: Fix a bug that infers the type of an os.PathLike[bytes] object as str (GH-28323) https://github.com/python/cpython/commit/6270d3eeaf17b50abc4f8f4d97790d66179638e

[issue45527] Reduce overhead for cache hits in specialized opcodes.

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Mark! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue45527] Reduce overhead for cache hits in specialized opcodes.

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset bc85eb7a4f16e9e2b6fb713be2466ebb132fd7f2 by Mark Shannon in branch 'main': bpo-45527: Don't count cache hits, just misses. (GH-29092) https://github.com/python/cpython/commit/bc85eb7a4f16e9e2b6fb713be2466ebb132fd7f2 -- nosy: +lukasz.langa

[issue45464] TypeError when inheriting from both OSError and AttributeError

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: Marking this as "wont fix" since only documentation was updated. Thanks for reporting, Marek! -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue45464] TypeError when inheriting from both OSError and AttributeError

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 427ab124b3e9a54602b6f1d073a8e073159c0b51 by Miss Islington (bot) in branch '3.9': bpo-45464: [doc] Explain that subclassing multiple exceptions is fragile (GH-29094) (GH-29105) https://github.com/python/cpython/commit/427ab124b3e9a54602b6f1d073a8e

[issue44174] Unclear meaning of _Private__names in enum docs.

2021-10-20 Thread Joseph Riddle
Joseph Riddle added the comment: _Private__names seems to no longer exist in the Python 3.11 documentation. https://docs.python.org/3.11/library/enum.html#private-names It appears to have been removed in this PR https://github.com/python/cpython/pull/23748/files Should this issue be updated

[issue45464] TypeError when inheriting from both OSError and AttributeError

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b2a989995e6b725c5c957927127832fd3fcecfa2 by Miss Islington (bot) in branch '3.10': bpo-45464: [doc] Explain that subclassing multiple exceptions is fragile (GH-29094) (GH-29104) https://github.com/python/cpython/commit/b2a989995e6b725c5c9579271278

[issue45320] Remove deprecated inspect functions

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Hugo! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue45320] Remove deprecated inspect functions

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d89fb9a5a610a257014d112bdceef73d7df14082 by Hugo van Kemenade in branch 'main': bpo-45320: Remove long-deprecated inspect methods (GH-28618) https://github.com/python/cpython/commit/d89fb9a5a610a257014d112bdceef73d7df14082 -- ___

[issue43656] TracebackException or StackSummary.extract with capture_locals=True fail to catch exceptions raised by repr() on value of frame local variable in FrameSummary.__init__.

2021-10-20 Thread Joe Wells
Joe Wells added the comment: In the hopes of convincing someone to install a fix to this bug, I will mention a few additional points. When I mention “the capture_locals feature”, I mean calls of the form traceback.TracebackException(..., capture_locals=True) and traceback.StackSummary.extrac

[issue35673] Loader for namespace packages

2021-10-20 Thread Eric Snow
Eric Snow added the comment: On Mon, Jan 7, 2019 at 11:41 PM Eric V. Smith wrote: > Namespace packages (PEP 420) predate ModuleSpec (PEP 451). So, I think this > probably happened when 451 was implemented. Maybe Eric Snow recalls? PEP 451 talks about this a little (https://www.python.org/dev

[issue45540] module.__package__ and module.__spec__.parent have different semantics

2021-10-20 Thread Eric Snow
Eric Snow added the comment: On Wed, Oct 20, 2021 at 11:11 AM Barry A. Warsaw wrote: > Maybe we should relax the restriction on module.__spec__.parent so that it's > writeable just like module.__package__. Hmm, I hadn't realized __package__ is used in __import__(). That makes things messier

[issue45540] module.__package__ and module.__spec__.parent have different semantics

2021-10-20 Thread Brett Cannon
Brett Cannon added the comment: I say make it writable. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue33277] Deprecate __loader__, __package__, and __cached__ on modules

2021-10-20 Thread Brett Cannon
Brett Cannon added the comment: > The spec identifies how a module should be loaded (or how it was loaded and > should be reloaded). We should be careful to preserve that identify and not > invite uses to modify the spec after (or while) the module is loaded. But they may want to modify it

[issue45542] Using multiple comparison operators can cause performance issues

2021-10-20 Thread Maja
Change by Maja : -- keywords: +patch pull_requests: +27377 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29109 ___ Python tracker ___ ___

[issue35673] Loader for namespace packages

2021-10-20 Thread Brett Cannon
Brett Cannon added the comment: > What benefit would be gained? The ABCs are broader than what the import system actually requires due to their helper methods. So for typing purposes they are actually not a perfect fit. > That should probably be a separate issue/PR in either case. https://bu

[issue45542] Using multiple comparison operators can cause performance issues

2021-10-20 Thread Maja
New submission from Maja : For example: def f(x): return 1 < x < 3 will be slower than: def f(x): return 1 < x and x < 3 The first function will generate following bytecode: 0 LOAD_CONST 1 (1) 2 LOAD_FAST0 (x)

[issue39490] Python Uninstaller fails to clean up the old path variables when uninstalling

2021-10-20 Thread Steve Dower
Steve Dower added the comment: It seems like it is, however, it sounds like the OP didn't restart PowerShell after the uninstall or reinstall, which is necessary (though not mentioned, but given it would usually be missed including text to that effect wouldn't have any impact anyway). Basic

[issue3778] python uninstaller leave registry entries

2021-10-20 Thread Steve Dower
Change by Steve Dower : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ _

[issue45532] Replace 'default' with 'main' as default in sys.version

2021-10-20 Thread Dong-hee Na
Dong-hee Na added the comment: Thank you Ezio and youknowone :) -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue45532] Replace 'default' with 'main' as default in sys.version

2021-10-20 Thread miss-islington
miss-islington added the comment: New changeset 1249ce7c6c0ac7a99a72e6e7b8b10dd64158c386 by Miss Islington (bot) in branch '3.9': bpo-45532: Replace 'default' with 'main' as default in sys.version (GH-29100) https://github.com/python/cpython/commit/1249ce7c6c0ac7a99a72e6e7b8b10dd64158c386 -

[issue45532] Replace 'default' with 'main' as default in sys.version

2021-10-20 Thread miss-islington
miss-islington added the comment: New changeset 696a89fef81f8229ebff9c32dfd36921c04f0890 by Miss Islington (bot) in branch '3.10': bpo-45532: Replace 'default' with 'main' as default in sys.version (GH-29100) https://github.com/python/cpython/commit/696a89fef81f8229ebff9c32dfd36921c04f0890

[issue45541] Broken Link in asyncio library Docs

2021-10-20 Thread Lenin Kennedy
Lenin Kennedy added the comment: Sorry, not a bug. Found out it's actually how the python docs works. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker __

[issue45541] Broken Link in asyncio library Docs

2021-10-20 Thread Lenin Kennedy
New submission from Lenin Kennedy : Priority: Low In the asyncio page (https://docs.python.org/3/library/asyncio.html), in the bullet points of "set of high-level APIs to:", link to "perform network IO and IPC;" is (https://docs.python.org/3/library/asyncio-stream.html#asyncio-streams). He

[issue41374] socket.TCP_* no longer available with cygwin 3.1.6+

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: duplicate -> fixed status: open -> closed superseder: Cygwin is unsupported - close all open issues and list them here. -> ___ Python tracker

[issue41374] socket.TCP_* no longer available with cygwin 3.1.6+

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list m

[issue41374] socket.TCP_* no longer available with cygwin 3.1.6+

2021-10-20 Thread Irit Katriel
Irit Katriel added the comment: New changeset d8e181925123ab1fd3dfcad3b29325b2b0ff704b by Zackery Spytz in branch 'main': bpo-41374: Remove obsolete exclusion of netinet/tcp.h on Cygwin (GH-21649) https://github.com/python/cpython/commit/d8e181925123ab1fd3dfcad3b29325b2b0ff704b -- n

[issue45540] module.__package__ and module.__spec__.parent have different semantics

2021-10-20 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +brett.cannon, eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45540] module.__package__ and module.__spec__.parent have different semantics

2021-10-20 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : TL;DR module.__spec__.parent is read-only but module.__package__ is r/w despite documentation that implies that these two attributes should be identical, and various issues that focus on migrating from direct module attributes to ModuleSpec attributes. b

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27376 pull_request: https://github.com/python/cpython/pull/29108 ___ Python tracker ___ ___

[issue45532] Replace 'default' with 'main' as default in sys.version

2021-10-20 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +27374 pull_request: https://github.com/python/cpython/pull/29106 ___ Python tracker _

[issue45532] Replace 'default' with 'main' as default in sys.version

2021-10-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +27375 pull_request: https://github.com/python/cpython/pull/29107 ___ Python tracker ___ __

[issue45532] Replace 'default' with 'main' as default in sys.version

2021-10-20 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset d2cd5eef0c3fc0431bfe3fc24b4c020ebfcf8aad by Jeong YunWon in branch 'main': bpo-45532: Replace 'default' with 'main' as default in sys.version (GH-29100) https://github.com/python/cpython/commit/d2cd5eef0c3fc0431bfe3fc24b4c020ebfcf8aad --

[issue45464] TypeError when inheriting from both OSError and AttributeError

2021-10-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +27373 pull_request: https://github.com/python/cpython/pull/29105 ___ Python tracker ___ __

[issue45464] TypeError when inheriting from both OSError and AttributeError

2021-10-20 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +27372 pull_request: https://github.com/python/cpython/pull/29104 ___ Python tracker _

[issue45464] TypeError when inheriting from both OSError and AttributeError

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset dff0b713436e286bb1afdd7c6f3093c8e8db16dd by Łukasz Langa in branch 'main': bpo-45464: [doc] Explain that subclassing multiple exceptions is fragile (GH-29094) https://github.com/python/cpython/commit/dff0b713436e286bb1afdd7c6f3093c8e8db16dd

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for the fix, Pablo! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 919268316582c6ac47960c2e5dd2ee1682371494 by Miss Islington (bot) in branch '3.9': bpo-45229: Make doctest tests discoverable (GH-28986) (GH-29096) https://github.com/python/cpython/commit/919268316582c6ac47960c2e5dd2ee1682371494 -- _

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 65de808811f93793599209f74bb1bab3ad399b17 by Miss Islington (bot) in branch '3.10': bpo-45229: Make doctest tests discoverable (GH-28986) (GH-29095) https://github.com/python/cpython/commit/65de808811f93793599209f74bb1bab3ad399b17 --

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 88f4ec88e282bf861f0af2d237e9fe28fbc8deac by Łukasz Langa in branch '3.9': [3.9] bpo-45494: Fix parser crash when reporting errors involving invalid continuation characters (GH-28993) (#29071) https://github.com/python/cpython/commit/88f4ec88e282bf

[issue45315] `PyType_FromSpec` does not copy the name

2021-10-20 Thread Petr Viktorin
Change by Petr Viktorin : -- keywords: +patch pull_requests: +27371 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29103 ___ Python tracker ___ __

[issue45315] `PyType_FromSpec` does not copy the name

2021-10-20 Thread Petr Viktorin
Petr Viktorin added the comment: > the simplest solution is calling `type_set_name`, even if that runs some > unnecessary checks. Unfortunately this won't work, because it sets ht_name to the same value as tp_name. For historical reasons, the two can be different (and often are) for types c

[issue45113] [subinterpreters][C API] Add a new function to create PyStructSequence from Heap.

2021-10-20 Thread Hai Shi
Hai Shi added the comment: >Ah, sorry, I overlooked the flags. It's Okay. >This does beg the question: what else from PyType_Spec will be needed? I guess we don't want to allow additional slots/methods. +1. >Also, note that converting the stdlib to heap types is suspended, pending a >PEP.

[issue41374] socket.TCP_* no longer available with cygwin 3.1.6+

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue42115] Caching infrastructure for the evaluation loop: specialised opcodes

2021-10-20 Thread Ken Jin
Ken Jin added the comment: For future reference, the following opcodes specialized via the PEP 659 specializing adaptive interpreter: - LOAD_GLOBAL Issue44338 - LOAD_ATTR Issue44337 - STORE_ATTR Issue44826 (2% faster pyperformance) - BINARY_SUBSCR Issue26280 (2% faster pyperformance) - LOAD_M

[issue44532] multi subinterpreters use _PyStructSequence_InitType failed.

2021-10-20 Thread Hai Shi
Hai Shi added the comment: > In _PyStructSequence_InitType, it will check type is initialized. It's a internal C API :) > when type already been initialized, should return 0 rather than throw > exception. The another solution is to check the type status before calling _PyStructSequence_I

[issue42092] test_host_resolution_bad_address does not always fail as expected

2021-10-20 Thread Gregory P. Smith
Gregory P. Smith added the comment: Rule #1 for home users: Never use your ISPs DNS. Always configure a reputable one in your router. If you can't control your router, configure your computer to ignore the router's DNS. Classic best in breed non-ISP servers exist: 8.8.8.8 (google), 9.9.9.

[issue37505] Early auditing broken

2021-10-20 Thread Christian Heimes
Change by Christian Heimes : -- versions: +Python 3.10, Python 3.11 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue17405] Add _Py_memset_s() to securely clear memory

2021-10-20 Thread Christian Heimes
Christian Heimes added the comment: There haven't been any activity on this feature request for eight years. I'm no longer interested to implement my feature request. Closing... -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___

[issue27292] Warn users that os.urandom() prior to 3.6 can return insecure values

2021-10-20 Thread Christian Heimes
Christian Heimes added the comment: 2.7 and 3.5 are no longer supported -- nosy: +christian.heimes resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue19259] Provide Python implementation of operator.compare_digest()

2021-10-20 Thread Christian Heimes
Christian Heimes added the comment: There is no agreement where to put the function. In the past seven years nobody else has requested a pure Python implementation, too. I'm closing my feature request as rejected. -- resolution: -> rejected stage: needs patch -> resolved status: ope

[issue18737] Get virtual subclasses of an ABC

2021-10-20 Thread Christian Heimes
Christian Heimes added the comment: My feature request has been around for 8 years without any progress. I don't even recall why I needed the feature in the first place. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___

[issue2005] posixmodule expects sizeof(pid_t/gid_t/uid_t) <= sizeof(long)

2021-10-20 Thread Christian Heimes
Christian Heimes added the comment: The issue has been languishing for 8 years. I'm closing it as "fixed". -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue45532] Replace 'default' with 'main' as default in sys.version

2021-10-20 Thread youknowone
Change by youknowone : -- keywords: +patch pull_requests: +27370 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/29100 ___ Python tracker __

[issue44156] [subinterpreters] Replace static string caches with subinterpreter-compatible alternatives

2021-10-20 Thread Ken Jin
Ken Jin added the comment: I'll open separate issues for other similar changes. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue43257] get_type_hints evaluates class variables before type hints

2021-10-20 Thread Ken Jin
Ken Jin added the comment: Rejecting this since annotations are expressions that have side effects (so anti-patterns are discouraged). If you *really* want this, I suspect str: "str"="asdf" or using `from __future__ import annotations` will work. -- resolution: -> not a bug stage:

[issue42115] Caching infrastructure for the evaluation loop: specialised opcodes

2021-10-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Closing this as we have been implementing this idea already with the adaptative interpreter -- ___ Python tracker ___ ___

[issue42280] The list of standard generic collections is incomplete

2021-10-20 Thread Ken Jin
Ken Jin added the comment: I concur with Guido to close this. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45539] Negative lookaround assertions sometimes leak capture groups

2021-10-20 Thread Jirka Marsik
New submission from Jirka Marsik : When you have capture groups inside a negative lookaround assertion, the strings captured by those capture groups can sometimes survive the failure of the assertion and feature in the returned Match object. Here it is illustrated with lookbehinds and lookahe

<    1   2   3   4   >