[issue43292] xml.ElementTree iterparse filehandle left open

2022-03-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +29836 pull_request: https://github.com/python/cpython/pull/31721 ___ Python tracker ___

[issue43292] xml.ElementTree iterparse filehandle left open

2022-03-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +29835 pull_request: https://github.com/python/cpython/pull/31720 ___ Python tracker

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-03-07 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: FTR: $ strings /lib/x86_64-linux-gnu/libtcl8.6.so | grep -E "\" Tcl_Init $ strings /lib/x86_64-linux-gnu/libtk8.6.so | grep -E "\" Tk_Init -- ___ Python tracker

[issue39355] The Python library will not compile with a C++2020 compiler because the code uses the reserved “module” keyword

2022-03-07 Thread Keith
Keith added the comment: Compile with a compiler supporting the C++20 core feature (Modules) https://en.cppreference.com/w/cpp/compiler_support In visual studio, use C/C++ > Language > CPP Language Standard > C++20 or higher On Mon, Mar 7, 2022 at 5:32 PM STINNER Victor wrote: > > STINNER

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-03-07 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Regarding _tkinter (Tcl/Tk): Based on discussion on Discourse (https://discuss.python.org/t/simplifying-tcl-tk-detection/14066), my current plan is to just use pkg-config, and drop the rest of the autodetect hackery. GH-31698 sort'a works given that

[issue43292] xml.ElementTree iterparse filehandle left open

2022-03-07 Thread miss-islington
miss-islington added the comment: New changeset 8acbb93c0763fa53b5959fe05d86ba275c9e8a5b by Miss Islington (bot) in branch '3.10': bpo-43292: Fix file leak in `ET.iterparse()` when not exhausted (GH-31696) https://github.com/python/cpython/commit/8acbb93c0763fa53b5959fe05d86ba275c9e8a5b

[issue46942] Convert Object/classobject.c to Argument Clinic

2022-03-07 Thread Oleg Iarygin
Change by Oleg Iarygin : -- keywords: +patch pull_requests: +29834 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31711 ___ Python tracker ___

[issue46942] Convert Object/classobject.c to Argument Clinic

2022-03-07 Thread Oleg Iarygin
New submission from Oleg Iarygin : - Convert method.__reduce__, method.__new__, and instancemethod.__new__ to AC. It looks like nothing else can be converted in classobject.c. This is my first time working with AC so I could make some mistakes. - Fix found mismatches in method.__new__

[issue46937] convert remaining functions to AC in _weakref

2022-03-07 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 5c06dba21b9767127f042b8a168703f06338c3f4 by Kumar Aditya in branch 'main': bpo-46937: convert remaining functions to AC in _weakref (GH-31705) https://github.com/python/cpython/commit/5c06dba21b9767127f042b8a168703f06338c3f4 --

[issue46937] convert remaining functions to AC in _weakref

2022-03-07 Thread Dong-hee Na
Change by Dong-hee Na : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-03-07 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: FYI, tested GH-31698 on Debian 10.3, and it works swell there. -- ___ Python tracker ___ ___

[issue46341] duplicate paragraphs - asyncio Coroutines and Tasks file

2022-03-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> Fix incorrect use of directives in asyncio documentation ___ Python tracker

[issue43292] xml.ElementTree iterparse filehandle left open

2022-03-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 496c428de3318c9c5770937491b71dc3d3f18a6a by Jacob Walls in branch 'main': bpo-43292: Fix file leak in `ET.iterparse()` when not exhausted (GH-31696) https://github.com/python/cpython/commit/496c428de3318c9c5770937491b71dc3d3f18a6a

[issue39355] The Python library will not compile with a C++2020 compiler because the code uses the reserved “module” keyword

2022-03-07 Thread STINNER Victor
STINNER Victor added the comment: > The Python library will not compile with a C++2020 compiler because the code > uses the reserved “module” keyword What is the error message? How can the error be reproduced? -- ___ Python tracker

[issue46341] duplicate paragraphs - asyncio Coroutines and Tasks file

2022-03-07 Thread Kumar Aditya
Change by Kumar Aditya : -- versions: +Python 3.11 -Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46341] duplicate paragraphs - asyncio Coroutines and Tasks file

