[issue45386] xmlrpc.client unimportable due to strfmt ValueError

2021-10-05 Thread R
New submission from R : This is a problem caused by https://bugs.python.org/issue13305. When running python in SerenityOS (https://serenityos.org/), the xmlrpc.client module fails to be imported. This is because the code that decides which format to use for getting 4-digit years, which issues

[issue45361] Provide a more convenient way to set an exception as "active", from Python code

2021-10-05 Thread Guido van Rossum
Guido van Rossum added the comment: Do you think the API you're looking for is available at the C level? Like PyErr_SetExcInfo()? -- ___ Python tracker ___ __

[issue29410] Moving to SipHash-1-3

2021-10-05 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +27097 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28752 ___ Python tracker ___ _

[issue45330] dulwich_log performance regression in 3.10

2021-10-05 Thread Inada Naoki
Inada Naoki added the comment: I can not confirm performance regression between 33ec88ac and 23ae2c3b. ``` Performance version: 1.0.2 Python version: 3.10.0a7+ (64-bit) revision 33ec88ac81 Report on Linux-5.4.0-81-generic-x86_64-with-glibc2.31 Number of logical CPUs: 8 Start date: 2021-10-06 1

[issue44998] macOS build test failure

2021-10-05 Thread Ned Deily
Ned Deily added the comment: > /Library/Developer/CommandLineTools/usr/bin/make build_all_merge_profile > /usr/local/bin/llvm-profdata merge -output=code.profclangd *.profclangr It looks like your build was trying to use a mixture of llvm tools, probably clang from the Apple-supplied Command

[issue45381] IDLE: "restart shell" while receiving output disables program

2021-10-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> needs patch title: IDLE cannot kill process. "interupt" ctl+c and "restart shell" freeze program. -> IDLE: "restart shell" while receiving output disables program versions: +Python 3.11 -Python 3.7 ___ Python

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

2021-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE uses tk/tkinter text widgets for Editor and Shell windows. A known downside of this is that long lines, greater than about 2000 chars, slow down scrolling. See #1442493 for instance. Part of the Squeezer feature was meant to alleviate this by squeezing

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

[issue45385] Fix possible reference leak from descr_check

2021-10-05 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +27094 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28719 ___ Python tracker ___

[issue45385] Fix possible reference leak from descr_check

2021-10-05 Thread Dong-hee Na
New submission from Dong-hee Na : Report from @kj: https://github.com/python/cpython/pull/28719#discussion_r721249643 -- components: Interpreter Core messages: 403282 nosy: corona10, kj, vstinner priority: normal severity: normal status: open title: Fix possible reference leak from des

[issue45335] Default TIMESTAMP converter in sqlite3 ignores UTC offset

2021-10-05 Thread Ian Fisher
Ian Fisher added the comment: Okay, I started a discussion here: https://discuss.python.org/t/fixing-sqlite-timestamp-converter-to-handle-utc-offsets/10985 -- ___ Python tracker

[issue45357] Idle does not check user config for extention configuration

2021-10-05 Thread CoolCat467
Change by CoolCat467 : -- nosy: +taleinat, terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue45377] Default python 3 docs still pointing to 3.9.7

2021-10-05 Thread Eric V. Smith
Eric V. Smith added the comment: You should report this at https://github.com/python/pythondotorg/issues -- nosy: +eric.smith resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

[issue45335] Default TIMESTAMP converter in sqlite3 ignores UTC offset

2021-10-05 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: > I'd be interested in working on this myself, if you think it's something that > a new CPython contributor could handle. Please, go ahead :) However, I think this should be discussed on Discourse first (open a topic in the Core Development category). -

[issue45335] Default TIMESTAMP converter in sqlite3 ignores UTC offset

2021-10-05 Thread Ian Fisher
Ian Fisher added the comment: > Another option could be to deprecate the current behaviour and then change it > to being timezone aware in Python 3.13. This sounds like the simplest option. I'd be interested in working on this myself, if you think it's something that a new CPython contribut

[issue45384] Accept Final as indicating ClassVar for dataclass

2021-10-05 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue45384] Accept Final as indicating ClassVar for dataclass

2021-10-05 Thread Gregory Beauregard
Change by Gregory Beauregard : -- type: enhancement -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue45384] Accept Final as indicating ClassVar for dataclass

2021-10-05 Thread Gregory Beauregard
New submission from Gregory Beauregard : PEP 591 for the Final Attribute states "Type checkers should infer a final attribute that is initialized in a class body as being a class variable. Variables should not be annotated with both ClassVar and Final." This is a bit of a typing conflict for

[issue45343] Update bundled pip to 21.2.4 and setuptools to 58.1.0

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

[issue45343] Update bundled pip to 21.2.4 and setuptools to 58.1.0

2021-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1374459c9088725e022beab418bced96a825baad by Łukasz Langa in branch '3.9': [3.9] bpo-45343: Update bundled pip to 21.2.4 and setuptools to 58.1.0 (GH-28684) (GH-28747) https://github.com/python/cpython/commit/1374459c9088725e022beab418bced96a825baa

[issue45343] Update bundled pip to 21.2.4 and setuptools to 58.1.0

2021-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 325e4647afffe347cc20747f3dccc6ba9e782636 by Miss Islington (bot) in branch '3.10': bpo-45343: Update bundled pip to 21.2.4 and setuptools to 58.1.0 (GH-28684) (GH-28746) https://github.com/python/cpython/commit/325e4647afffe347cc20747f3dccc6ba9e78

[issue45383] PyType_FromSpec API fails to use metaclass of bases

2021-10-05 Thread Sebastian Berg
New submission from Sebastian Berg : The PyType_FromSpec fails to take care about MetaClasses. https://bugs.python.org/issue15870 Asks to create a new API to pass in the MetaClass. This issue is only about "inheriting" the metaclass of the bases correctly. Currently, Python fails to t

[issue45343] Update bundled pip to 21.2.4 and setuptools to 58.1.0

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

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

2021-10-05 Thread Zachary Ware
Change by Zachary Ware : -- nosy: +eryksun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

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

2021-10-05 Thread Steve Dower
Steve Dower added the comment: > Hmm, but the "ver" output seems to have more information than those APIs. It's always had build numbers, which the regular APIs do not, because the regular APIs are meant for detecting incompatibilities rather than reporting. Since there are some incompatibil

[issue45343] Update bundled pip to 21.2.4 and setuptools to 58.1.0

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

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

2021-10-05 Thread Eryk Sun
Eryk Sun added the comment: The _WIN32_CLIENT_RELEASES table based on major.minor version number isn't helpful since Windows 10 and 11 have the same version number. win32_ver() needs a workaround to return release "11" if the build number is 22000 or greater. Is there any need/desire to also

[issue45343] Update bundled pip to 21.2.4 and setuptools to 58.1.0

2021-10-05 Thread Łukasz Langa
New submission from Łukasz Langa : New changeset 4c8d543823dde5a30615da61727837a48f7ab847 by Illia Volochii in branch 'main': bpo-45343: Update bundled pip to 21.2.4 and setuptools to 58.1.0 (GH-28684) https://github.com/python/cpython/commit/4c8d543823dde5a30615da61727837a48f7ab847 -

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

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

[issue45335] Default TIMESTAMP converter in sqlite3 ignores UTC offset

2021-10-05 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: > [...] if sqlite3 starts returning aware datetimes, existing code might break. True. > [...] perhaps this could be fixed in conjunction with changing sqlite3's API > to allow per-database converters and adapters Another option could be to deprecate the

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

[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) https://github.com/python/cpython/commit/52d9d3b75441ae603

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

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

[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 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: The platform.win32_ver() returns same answer -- ___ Python tracker ___ ___ Python-bugs-list mai

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

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

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

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

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

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

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

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

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

[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

[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) https://github.com/python/cpython/commit/d0d29655ffc43d

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

[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

[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

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

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

[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 Raúl Cumplido
Change by Raúl Cumplido : -- nosy: +raulcd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

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

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

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

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

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

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

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

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

[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) https://github.com/python/cpython/commit/b9bb74871b27d9226df2dd3fce9d42bda8b

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

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

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

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

[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) https://github.com/python/cpython/commit/5146877623ebe8a2806411703b0de9c0aba179

[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

[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

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

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

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

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

[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 bpo-45315,

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

[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 Programs\freeze_test_frozenmain.p

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

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

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

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

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

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

[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

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

[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

[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) https://github.com/python/cpython/commit/bd627eb7ed08a891dd1356756feb1ce2600358e4

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

[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

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

[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

  1   2   >