[issue18498] mingw: setup select module

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

[issue7938] makesetup interprets macros -DA=B as a Make variable definition

2021-10-20 Thread Christian Heimes
Change by Christian Heimes : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-li

[issue18630] mingw: exclude unix only modules

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

[issue18633] mingw: use Mingw32CCompiler as default compiler for mingw* build

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

[issue18638] mingw: generalization of posix build in sysconfig.py

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

[issue17318] xml.sax and xml.dom fetch DTDs by default

2021-10-20 Thread Christian Heimes
Christian Heimes added the comment: I'm closing this as duplicate. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> XML vulnerabilities in Python ___ Python tracker ___

[issue18632] mingw: build extensions with GCC

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

[issue18641] mingw: customize site

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

[issue19243] MINGW: support stdcall without underscore

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

[issue18497] mingw: setup _multiprocessing module

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

[issue17605] mingw-meta: build interpeter core

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

[issue19245] mingw-meta: installation

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

[issue1760357] ZipFile.write fails with bad modification time

2021-10-20 Thread Christian Heimes
Change by Christian Heimes : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ __

[issue10504] Trivial mingw compile fixes

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

[issue6672] Add Mingw recognition to pyport.h to allow building extensions

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

[issue28271] [MinGW] Can't compile _ctypes/callproc.c - SEH not supported by MinGW

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

[issue28270] [MinGW] Can't compile Modules/posixmodule.c by MinGW - several macro are missed

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

[issue17148] mingw: nt thread model detection

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

[issue10615] Trivial mingw compile fixes

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

[issue37801] Compilation on MINGW64 fails (CODESET,wcstok,...)

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

[issue28267] [MinGW] Crash at start when compiled by MinGW for 64-bit Windows using PC/pyconfig.h

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

[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: Here are my thoughts inspired by Andrei's insightful comments. 1. In response to the major issue Andrei raises, I agree that it is desirable that repr would never raise an exception. The reasons Andrei mentions seem quite correct to me. However, I think the only

[issue18100] socket.sendall() cannot send buffers of 2GB or more

2021-10-20 Thread Christian Heimes
Christian Heimes added the comment: The issue is fixed in Python 3 by commit f72006f4429975a9d221e046e43dabd4f41eda23 -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue14527] How to link with a non-system libffi?

2021-10-20 Thread Christian Heimes
Change by Christian Heimes : -- type: -> enhancement versions: +Python 3.10, Python 3.11 ___ Python tracker ___ ___ Python-bugs-lis

[issue45477] configure script cannot detect float word ordering on linux

2021-10-20 Thread Christian Heimes
Christian Heimes added the comment: Please upload and attach the .o file to this bug. I need to see the content of the file. -- ___ Python tracker ___ ___

[issue45477] configure script cannot detect float word ordering on linux

2021-10-20 Thread Sourish Basu
Sourish Basu added the comment: conftest.c attached -- Added file: https://bugs.python.org/file50375/conftest.c ___ Python tracker ___

[issue45477] configure script cannot detect float word ordering on linux

2021-10-20 Thread Sourish Basu
Sourish Basu added the comment: conftest.o attached -- Added file: https://bugs.python.org/file50374/conftest.o ___ Python tracker ___

[issue25625] "chdir" Contex manager for pathlib

2021-10-20 Thread Thomas Grainger
Change by Thomas Grainger : -- nosy: +graingert nosy_count: 10.0 -> 11.0 pull_requests: +27360 pull_request: https://github.com/python/cpython/pull/29091 ___ Python tracker ___

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

2021-10-20 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +27361 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29092 ___ Python tracker ___ ___

[issue45477] configure script cannot detect float word ordering on linux

2021-10-20 Thread Christian Heimes
Christian Heimes added the comment: Your conftest.o does not contain the magic string "seesnoon". Either ICC uses a different serialization format or your CFLAGS optimize the value away. Please run icc -c -o conftest_unoptimized.o conftest.c and upload "conftest_unoptimized.o". ---

[issue45382] platform() is not able to detect windows 11