2022-03-07 Thread Kumar Aditya
New submission from Kumar Aditya : This has been fixed in GH-31388. This can be closed now. -- nosy: +AlexWaygood, kumaraditya303 ___ Python tracker ___

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-03-07 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: > GH-31698 sort'a works given that pkg-config provides us with correct info. > Sadly it doesn't for Ubuntu [...] Hm, looking more closely at Ubuntu (20.4), I see that the pkg-config files is actually correct. I'll have to debug this further; perhaps

[issue45317] Document the removal the usage of the C stack in Python to Python calls

2022-03-07 Thread Mark Shannon
Mark Shannon added the comment: I don't think this needs to block the alpha release -- priority: release blocker -> deferred blocker ___ Python tracker ___

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-03-07 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Solved: Ubuntu is fine, we just need to treat LIBS and LDFLAGS with care in configure.ac. GH-31698 is updated with a fix. -- ___ Python tracker

[issue46912] Full gc collection blocked from collecting after some amount of objects in oldest gen

2022-03-07 Thread Alexei Komarov
Alexei Komarov added the comment: Oh, I see it now. I've been missing the fact that long_lived_pending is accumulated each 1st gen collection until full collection. Thanks! -- stage: -> resolved status: open -> closed ___ Python tracker

[issue46925] Document dict behavior when setting equal but not identical key

2022-03-07 Thread Jarek Potiuk
Jarek Potiuk added the comment: Yeah. Sounds like adding docs is indeed needed :) -- ___ Python tracker ___ ___ Python-bugs-list

[issue46890] venv does not create "python" link in python 3.11

2022-03-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: I have a patch that seems to do the right thing. It required adding WITH_NEXT_FRAMEWORK to the globals when evaluating getpath.py to detect this scenario. There probably should be more tests, in particular a test for a virtual environment using a

[issue46940] Suggestion messages don't properly work in nested getattr calls

2022-03-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 3b3be05a164da43f201e35b6dafbc840993a4d18 by Pablo Galindo Salgado in branch 'main': bpo-46940: Don't override existing AttributeError suggestion information (GH-31710)

[issue43292] xml.ElementTree iterparse filehandle left open

2022-03-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +Library (Lib) resolution: -> fixed stage: patch review -> resolved status: open -> closed superseder: Add the close method for ElementTree.iterparse() object -> versions: +Python 3.10, Python 3.11 ___

[issue46933] Make pwd module optional for wasm32-emscripten and wasi

2022-03-07 Thread Christian Heimes
Christian Heimes added the comment: New changeset ca9689f8dac01d27e041e1dbbdae146746d48ab3 by Christian Heimes in branch 'main': bpo-46933: Make pwd module optional (GH-31700) https://github.com/python/cpython/commit/ca9689f8dac01d27e041e1dbbdae146746d48ab3 --

[issue46890] venv does not create "python" link in python 3.11

2022-03-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've attached a new patch file with some more tweaks, including the additional test case from msg414665. I've pretty sure that the changes to getpath.py are slightly worse in the new version, but aren't fully correct in the initial version as well (see my

[issue46944] Use FASTCALL calling convention in generator.throw

2022-03-07 Thread Kumar Aditya
New submission from Kumar Aditya : Use FASTCALL calling convention in generator.throw to avoid creating a temporary tuple to pass arguments to the function. -- components: Interpreter Core messages: 414660 nosy: Mark.Shannon, kumaraditya303 priority: normal pull_requests: 29839

[issue46940] Suggestion messages don't properly work in nested getattr calls

2022-03-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +29840 pull_request: https://github.com/python/cpython/pull/31724 ___ Python tracker ___

[issue46910] Expect IndentationError, get SyntaxError: 'break' outside loop

2022-03-07 Thread Jonathan Fine
Jonathan Fine added the comment: My main concern is that the door not be closed on improving the user experience relating to this behaviour of the compiler. This issue was raised as a bug for the compiler (which is C-coded). I'd be very happy for this issue to be closed as 'not a bug' for

[issue46947] unicodedata.name gives ValueError for control characters

2022-03-07 Thread Joe Cool
New submission from Joe Cool : unicodedata.name gives ValueError for control characters, for example: >>> unicodedata.name('\x00') Traceback (most recent call last): File "", line 1, in ValueError: no such name >>> unicodedata.name('\t') Traceback (most recent call last): File "", line 1,

[issue46940] Suggestion messages don't properly work in nested getattr calls

