[issue45163] Haiku build fix

2021-10-05 Thread Ned Deily
Change by Ned Deily : -- nosy: +ned.deily nosy_count: 2.0 -> 3.0 pull_requests: +27077 pull_request: https://github.com/python/cpython/pull/28729 ___ Python tracker ___

[issue44594] AsyncExitStack.enter_async_context() is mishandling exception __context__

2021-10-05 Thread John Belmonte
Change by John Belmonte : -- pull_requests: +27078 pull_request: https://github.com/python/cpython/pull/28730 ___ Python tracker ___

[issue43466] ssl/hashlib: Add configure option to set or auto-detect rpath to OpenSSL libs

2021-10-05 Thread Chris Hills
Chris Hills added the comment: The new behaviour seems broken on my system. $ PYTHON_VERSION=3.10.0 $ PKG_CONFIG_PATH="/home/chaz/.local/local/sqlite3/lib/pkgconfig:/home/chaz/.local/local/openssl3/lib64/pkgconfig" $ LLVM_PROFDATA=/home/chaz/.local/local/clang+llvm/bin/llvm-profdata

[issue45371] distutil's runtime_library_dir (rpath) option doesn't work with clang

2021-10-05 Thread Christian Heimes
Christian Heimes added the comment: $ CC=clang ./configure --with-openssl=/home/heimes/dev/python/multissl/openssl/3.0.0 --with-openssl-rpath=auto $ make $ readelf -d build/lib.linux-x86_64-3.11/_ssl.cpython-311-x86_64-linux-gnu.so | grep RUNPATH 0x001d (RUNPATH)

[issue45371] distutil's runtime_library_dir (rpath) option doesn't work with clang

2021-10-05 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27080 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28732 ___ Python tracker

[issue45372] Unwarranted "certificate has expired" when urlopen-ing R3 sites

2021-10-05 Thread Aivar Annamaa
New submission from Aivar Annamaa : In one of my Windows 10 computers I'm not able to urlopen sites which use R3 certificates. The same is reported by several of the users of my software. Following is taken from a session in the fresh IDLE 3.10 in up-to date Windows 10: Python 3.10.0

[issue45371] distutil's runtime_library_dir (rpath) option doesn't work with clang

2021-10-05 Thread Chris Hills
Chris Hills added the comment: I tested this both with and without LDFLAGS="-Wl,-rpath -Wl,/home/chaz/.local/local/python3.10.0/lib", and in both cases this patch works as expected. Thank you! -- nosy: +chaz6 ___ Python tracker

[issue43760] The DISPATCH() macro is not as efficient as it could be (move PyThreadState.use_tracing)

2021-10-05 Thread Mark Shannon
Mark Shannon added the comment: New changeset bd627eb7ed08a891dd1356756feb1ce2600358e4 by Mark Shannon in branch 'main': bpo-43760: Check for tracing using 'bitwise or' instead of branch in dispatch. (GH-28723)

[issue45372] Unwarranted "certificate has expired" when urlopen-ing R3 sites

2021-10-05 Thread Aivar Annamaa
Aivar Annamaa added the comment: I can list the root certs with certmgr, but I'm not sure which piece to investigate further. Even if there is problem with installed certs, it's interesting, why doesn't it bother the browsers and requests? Maybe this is opportunity to make something

[issue45370] Typo in pep-0636 page

2021-10-05 Thread Raúl Cumplido
Raúl Cumplido added the comment: This has been merged on the peps repo and can be closed. -- ___ Python tracker ___ ___

[issue44594] AsyncExitStack.enter_async_context() is mishandling exception __context__

2021-10-05 Thread John Belmonte
Change by John Belmonte : -- pull_requests: +27079 pull_request: https://github.com/python/cpython/pull/28731 ___ Python tracker ___

[issue43466] ssl/hashlib: Add configure option to set or auto-detect rpath to OpenSSL libs

2021-10-05 Thread Christian Heimes
Christian Heimes added the comment: Chris, this bug report is closed. Please open a new bug report. I think it's a bug in distutils. UnixCCompiler.runtime_library_dir_option() may not support clang and add wrong option "-R/home/chaz/.local/local/openssl-3.0.0/lib64". --

[issue43466] ssl/hashlib: Add configure option to set or auto-detect rpath to OpenSSL libs