2021-10-20 Thread Steve Dower
Steve Dower added the comment: All that said, if we're going to shell out to "ver", we may as well try "wmic os get Caption,Version /value" first and parse its output. For me, it looks like the below (with a number of blank lines around it): Caption=Microsoft Windows 10 Enterprise Version=10

[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 Andrei Kulakov
Andrei Kulakov added the comment: Joe: when I ran your code sample with modification I posted previously, I don't get any errors. Can you try running it? By the way my point was not that builtin __repr__ should be modified to never raise exceptions (which would not help in this case), but ra

[issue35037] PYLONG_BITS_IN_DIGIT differs between MinGW and MSVC

2021-10-20 Thread Beier Liu
Change by Beier Liu : -- keywords: +patch nosy: +Beier Liu nosy_count: 7.0 -> 8.0 pull_requests: +27362 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19326 ___ Python tracker __

[issue45436] test_tk.test_configure_type() fails with Tcl/Tk 8.6.11

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: Zach, yes, at least to 3.10, 3.9, and 3.8 please. -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue45436] test_tk.test_configure_type() fails with Tcl/Tk 8.6.11

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

[issue45436] test_tk.test_configure_type() fails with Tcl/Tk 8.6.11

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 15cd7a7f9edcc121f273ae1d8007128282f8f85f by Miss Islington (bot) in branch '3.9': bpo-45436: Fix tkinter tests with Tcl/Tk 8.6.11+ (GH-29077) (GH-29081) https://github.com/python/cpython/commit/15cd7a7f9edcc121f273ae1d8007128282f8f85f --

[issue40167] Cython files don't compile on Mingw-w64 64-bit

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> PYLONG_BITS_IN_DIGIT differs between MinGW and MSVC ___ Python tracker

[issue25625] "chdir" Contex manager for pathlib

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset a774285e7d3e63c24dbaaee0b0d9e59ded5c49bf by Thomas Grainger in branch 'main': bpo-25625: [doc] fix async/aync typo (GH-29091) https://github.com/python/cpython/commit/a774285e7d3e63c24dbaaee0b0d9e59ded5c49bf -- __

[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 Andrei Kulakov
Andrei Kulakov added the comment: Joe: I've looked at https://bugs.python.org/issue39228 again and I see there was consensus to reject this idea, please take a look at the discussion there. -- ___ Python tracker

[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: I'm sorry Andrei: I misread your alteration of my example and misunderstood its purpose. For anyone else reading these messages: In my most recent comment above, please ignore the part of my comment about Andrei's example. So yes, Andrei, that is how people shou

[issue45531] field "mro" behaves strangely in dataclass

2021-10-20 Thread Eric V. Smith
Eric V. Smith added the comment: I think the only other thing that could be done is to have a special test for "default is type.mro", and if so, don't assume it's a default value. Which means that you could never actually use: @dataclass class A: mro: object = type.mro But it's probably

[issue25625] "chdir" Contex manager for pathlib

2021-10-20 Thread desbma
Change by desbma : -- nosy: -desbma ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue45477] configure script cannot detect float word ordering on linux

2021-10-20 Thread Sourish Basu
Sourish Basu added the comment: conftest_unoptimized.o uploaded -- Added file: https://bugs.python.org/file50376/conftest_unoptimized.o ___ Python tracker ___

[issue45436] test_tk.test_configure_type() fails with Tcl/Tk 8.6.11

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 2ce38167000fef3a71f1783acdda2a2cf7a2df39 by Miss Islington (bot) in branch '3.8': bpo-45436: Fix tkinter tests with Tcl/Tk 8.6.11+ (GH-29077) (GH-29093) https://github.com/python/cpython/commit/2ce38167000fef3a71f1783acdda2a2cf7a2df39 --

[issue45464] TypeError when inheriting from both OSError and AttributeError

2021-10-20 Thread Łukasz Langa
Change by Łukasz Langa : -- nosy: +lukasz.langa nosy_count: 5.0 -> 6.0 pull_requests: +27364 pull_request: https://github.com/python/cpython/pull/29094 ___ Python tracker ___ __

[issue45311] Threading Semaphore and BoundedSemaphore release method implementation improvement

2021-10-20 Thread Andrei Kulakov
Andrei Kulakov added the comment: Besart: with the current code, if there's a valueError when releasing a thread, it will be retried again n times, with your change, n waiting threads will be released, even if some of them fail with ValueError. I don't know enough about threading module to s

[issue45311] Threading Semaphore and BoundedSemaphore release method implementation improvement

2021-10-20 Thread Andrei Kulakov
Change by Andrei Kulakov : -- nosy: +kj ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue45395] Frozen stdlib modules are discarded if custom frozen modules added.