2022-03-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46890] venv does not create "python" link in python 3.11

2022-03-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is also dodgy: test_framework_macos (test.test_getpath.MockGetPathTests) ... Read link from /Library/Frameworks/Python.framework/Versions/9.8/Resources/Python.app/Contents/MacOS/Python Check if

[issue46945] Quantifier and Expanded Regex Expression Gives Different Results

2022-03-07 Thread Vivian D
New submission from Vivian D : Here are the steps that I went through to test my regular expressions in my command prompt (a file attachment shows this as well). I am using Windows 11, version 21H2: >>> import re >>> regex = r"(((\w)+\w*\3){2}|(\w)+(?=\w*\4)\w*(?!\4)(\w)\w*\5)\w*" >>>

[issue46890] venv does not create "python" link in python 3.11

2022-03-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm now in the fun position where the code works, but the test test_getpath.py fails. The test case below tries to test a venv in a framework build, but somehow fails to calculate prefix and exec_prefix correctly. The calculation does work when using a

[issue46943] fix[imaplib]: call Exception with string instance

2022-03-07 Thread SpaceOne
New submission from SpaceOne : imaplib raises an Exception with a bytes instance once (in login()) - all other places str instances are raised. Adjust the behavior of login() similar to authenticate() where self.error is called with a str instance. Especially for Python3 with strict bytes

[issue46933] Make pwd module optional for wasm32-emscripten and wasi

2022-03-07 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46940] Suggestion messages don't properly work in nested getattr calls

2022-03-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 3594ebca2cacf5d9b5212d2c487fd017cd00e283 by Pablo Galindo Salgado in branch '3.10': [3.10] bpo-46940: Don't override existing AttributeError suggestion information (GH-31710) (GH-31724)

[issue46946] Port core types to Argument Clinic

2022-03-07 Thread Oleg Iarygin
New submission from Oleg Iarygin : This is done to: - update docstrings to current standards enforced by AC - get proper naming for arguments of impl-functions (for example, self instead of obj and instance) - strip boilerplate reducing current 16k lines of code to something little more

[issue46946] Port core types to Argument Clinic

2022-03-07 Thread Oleg Iarygin
Change by Oleg Iarygin : -- keywords: +patch pull_requests: +29841 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31725 ___ Python tracker ___

[issue46910] Compiler errors that happen before syntax errors are not reported first

2022-03-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > My main concern is that the door not be closed on improving the user > experience relating to this behaviour of the compiler. Is not closed, if someone has a good idea they can reopen this issue (the issue is not deleted). > By the way, I see these

[issue46945] Quantifier and Expanded Regex Expression Gives Different Results

2022-03-07 Thread Vedran Čačić
Vedran Čačić added the comment: Confirmed. On Python 3.10.2, >>> re.findall(r"(((\w)+\w*\3){2}|(\w)+(?=\w*\4)\w*(?!\4)(\w)\w*\5)\w*",'alabama') [] yet https://regex101.com/r/uT8gag/1 (with "Python" selected) says it should match. -- nosy: +veky

[issue46943] fix[imaplib]: call Exception with string instance

2022-03-07 Thread SpaceOne
Change by SpaceOne : -- keywords: +patch pull_requests: +29837 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31722 ___ Python tracker ___

[issue43292] xml.ElementTree iterparse filehandle left open

2022-03-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 852d9b77abefcad2bb8d203e3ab9f2ca49ab305f by Miss Islington (bot) in branch '3.9': [3.9] bpo-43292: Fix file leak in `ET.iterparse()` when not exhausted (GH-31696) (GH-31720)

[issue46374] Assertion failed in ceval.c

2022-03-07 Thread Kumar Aditya
Change by Kumar Aditya : -- resolution: -> fixed stage: -> resolved status: pending -> closed ___ Python tracker ___ ___

[issue46936] Fix grammar_grapher with the new forced directive

2022-03-07 Thread Luca
Change by Luca : -- pull_requests: +29842 pull_request: https://github.com/python/cpython/pull/31719 ___ Python tracker ___ ___

[issue46936] Fix grammar_grapher with the new forced directive