2021-10-05 Thread Christian Heimes
Christian Heimes added the comment: Chris, please try the fix from bpo-45371. -- ___ Python tracker ___ ___ Python-bugs-list

[issue45373] ./configure --enable-optimizations should enable LTO

2021-10-05 Thread STINNER Victor
New submission from STINNER Victor : When Python is configured with: ./configure --enable-optimizations PGO is enabled but not LTO. I recall that a few years ago, GCC with LTO had bugs. But now, GCC with LTO is reliable. I suggest to enable it by default in Python 3.11. Or did I miss a

[issue45371] distutil's runtime_library_dir (rpath) option doesn't work with clang

2021-10-05 Thread miss-islington
miss-islington added the comment: New changeset 3ce5e07e9a4b78302b69f898527396ff7b5fd448 by Miss Islington (bot) in branch '3.9': bpo-45371: Fix distutils' rpath support for clang (GH-28732) https://github.com/python/cpython/commit/3ce5e07e9a4b78302b69f898527396ff7b5fd448 --

[issue45371] distutil's runtime_library_dir (rpath) option doesn't work with clang

2021-10-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +27081 pull_request: https://github.com/python/cpython/pull/28733 ___ Python tracker ___

[issue45371] distutil's runtime_library_dir (rpath) option doesn't work with clang

2021-10-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +27082 pull_request: https://github.com/python/cpython/pull/28734 ___ Python tracker ___

[issue45372] Unwarranted "certificate has expired" when urlopen-ing R3 sites

2021-10-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Are you sure that all updates on the failing machine have been correctly installed ? It's possible that the list of CA root certs is not up to date on the machine. You can use certmgr.msc to check the list of installed CA root certs. -- nosy:

[issue45370] Typo in pep-0636 page

2021-10-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report and fix. Closing it as third party since PEPs are maintained in different repo using GitHub issues. -- nosy: +xtreak resolution: -> third party stage: -> resolved status: open -> closed

[issue45370] Typo in pep-0636 page

2021-10-05 Thread AdrienGoncalves
New submission from AdrienGoncalves : There is a typo in https://www.python.org/dev/peps/pep-0636/#composing-patterns The second sentence in the first paragraph : "[...] we have being doing that implicitly in the examples above." When it should be "[...] we have been doing that implicitly in

[issue33125] Windows 10 ARM64 platform support

2021-10-05 Thread Rubin Simons
Rubin Simons added the comment: Hi Python peeps, * distlib-0.3.3 and higher now has support for windows on ARM64, see: https://github.com/pypa/pip/issues/10489#issuecomment-924677949 * setuptools-58.2.0 and higher now has support for Windows on ARM64, see:

[issue45371] distutil's runtime_library_dir (rpath) option doesn't work with clang

2021-10-05 Thread Christian Heimes
New submission from Christian Heimes : Chris Hills reported in bpo-43466 that the new --with-openssl-rpath=auto does not work with clang. It turns out to be a bug in distutils. UnixCCompiler.runtime_library_dir_option() does not detect clang correctly and emits wrong option for rpath.

[issue29410] Moving to SipHash-1-3

2021-10-05 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45371] distutil's runtime_library_dir (rpath) option doesn't work with clang

2021-10-05 Thread miss-islington
miss-islington added the comment: New changeset ef6196028f966f22d82930b66e1371e75c5df2f7 by Christian Heimes in branch 'main': bpo-45371: Fix distutils' rpath support for clang (GH-28732) https://github.com/python/cpython/commit/ef6196028f966f22d82930b66e1371e75c5df2f7 -- nosy:

[issue42914] pprint numbers with underscore

2021-10-05 Thread Stéphane Blondon
Stéphane Blondon added the comment: Python 3.10 has now been released with the underscore_numbers parameter. I wonder which release could enable the parameter by default (so it would break the previous behavior): - the next release (3.11) is probably too short. - the safest strategy is to

[issue45368] ~(True) and ~(False) gives incorrect result

2021-10-05 Thread Xavier Morel
Xavier Morel added the comment: > True is a boolean so ~True should return False according to me. That's be a BC break for no reason: if you want to invert a boolean you can just `not` it. > True is not the same as 1 For historical reasons, in Python it is: >>> bool.mro() [, , ] >>> True

[issue43466] ssl/hashlib: Add configure option to set or auto-detect rpath to OpenSSL libs