2021-10-20 Thread Eric Snow
Eric Snow added the comment: On Wed, Oct 20, 2021 at 6:01 AM Marc-Andre Lemburg wrote: > I have PyRun mostly working with Python 3.9. > ... > No changes were necessary to Tools/freeze/. Great! Thanks for getting to that so quickly. Are you going to take a look at 3.10 after you're happy wit

[issue45477] configure script cannot detect float word ordering on linux

2021-10-20 Thread Christian Heimes
Christian Heimes added the comment: One of your optimization flags breaks the AX_C_FLOAT_WORDS_BIGENDIAN macro. The optimized object file does not have seesnoon in its data section. $ objdump -x conftest.o conftest_unoptimized.o conftest.o: file format elf64-x86-64 conftest.o architectu

[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: Andrei, thanks very much for the pointer to bug/issue https://bugs.python.org/issue39228. I had not noticed the earlier comment by Irit pointing to that bug. (Is there some way to merge bugs so that someone visiting one of the bugs will see the merged stream of

[issue45436] test_tk.test_configure_type() fails with Tcl/Tk 8.6.11

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b8dbb3a7f96718dddb8bed31130f421316213dc5 by Miss Islington (bot) in branch '3.10': bpo-45436: Fix tkinter tests with Tcl/Tk 8.6.11+ (GH-29077) (GH-29080) https://github.com/python/cpython/commit/b8dbb3a7f96718dddb8bed31130f421316213dc5 --

[issue45436] test_tk.test_configure_type() fails with Tcl/Tk 8.6.11

2021-10-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +27365 pull_request: https://github.com/python/cpython/pull/29003 ___ Python tracker ___

[issue45436] test_tk.test_configure_type() fails with Tcl/Tk 8.6.11

2021-10-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +27366 pull_request: https://github.com/python/cpython/pull/28986 ___ Python tracker ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 8d6740f489fca67a44de165d29d9e0ad86285779 by Serhiy Storchaka in branch 'main': bpo-45229: Make doctest tests discoverable (GH-28986) https://github.com/python/cpython/commit/8d6740f489fca67a44de165d29d9e0ad86285779 -- ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-20 Thread miss-islington
Change by miss-islington : -- message_count: 30.0 -> 31.0 pull_requests: +27367 pull_request: https://github.com/python/cpython/pull/29095 ___ Python tracker ___ __

[issue45229] Always use unittest for collecting tests in regrtests

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

[issue40777] _datetimemodule.c:3328:16: error: initializer element is not constant

2021-10-20 Thread Petr Viktorin
Change by Petr Viktorin : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45395] Frozen stdlib modules are discarded if custom frozen modules added.

2021-10-20 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 20.10.2021 16:25, Eric Snow wrote: > > Eric Snow added the comment: > > On Wed, Oct 20, 2021 at 6:01 AM Marc-Andre Lemburg > wrote: >> I have PyRun mostly working with Python 3.9. >> ... >> No changes were necessary to Tools/freeze/. > > Great! Tha

[issue40645] Use OpenSSL's HMAC API

2021-10-20 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44351] distutils.sysconfig.parse_makefile() regression in Python 3.10

2021-10-20 Thread Petr Viktorin
Change by Petr Viktorin : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[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 Andrei Kulakov
Andrei Kulakov added the comment: Joe: I understand your point but my concern is that this creates an impression for the users that Python is tolerant of failing __repr__'s, while that's not the case at all. I agree that if StackSummary was only used for interactive debugging, there would b

[issue45311] Threading Semaphore and BoundedSemaphore release method implementation improvement

2021-10-20 Thread Ken Jin
Change by Ken Jin : -- nosy: +pitrou, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue45464] TypeError when inheriting from both OSError and AttributeError