2022-03-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-07 Thread Steve Dower
New submission from Steve Dower : CVE-2022-26488 is an escalation of privilege vulnerability in the Windows installer for the following releases of CPython: * 3.11.0a6 and earlier * 3.10.2 and earlier * 3.9.10 and earlier * 3.8.12 and earlier * All end-of-life releases of 3.5, 3.6 and 3.7

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +29847 pull_request: https://github.com/python/cpython/pull/31730 ___ Python tracker ___

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Steve Dower added the comment: cpython-source-deps was updated middle of last year, but apparently we never merged the main repo change to use it. I'll do it now. -- ___ Python tracker

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Steve Dower added the comment: Adding RMs - this should get merged before we do any security releases for issue46948 -- nosy: +lukasz.langa, pablogsal versions: +Python 3.7, Python 3.8 ___ Python tracker

[issue46950] Windows 11 venv

2022-03-07 Thread Darrel O'Pry
New submission from Darrel O'Pry : I created a virtual env on windows 11. When I run pip install -r "..." I get the error ``` C:\Users\dopry\src\Client\some.domain.com\django> pip install -r .\requirements_to_freeze.txt Traceback (most recent call last): File

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +29850 pull_request: https://github.com/python/cpython/pull/31733 ___ Python tracker ___

[issue46945] Quantifier and Expanded Regex Expression Gives Different Results

2022-03-07 Thread Eric V. Smith
Change by Eric V. Smith : -- components: +Regular Expressions -Library (Lib) nosy: +ezio.melotti, mrabarnett ___ Python tracker ___

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Ned Deily
Ned Deily added the comment: New changeset 4a3c610cd635f14747cf02c77908e80620aae6ea by Steve Dower in branch '3.7': bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900 (GH-31732) (GH-31735)

[issue46841] Inline bytecode caches

2022-03-07 Thread Brandt Bucher
Brandt Bucher added the comment: New changeset f193631387bfee99a812e39b05d5b7e6384b57f5 by Brandt Bucher in branch 'main': bpo-46841: Use inline caching for calls (GH-31709) https://github.com/python/cpython/commit/f193631387bfee99a812e39b05d5b7e6384b57f5 --

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +29846 pull_request: https://github.com/python/cpython/pull/31729 ___ Python tracker ___

[issue46949] Print an indication if traceback exceeds sys.tracebacklimit

2022-03-07 Thread Jelle Zijlstra
New submission from Jelle Zijlstra : If the number of frames in a traceback exceeds sys.tracebacklimit (which defaults to 1000), any remaining frames are silently dropped. See https://docs.python.org/3.10/library/sys.html#sys.tracebacklimit. This is confusing to users. We should print some

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-07 Thread Steve Dower
Steve Dower added the comment: Yeah, this is fine to still be in alpha 6. Very unlikely that anyone is making it a system-wide default anyway, and certainly not in secure/production systems. -- ___ Python tracker

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-07 Thread Steve Dower
Steve Dower added the comment: New changeset 77446d2aa56e9e3262d9d22473420ff5e907 by Steve Dower in branch 'main': bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer correctly uses the install path during repair (GH-31726)

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-07 Thread Steve Dower
Steve Dower added the comment: New changeset 136842c91b5783e205e217c4855baa9dadd4ad41 by Steve Dower in branch '3.10': bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer correctly uses the install path during repair (GH-31727)

[issue41370] PEP 585 and ForwardRef

2022-03-07 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset b465b606049f6f7dd0711cb031fdaa251818741a by Niklas Rosenstein in branch 'main': bpo-41370: Evaluate strings as forward refs in PEP 585 generics (GH-30900) https://github.com/python/cpython/commit/b465b606049f6f7dd0711cb031fdaa251818741a

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Ned Deily
Change by Ned Deily : -- priority: critical -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46932] Please update bundled libexpat to 2.4.7 with an important fix

2022-03-07 Thread Ned Deily
Ned Deily added the comment: We haven't released 2.4.6 yet for maintenance/security branches so we probably should update to 2.4.7 first. -- nosy: +corona10, lukasz.langa, ned.deily, pablogsal priority: normal -> release blocker ___ Python tracker

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +29844 pull_request: https://github.com/python/cpython/pull/31727 ___ Python tracker ___

[issue46890] venv does not create "python" link in python 3.11

2022-03-07 Thread Steve Dower
Steve Dower added the comment: > I have a patch that seems to do the right thing. It required adding > WITH_NEXT_FRAMEWORK to the globals when evaluating getpath.py to detect this > scenario. I haven't had a chance to go through all your changes, and I'm only very vaguely familiar with