2021-10-05 Thread Chris Hills
Chris Hills added the comment: If I set LDFLAGS as with previous versions, it works as expected. I do not know if it is related, but I noticed that by default rpath does not get set for the files in DESTDIR/bin/* (e.g. python3.10 or pip3.10) hence the inclusion of

[issue45368] ~(True) and ~(False) gives incorrect result

2021-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45366] dataclass init=False field with default works but default_factory does not

2021-10-05 Thread Nikita Sobolev
Nikita Sobolev added the comment: Right now `dataclasses.py` has this explanation: https://github.com/python/cpython/blame/07cf10bafc8f6e1fcc82c10d97d3452325fc7c04/Lib/dataclasses.py#L962-L966 ``` if isinstance(getattr(cls, f.name, None), Field): if f.default is MISSING:

[issue45373] ./configure --enable-optimizations should enable LTO

2021-10-05 Thread STINNER Victor
STINNER Victor added the comment: Pablo: > IIRC activating lto is specially annoying on MacOS due to the need of some > llvm components that are a bit hard to get. Let me dig a bit to see if I > reproduce the problem Ah, I guess that you are referring to this requirement: "The C compiler

[issue45374] sqlite3: Add configure option to set or auto-detect rpath to sqlite3 libs

2021-10-05 Thread Christian Heimes
Change by Christian Heimes : -- components: +Build -Documentation type: -> enhancement versions: +Python 3.11 -Python 3.10 ___ Python tracker ___

[issue45371] distutil's runtime_library_dir (rpath) option doesn't work with clang

2021-10-05 Thread miss-islington
miss-islington added the comment: New changeset 3733dddecaa332966e200718d4993545f8e52247 by Miss Islington (bot) in branch '3.10': [3.10] bpo-45371: Fix distutils' rpath support for clang (GH-28732) (GH-28733) https://github.com/python/cpython/commit/3733dddecaa332966e200718d4993545f8e52247

[issue45370] Typo in pep-0636 page

2021-10-05 Thread Raúl Cumplido
Raúl Cumplido added the comment: Thanks! I have created a PR for it on the peps repo. https://github.com/python/peps/pull/2101 I can't seem to be able to link the Github PR correctly. Probably because it's not on the cpython repo. -- nosy: +raulcd

[issue45163] Haiku build fix

2021-10-05 Thread Ned Deily
Ned Deily added the comment: Thanks for the PR. However, it did introduce a breakage in certain builds due to unconditionally adding a check for libnetwork. For example, on older releases of macOS there is no libnetwork but building on newer systems it creates a dynamic load reference to a

[issue45163] Haiku build fix

2021-10-05 Thread Ned Deily
Change by Ned Deily : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44594] AsyncExitStack.enter_async_context() is mishandling exception __context__

2021-10-05 Thread miss-islington
miss-islington added the comment: New changeset 872b1e537e96d0dc4ff37c738031940b5d271366 by John Belmonte in branch '3.10': [3.10] bpo-44594: fix (Async)ExitStack handling of __context__ (gh-27089) (GH-28730) https://github.com/python/cpython/commit/872b1e537e96d0dc4ff37c738031940b5d271366

[issue45369] Remove LibreSSL workarounds

2021-10-05 Thread Christian Heimes
Change by Christian Heimes : -- title: Remove LibreSSL support -> Remove LibreSSL workarounds versions: +Python 3.10 ___ Python tracker ___

[issue45373] ./configure --enable-optimizations should enable LTO

2021-10-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: IIRC activating lto is specially annoying on MacOS due to the need of some llvm components that are a bit hard to get. Let me dig a bit to see if I reproduce the problem -- nosy: +pablogsal ___ Python

[issue45374] sqlite3: Add configure option to set or auto-detect rpath to sqlite3 libs

2021-10-05 Thread Chris Hills
New submission from Chris Hills : Similar to https://bugs.python.org/issue43466 for openssl, please add a configure option to set rpath for sqlite3. --with-sqlite-rpath= Ideally, when any dpeendency is discovered with pkg-config, the correct rpath should be set, but this would be a breaking

[issue45163] Haiku build fix

2021-10-05 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue45163] Haiku build fix

2021-10-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 0af08f343a7b792f527b78e2a35d9453039940c2 by Ned Deily in branch 'main': bpo-45163: Restrict added libnetwork check to builds on Haiku. (GH-28729) https://github.com/python/cpython/commit/0af08f343a7b792f527b78e2a35d9453039940c2

[issue45371] distutil's runtime_library_dir (rpath) option doesn't work with clang

2021-10-05 Thread Christian Heimes
Christian Heimes added the comment: Thanks for confirming that the fix works for you. The fix will be in 3.10.1, which should be released in early December. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python

[issue45372] Unwarranted "certificate has expired" when urlopen-ing R3 sites

2021-10-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 05.10.2021 12:48, Aivar Annamaa wrote: > > I can list the root certs with certmgr, but I'm not sure which piece to > investigate further. Check the certs in the LE chain as listed on the page you quoted and compare them to the working installation.

[issue42914] pprint numbers with underscore

2021-10-05 Thread Eric V. Smith
Eric V. Smith added the comment: The safest thing to do is never make it the default. It would always be an opt-in behavior. -- ___ Python tracker ___

[issue44594] AsyncExitStack.enter_async_context() is mishandling exception __context__

2021-10-05 Thread miss-islington
miss-islington added the comment: New changeset 7c2a040a10654d67ff543a55858ba2d7a9f7eea8 by John Belmonte in branch '3.9': [3.9] bpo-44594: fix (Async)ExitStack handling of __context__ (gh-27089) (GH-28731) https://github.com/python/cpython/commit/7c2a040a10654d67ff543a55858ba2d7a9f7eea8

[issue33125] Windows 10 ARM64 platform support

2021-10-05 Thread Niyas Sait
Niyas Sait added the comment: Python buildbot worker for woa is up and running as well https://buildbot.python.org/all/#/workers/45 Would be great to see official support and installer added for woa -- ___ Python tracker

[issue45378] Can't find "map" with search on docs.python.org

2021-10-05 Thread Guido van Rossum
New submission from Guido van Rossum : I was looking for the docs for 'map' and tried to use the search box on docs.python.org. This gave a lot of things whose name started with or contained 'map', but the entry for the builtin map() function was hidden really far down under the heading

[issue45378] Can't find "map" with search on docs.python.org

2021-10-05 Thread Raúl Cumplido
Change by Raúl Cumplido : -- nosy: +raulcd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45324] The frozen importer should capture info in find_spec().

2021-10-05 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +27087 pull_request: https://github.com/python/cpython/pull/28740 ___ Python tracker ___

[issue44050] [subinterpreters] _PyImport_FixupExtensionObject() regression in Python 3.9

2021-10-05 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +27088 pull_request: https://github.com/python/cpython/pull/28741 ___ Python tracker ___

[issue33125] Windows 10 ARM64 platform support

2021-10-05 Thread Steve Dower
Steve Dower added the comment: Yeah, we're getting close. I'll reopen this issue for tracking. We still need that pip release and it'll have to be merged into ensurepip. We'll also need better access to test systems than any of us currently have (the buildbot is great, but we need

[issue45020] Freeze all modules imported during startup.

2021-10-05 Thread Guido van Rossum
Guido van Rossum added the comment: Whoa. os.path is not always an alias for posixpath, is it? -- ___ Python tracker ___ ___

[issue45373] ./configure --enable-optimizations should enable LTO

2021-10-05 Thread Ned Deily
Ned Deily added the comment: > IIRC activating lto is specially annoying on MacOS due to the need of some > llvm components that are a bit hard to get Can you say more? We are currently using --with-lto with a vanilla Apple Command Line Tools (or Xcode) for macOS installer builds when

[issue45324] The frozen importer should capture info in find_spec().

2021-10-05 Thread Eric Snow
Change by Eric Snow : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45378] Can't find "map" with search on docs.python.org

2021-10-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm surprised no one else noticed this until now. The doc search finds some entries such as: "sum", "min", "max", and "enumerate". However, it is missing others such as: "map" and "filter". -- nosy: +rhettinger

[issue44050] [subinterpreters] _PyImport_FixupExtensionObject() regression in Python 3.9

2021-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d0d29655ffc43d426ad68542d8de8304f7f1346a by Miss Islington (bot) in branch '3.10': bpo-44050: Extension modules can share state when they don't support sub-interpreters. (GH-27794) (GH-28738)

[issue45020] Freeze all modules imported during startup.

2021-10-05 Thread Eric Snow
Eric Snow added the comment: New changeset 08285d563e64c179a56ab2f952345b3dbcdb54f3 by Eric Snow in branch 'main': bpo-45020: Identify which frozen modules are actually aliases. (gh-28655) https://github.com/python/cpython/commit/08285d563e64c179a56ab2f952345b3dbcdb54f3 --

[issue15870] PyType_FromSpec should take metaclass as an argument

2021-10-05 Thread Sebastian Berg
Sebastian Berg added the comment: Yeah, I will try and have a look. I had posted the patch, because the test looked like a bit of a larger chunk of work ;). > And I'm surprised that you're surprised :) :). I am coming from a completely different angle, probably. Just if you are curious,

[issue45324] The frozen importer should capture info in find_spec().

2021-10-05 Thread Eric Snow
Eric Snow added the comment: New changeset c3d9ac8b340fcbf54cee865737e67f11fcd70ed3 by Eric Snow in branch 'main': bpo-45324: Capture data in FrozenImporter.find_spec() to use in exec_module(). (gh-28633) https://github.com/python/cpython/commit/c3d9ac8b340fcbf54cee865737e67f11fcd70ed3

[issue45378] Can't find "map" with search on docs.python.org

2021-10-05 Thread Guido van Rossum
Guido van Rossum added the comment: > I'm surprised no one else noticed this until now. Most people probably just use Google and read whatever comes up. I was looking whether the official docs for map mentioned that map is actually an iterator class. (They don't.) --

[issue42327] Add PyModule_Add()

2021-10-05 Thread Łukasz Langa
Change by Łukasz Langa : -- nosy: +lukasz.langa nosy_count: 3.0 -> 4.0 pull_requests: +27089 pull_request: https://github.com/python/cpython/pull/28741 ___ Python tracker ___

[issue45375] Windows assertion in out-of-tree debug build

2021-10-05 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44050] [subinterpreters] _PyImport_FixupExtensionObject() regression in Python 3.9

2021-10-05 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the fix. I don't understand well this code :-( -- ___ Python tracker ___ ___

[issue45379] Improve errors related to frozen modules.

2021-10-05 Thread Eric Snow
New submission from Eric Snow : In Python/import.c there are various situations in which an error state related to frozen modules might result and even lead to an exception. In gh-28633 we consolidated these cases into a new "frozen_status" enum and added "set_frozen_error()" to set a

[issue45373] ./configure --enable-optimizations should enable LTO

2021-10-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Yeah, I had problems in the past to get llvm-ar or some other component. I still need time to reproduce and to see if this still happens on new versions. -- ___ Python tracker

[issue45373] ./configure --enable-optimizations should enable LTO

2021-10-05 Thread Ned Deily
Ned Deily added the comment: I don't think you need llvm-ar anymore with the Apple Tool Chain but let me look into it as I have all the relevant previous macOS releases as VMs to test with. -- ___ Python tracker

[issue39573] [C API] Avoid accessing PyObject and PyVarObject members directly: add Py_SET_TYPE() and Py_IS_TYPE(), disallow Py_TYPE(obj)=type

2021-10-05 Thread STINNER Victor
STINNER Victor added the comment: I wrote an article about these changes: https://vstinner.github.io/c-api-abstract-pyobject.html It elaborates the rationale for making these changes. -- ___ Python tracker

[issue45376] Run Windows release docs build on regular CI

2021-10-05 Thread Steve Dower
New submission from Steve Dower : Currently the release build of the CHM file runs on my dedicated build machine, which means there's no way to do a test run without starting the machine (normally clearing the code signing and PGO properties allows a build without needing it). Originally

[issue45354] test_winconsoleio fails on Windows 11

2021-10-05 Thread Steve Dower
Steve Dower added the comment: New changeset de4052fe0633e3a053e66c8477f13677054d6ede by Jeremy Kloth in branch 'main': bpo-45354: Skip obsolete device name tests on Windows 11 (GH-28712) https://github.com/python/cpython/commit/de4052fe0633e3a053e66c8477f13677054d6ede --

[issue45377] Default python 3 docs still pointing to 3.9.7

2021-10-05 Thread Raúl Cumplido
New submission from Raúl Cumplido : We are going to start the python 3.10 work on the python-docs-es and we have realised that when accessing: https://docs.python.org/3/ It is still redirecting to Python 3.9.7 documentation As Python 3.10 was released yesterday shouldn't the default docs point

[issue45367] Specialize BINARY_MULTIPLY

2021-10-05 Thread Ken Jin
Ken Jin added the comment: > (Windows doesn't want to install greenlet for pyperformance) I had the *exact* same issues, I eventually found a workaround for it after many hours spent guessing. Initially, setuptools complained that I needed MSVC++ 14.0 or later (even after I had the latest

[issue15870] PyType_FromSpec should take metaclass as an argument

2021-10-05 Thread Petr Viktorin
Petr Viktorin added the comment: > I am slightly surprised we actually care about static C-definitions? And I'm surprised that you're surprised :) AFAIK, supporting dynamically allocated specs/slots was an afterthought. I do agree they should be supported, though! Thanks for filing

[issue45354] test_winconsoleio fails on Windows 11

2021-10-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +27085 pull_request: https://github.com/python/cpython/pull/28737 ___ Python tracker ___

[issue45354] test_winconsoleio fails on Windows 11

2021-10-05 Thread Steve Dower
Steve Dower added the comment: New changeset d0d0909a3a0b553826d1ddbb04a676fdabb61359 by Miss Islington (bot) in branch '3.10': bpo-45354: Skip obsolete device name tests on Windows 11 (GH-28712) https://github.com/python/cpython/commit/d0d0909a3a0b553826d1ddbb04a676fdabb61359 --

[issue45354] test_winconsoleio fails on Windows 11

2021-10-05 Thread Steve Dower
Change by Steve Dower : -- stage: backport needed -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue45354] test_winconsoleio fails on Windows 11

2021-10-05 Thread miss-islington
miss-islington added the comment: New changeset 63c9a6cc8b48740c88199b5150c9948b1a61756b by Miss Islington (bot) in branch '3.9': bpo-45354: Skip obsolete device name tests on Windows 11 (GH-28712) https://github.com/python/cpython/commit/63c9a6cc8b48740c88199b5150c9948b1a61756b --

[issue45367] Specialize BINARY_MULTIPLY

2021-10-05 Thread Dennis Sweeney
Dennis Sweeney added the comment: Hm the above was not PGO. I tried again with PGO and it is not so good: Mean +- std dev: [nbody_main_pgo] 177 ms +- 4 ms -> [nbody_specialized_pgo] 190 ms +- 2 ms: 1.07x slower Mean +- std dev: [pidigits_main_pgo] 208 ms +- 1 ms ->

[issue45375] Windows assertion in out-of-tree debug build

2021-10-05 Thread Steve Dower
Steve Dower added the comment: New changeset 5146877623ebe8a2806411703b0de9c0aba179a1 by Steve Dower in branch 'main': bpo-45375: Fix assertion failure due to searching for stdlib in unnormalised paths (GH-28735)

[issue45375] Windows assertion in out-of-tree debug build

2021-10-05 Thread Steve Dower
Steve Dower added the comment: I believe this is because getpath has hit its final fallback case of looking in ".\DLLs" and ".\Lib" for the standard library, and has not performed proper normalisation on these paths. So after removing the last segment, the result is "." which does not end

[issue44050] [subinterpreters] _PyImport_FixupExtensionObject() regression in Python 3.9

2021-10-05 Thread miss-islington
miss-islington added the comment: New changeset b9bb74871b27d9226df2dd3fce9d42bda8b43c2b by Hai Shi in branch 'main': bpo-44050: Extension modules can share state when they don't support sub-interpreters. (GH-27794)

[issue44050] [subinterpreters] _PyImport_FixupExtensionObject() regression in Python 3.9

2021-10-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +27086 pull_request: https://github.com/python/cpython/pull/28738 ___ Python tracker ___

[issue45362] dis does not work with the new optimized ops

2021-10-05 Thread Ken Jin
Ken Jin added the comment: Closing this issue as the behavior in dis module is as intended. For any potential issues to 3rd party packages discovered in the future, consider opening an issue in that package's issue tracker, or submitting a brand new issue to bugs.python.org. --

[issue45375] Windows assertion in out-of-tree debug build

2021-10-05 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +27083 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28735 ___ Python tracker ___

[issue45354] test_winconsoleio fails on Windows 11

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

[issue45375] Windows assertion in out-of-tree debug build

2021-10-05 Thread Steve Dower
New submission from Steve Dower : As seen in the release build for 3.11a1, an assertion is raised when attempting to launch the debug build out of tree. _RegenTestFrozenmain: Regenerate test_frozenmain.h D:\a\1\b\bin\amd64\python_d.exe

[issue45354] test_winconsoleio fails on Windows 11

2021-10-05 Thread Steve Dower
Steve Dower added the comment: Thanks, Jeremy! And thanks for being on top of getting the Win11 buildbot set up! -- resolution: -> fixed stage: patch review -> backport needed versions: +Python 3.10, Python 3.11, Python 3.9 ___ Python tracker

[issue45380] help() appears confused about the module of typing.Annotated

2021-10-05 Thread Alex Waygood
New submission from Alex Waygood : `help()` appears confused about the module of `typing.Annotated`. If you call `help()` on a parameterised "instance" of `typing.Annotated`, it will claim that `Annotated` belongs to whatever module the annotated type is from. Additionally, `help()` appears

[issue45381] IDLE cannot kill process. "interupt" ctl+c and "restart shell" freeze program.

2021-10-05 Thread A A
New submission from A A : Idle3 with python 3.7.3 on Debian Buster and XFCE. Attempting to run the line 'print ("Hello World" * 8**8)' from either the Idle shell window or Idle editor will cause Idle to hang and one CPU core runs 100%.(allowed it to run for several minutes) ctl+c or menu

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

2021-10-05 Thread Alex Zaslavskis
New submission from Alex Zaslavskis : I am updated to windows 11 . Now I am trying to write script that will detect is user use windows 11 or windows 10 . I was using the simplest way as possible: import platform print(platform.platform()) The result I got is : Windows-10-10.0.22000-SP0

[issue44050] [subinterpreters] _PyImport_FixupExtensionObject() regression in Python 3.9

2021-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Hai Shi! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

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

2021-10-05 Thread Alex Zaslavskis
Alex Zaslavskis added the comment: The platform.win32_ver() returns same answer -- ___ Python tracker ___ ___ Python-bugs-list

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

2021-10-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 05.10.2021 22:30, Steve Dower wrote: > The version number for "Windows 11" still starts with 10.0. Just like how > Windows 5.x and 6.x were around for a very long time each ;) > > There are tables in platform module that map the specific version to

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

2021-10-05 Thread Alex Zaslavskis
Alex Zaslavskis added the comment: The bug comes from Microsoft terminal bug : If I type there : ver it will return Microsoft Windows [Version 10.0.22000.194] only one patch is if that will check the build . so : info = subprocess.check_output(cmd,

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

2021-10-05 Thread Alex Zaslavskis
Alex Zaslavskis added the comment: demo.py contains dirty hack that can be used as a fix for some time before microsoft will not fix it. -- Added file: https://bugs.python.org/file50327/demo.py ___ Python tracker

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

2021-10-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: win32_ver() should be using the internal Windows APIs to figure out the version. I do wonder why those don't return the same version as the "ver" command line tool. Adding our Windows experts to the noisy list. -- nosy: +lemburg, paul.moore,

[issue44050] [subinterpreters] _PyImport_FixupExtensionObject() regression in Python 3.9

2021-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 52d9d3b75441ae6038fadead89eac5eecdd34501 by Łukasz Langa in branch '3.9': [3.9] bpo-44050: Extension modules can share state when they don't support sub-interpreters. (GH-27794) (GH-28741)

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

2021-10-05 Thread Steve Dower
Steve Dower added the comment: The version number for "Windows 11" still starts with 10.0. Just like how Windows 5.x and 6.x were around for a very long time each ;) There are tables in platform module that map the specific version to the release name. These probably need to be updated to

[issue40321] urllib.request does not support HTTP response status code 308

2021-10-05 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +27095 pull_request: https://github.com/python/cpython/pull/28750 ___ Python tracker

[issue40321] urllib.request does not support HTTP response status code 308

2021-10-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +27096 pull_request: https://github.com/python/cpython/pull/28751 ___ Python tracker ___

[issue40321] urllib.request does not support HTTP response status code 308

2021-10-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset c379bc5ec9012cf66424ef3d80612cf13ec51006 by Jochem Schulenklopper in branch 'main': bpo-40321: Support HTTP response status code 308 in urllib.request (#19588) https://github.com/python/cpython/commit/c379bc5ec9012cf66424ef3d80612cf13ec51006

  1   2   >