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

[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

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

[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

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

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

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

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

[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

[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

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

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

[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

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

[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

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

[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

[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

[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

[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

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

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

[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

[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

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

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

[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

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

[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

<    1   2