[issue46949] Print an indication if traceback exceeds sys.tracebacklimit

2022-03-07 Thread Guido van Rossum
Guido van Rossum added the comment: There is general confusion as to which part of the traceback is truncated. If I have main() -> f() -> g() -> error(), and the limit is 2, does it print main() -> f(), or does it print g() -> error()? (I'm not even sure which would be more useful.) FWIW

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +29851 pull_request: https://github.com/python/cpython/pull/31734 ___ Python tracker ___

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +29852 pull_request: https://github.com/python/cpython/pull/31735 ___ Python tracker ___

[issue46913] UBSAN: test_ctypes, test_faulthandler and test_hashlib are failing

2022-03-07 Thread Martin Panter
Martin Panter added the comment: The ctypes overflow is probably the same as described in Issue 28169 and Issue 15119 -- nosy: +martin.panter ___ Python tracker ___

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +29845 pull_request: https://github.com/python/cpython/pull/31728 ___ Python tracker ___

[issue46949] Print an indication if traceback exceeds sys.tracebacklimit

2022-03-07 Thread Eric V. Smith
Eric V. Smith added the comment: If you go with the second idea, I'd say something like f"More than {2 * tracebacklimit} additional stack frames not shown". It seems handy to know the magnitude of the problem. -- nosy: +eric.smith ___ Python

[issue46744] installers on ARM64 suggest wrong folders

2022-03-07 Thread Steve Dower
Steve Dower added the comment: Good call on the batch file. It should be easy enough to make those options case-insensitive, and to support both forms of x86 flag. I'll leave this issue open for that if someone wants to have a go, otherwise I'll get to them at some point. --

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Steve Dower added the comment: New changeset 105b9ac00174d7bcc653f9e9dc5052215e197c77 by Steve Dower in branch 'main': bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900 (GH-31731)

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Steve Dower added the comment: New changeset 58d576a43cb1800dd68f06a429d7d41f746a8c01 by Steve Dower in branch '3.10': bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900 (GH-31732)

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +29843 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/31726 ___ Python tracker

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The 3.11.0a6 release is ongoing. I assume is ok to not block this release on this issue, given that an alpha is inherently unsafe -- ___ Python tracker

[issue46949] Print an indication if traceback exceeds sys.tracebacklimit

2022-03-07 Thread Irit Katriel
Irit Katriel added the comment: Re what the limit means, it’s a bit messier than that, see issue38197. -- ___ Python tracker ___

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +29849 pull_request: https://github.com/python/cpython/pull/31732 ___ Python tracker ___

[issue46949] Print an indication if traceback exceeds sys.tracebacklimit

2022-03-07 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: It skips the least recent frames: >>> def error(): 1 / 0 ... >>> def g(): error() ... >>> def f(): g() ... >>> sys.tracebacklimit = 2 >>> f() Traceback (most recent call last): File "", line 1, in g File "", line 1, in error ZeroDivisionError: division

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-07 Thread Steve Dower
Steve Dower added the comment: New changeset 101a1bee1953b82339115c5e648e1717359c78eb by Steve Dower in branch '3.9': bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer correctly uses the install path during repair (GH-31728)

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-07 Thread Ned Deily
Ned Deily added the comment: New changeset 97476271275a4bd1340230677b7301d7b78b3317 by Steve Dower in branch '3.7': bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer correctly uses the install path during repair (GH-31730)

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +29848 pull_request: https://github.com/python/cpython/pull/31731 ___ Python tracker ___

[issue46932] Please update bundled libexpat to 2.4.7 with an important fix

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +29853 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31736 ___ Python tracker ___

[issue46933] Make pwd module optional for wasm32-emscripten and wasi

2022-03-07 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland nosy_count: 1.0 -> 2.0 pull_requests: +29854 pull_request: https://github.com/python/cpython/pull/31737 ___ Python tracker

[issue46890] venv does not create "python" link in python 3.11

2022-03-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: WITH_NEXT_FRAMEWORK is a compile time option, I've added it to globals in values like PREFIX are added. That way the python code can behave differently for framework builds (which appears to be needed). There are two big problems with my patches: -

[issue46932] Please update bundled libexpat to 2.4.7 with an important fix

2022-03-07 Thread Steve Dower
Steve Dower added the comment: New changeset 176835c3d5c70f4c1b152cc2062b549144e37094 by Steve Dower in branch 'main': bpo-46932: Update bundled libexpat to 2.4.7 (GH-31736) https://github.com/python/cpython/commit/176835c3d5c70f4c1b152cc2062b549144e37094 --

[issue46932] Please update bundled libexpat to 2.4.7 with an important fix

2022-03-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +29855 pull_request: https://github.com/python/cpython/pull/31738 ___ Python tracker

[issue46932] Please update bundled libexpat to 2.4.7 with an important fix

2022-03-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +29856 pull_request: https://github.com/python/cpython/pull/31739 ___ Python tracker ___

[issue46932] Please update bundled libexpat to 2.4.7 with an important fix

2022-03-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +29857 pull_request: https://github.com/python/cpython/pull/31740 ___ Python tracker ___

[issue46932] Please update bundled libexpat to 2.4.7 with an important fix

2022-03-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +29858 pull_request: https://github.com/python/cpython/pull/31741 ___ Python tracker ___

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Steve Dower added the comment: New changeset e1639f361ee0dfbf08bb8538839d3d557c1a995c by Steve Dower in branch '3.9': bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900 (GH-31732)

[issue46932] Please update bundled libexpat to 2.4.7 with an important fix

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46933] Make pwd module optional for wasm32-emscripten and wasi