2021-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: More specific would be "Inheriting from multiple exceptions may fail due to instance layout conflicts. Such conflicts may depend on the Python version." This would effectively say "Don't bother reporting layout conflicts -- we know about them and they are n

[issue44525] Implement CALL_FUNCTION adaptive interpreter optimizations

2021-10-20 Thread Mark Shannon
Mark Shannon added the comment: New changeset 8863a0fcc5f04ab7c3428e713917831f9b1deb18 by Mark Shannon in branch 'main': bpo-44525: Specialize simple Python calls. (GH-29033) https://github.com/python/cpython/commit/8863a0fcc5f04ab7c3428e713917831f9b1deb18 -- __

[issue45436] test_tk.test_configure_type() fails with Tcl/Tk 8.6.11

2021-10-20 Thread E. Paine
E. Paine added the comment: I suspect this is a bug with Tk. `-compound` accepting the empty string is not documented and the valid Ttk compound values listed in the source do not include it (https://github.com/tcltk/tk/blob/57451473/generic/ttk/ttkInit.c#L34-L37 - ignore the NULL at the en

[issue37295] Possible optimizations for math.comb()

2021-10-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And with optimization of math.perm() for small arguments: $ ./python -m pyperf timeit -s 'from math import perm' 'perm(30, 14)' Mean +- std dev: 524 ns +- 43 ns -> 66.7 ns +- 4.6 ns: 7.85x faster $ ./python -m pyperf timeit -s 'from math import perm' 'perm(

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

2021-10-20 Thread Eric Snow
Eric Snow added the comment: (Not sure how I missed this issue.) 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. PEP

[issue45536] Verify OpenSSL APIs in configure script

2021-10-20 Thread Christian Heimes
Christian Heimes added the comment: New changeset 81520fe677d15cc7f9af5140bc5f9eca8409ad90 by Christian Heimes in branch 'main': bpo-45536: Check OpenSSL APIs in configure (GH-29088) https://github.com/python/cpython/commit/81520fe677d15cc7f9af5140bc5f9eca8409ad90 -- __

[issue45536] Verify OpenSSL APIs in configure script

2021-10-20 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +27369 pull_request: https://github.com/python/cpython/pull/29099 ___ Python tracker _

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

2021-10-20 Thread Eric Snow
Eric Snow added the comment: +1 on a proxy (with read-only attrs) for everything but __name__, __file__, and __path__ (which can all be different than the spec). Ideally __name__ and __file__ would be read-only too but they'd have to be stored somewhere other than the spec (e.g. on the prox

[issue45395] Frozen stdlib modules are discarded if custom frozen modules added.

2021-10-20 Thread Eric Snow
Eric Snow added the comment: On Wed, Oct 20, 2021 at 8:38 AM Marc-Andre Lemburg wrote: > Yes, 3.10 is next, once I have 3.9 ironed out. And then I'll give 3.11 a try. Thanks! > Sorry, I wasn't clear. PGO is not a problem for test_embed. I just > wonder why the test_embed tests are run for cr

[issue45536] Verify OpenSSL APIs in configure script

2021-10-20 Thread miss-islington
miss-islington added the comment: New changeset 5537b9f10510735447bea81079ac586f46decf20 by Miss Islington (bot) in branch '3.10': bpo-45536: Check OpenSSL APIs in configure (GH-29088) https://github.com/python/cpython/commit/5537b9f10510735447bea81079ac586f46decf20 --

[issue45536] Verify OpenSSL APIs in configure script

2021-10-20 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue30076] Opcode names BUILD_MAP_UNPACK_WITH_CALL and BUILD_TUPLE_UNPACK_WITH_CALL are too long

2021-10-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sure. -- resolution: -> out of date stage: patch review -> 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

[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 ___ ___

[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 ___ ___

[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:

[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

[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 __

[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 __

[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 ___

[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

[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 __

[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 ___

[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

[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.

[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

[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

[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

[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.

[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

[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 ___ __

[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

[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 --

[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 -- _

[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 ___

[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

[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 miss-islington
Change by miss-islington : -- pull_requests: +27373 pull_request: https://github.com/python/cpython/pull/29105 ___ Python tracker ___ __

<    1   2   3   4   >