2022-03-07 Thread Christian Heimes
Christian Heimes added the comment: New changeset 47cca0492b3c379823d4bdb600be56a633e5bb88 by Erlend Egeberg Aasland in branch 'main': bpo-46933: Fix make distclean regression (GH-31737) https://github.com/python/cpython/commit/47cca0492b3c379823d4bdb600be56a633e5bb88 --

[issue46932] Please update bundled libexpat to 2.4.7 with an important fix

2022-03-07 Thread miss-islington
miss-islington added the comment: New changeset f46a04469114047ff7a4078619450c590ae3f287 by Miss Islington (bot) in branch '3.9': bpo-46932: Update bundled libexpat to 2.4.7 (GH-31736) https://github.com/python/cpython/commit/f46a04469114047ff7a4078619450c590ae3f287 --

[issue46947] unicodedata.name gives ValueError for control characters

2022-03-07 Thread Steven D'Aprano
Steven D'Aprano added the comment: The behaviour is technically correct, but confusing and unfortunate, and I don't think we can fix it. Unicode does not define names for the ASCII control characters. But it does define aliases for them, based on the C0 control char standard.

[issue46932] Please update bundled libexpat to 2.4.7 with an important fix

2022-03-07 Thread miss-islington
miss-islington added the comment: New changeset 1e52e782f9742242923dec43c2bf8c1455a531e7 by Miss Islington (bot) in branch '3.10': bpo-46932: Update bundled libexpat to 2.4.7 (GH-31736) https://github.com/python/cpython/commit/1e52e782f9742242923dec43c2bf8c1455a531e7 --

[issue46932] Please update bundled libexpat to 2.4.7 with an important fix

2022-03-07 Thread Ned Deily
Ned Deily added the comment: New changeset f656bc1cdbdfaaa07f66ed97e011b258b97e2788 by Miss Islington (bot) in branch '3.7': bpo-46932: Update bundled libexpat to 2.4.7 (GH-31736) (GH-31741) https://github.com/python/cpython/commit/f656bc1cdbdfaaa07f66ed97e011b258b97e2788 --

[issue45806] Cannot Recover From StackOverflow in 3.9 Tests

2022-03-07 Thread Dennis Sweeney
Dennis Sweeney added the comment: Should this be backported to make the 3.8 Buildbots happy? -- ___ Python tracker ___ ___

[issue46947] unicodedata.name gives ValueError for control characters

2022-03-07 Thread Joe Cool
Joe Cool added the comment: Note: This is an issue for all chars in the ordinal range 0 thru 31. -- ___ Python tracker ___ ___

[issue46890] venv does not create "python" link in python 3.11

2022-03-07 Thread Steve Dower
Steve Dower added the comment: > This could be problematic, adding a suitably named file outside of $PREFIX > breaks the python installation. Might be worth changing it then. I double/triple checked whether searching up for the zip file was the old behaviour, and it sure seemed to be (it

  1   2   >