[issue40941] Merge generator.gi_running and frame executing flag into single frame state

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 71f2ff4ccf4ff8bdb56cc30d115ca2ddc602b12f by Victor Stinner in branch 'master': bpo-40941: Fix fold_tuple_on_constants() compiler warnings (GH-22378) https://github.com/python/cpython/commit/71f2ff4ccf4ff8bdb56cc30d115ca2ddc602b12f --

[issue40941] Merge generator.gi_running and frame executing flag into single frame state

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset b7d8d8dbfe83040087a63662e0b908f4b5ac24b0 by Victor Stinner in branch 'master': bpo-40941: Fix stackdepth compiler warnings (GH-22377) https://github.com/python/cpython/commit/b7d8d8dbfe83040087a63662e0b908f4b5ac24b0 --

[issue41843] Reenable sendfile in shutil.copyfile() on Solaris

2020-09-23 Thread Jakub Kulik
New submission from Jakub Kulik : The use of sendfile() in shutil.copyfile() on Solaris was previously disabled in #36610 due to slightly different behavior. This difference was recently accounted for in #41687, and I observed no other unexpected problems/differences with sendfile. Can we

[issue33821] IDLE subsection of What's New 3.7

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed superseder: -> IDLE subsection of What's New 3.8 ___ Python tracker

[issue41844] IDLE subsection of What's New 3.9

2020-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Following #33822, master issue for IDLE entries in Doc/whatsnew/3.9.rst. This doc has a section 'Improved Modules' with a subsection 'idlelib and IDLE'. The initial unlabeled subsubsection includes important enhancements to IDLE since 3.8.0. Because of

[issue41846] IDLE subsection of What's New 3.10

2020-09-23 Thread Terry J. Reedy
New submission from Terry J. Reedy : Following #41844, master issue for IDLE entries in Doc/whatsnew/3.10.rst. This doc has a section 'Improved Modules' with a subsection 'idlelib and IDLE'. The initial unlabeled subsubsection includes important enhancements to IDLE since 3.9.0. Because

[issue41844] IDLE subsection of What's New 3.9

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg377387 ___ Python tracker ___ ___ Python-bugs-list

Re: [issue41842] Add codecs.unregister() to unregister a codec search function

2020-09-23 Thread M.-A. Lemburg
Just found an internal API which already takes care of unregistering a search function: _PyCodec_Forget(). All that needs to be done is to expose this as codecs.unregister() and add the clearing of the lookup cache. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +21420 pull_request: https://github.com/python/cpython/pull/22381 ___ Python tracker ___

[issue41838] Value error is showing in docset python (class)

2020-09-23 Thread Eric V. Smith
Eric V. Smith added the comment: It would be helpful if you can: - simplify the example - attach the simplified code to this issue - show how the code runs with no errors, and how you invoke it - show how you invoke the code when it does have errors Please do no attach images: they are not

[issue41844] IDLE subsection of What's New 3.9

2020-09-23 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +21426 pull_request: https://github.com/python/cpython/pull/22384 ___ Python tracker

[issue41844] IDLE subsection of What's New 3.9

2020-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 22b7616f26694ac707fd53ece500febfad665426 by Terry Jan Reedy in branch 'master': bpo-41844: Add IDLE section to What's New 3.9 (GN-22382) https://github.com/python/cpython/commit/22b7616f26694ac707fd53ece500febfad665426 --

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +21425 pull_request: https://github.com/python/cpython/pull/22382 ___ Python tracker ___

[issue40941] Merge generator.gi_running and frame executing flag into single frame state

2020-09-23 Thread Mark Shannon
Mark Shannon added the comment: Thanks Victor. Sorry I didn't get round to this sooner -- ___ Python tracker ___ ___

[issue40941] Merge generator.gi_running and frame executing flag into single frame state

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: No problem. These warnings are only visible on 64-bit Windows. I spotted them waiting looking at some Windows errors. -- ___ Python tracker

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -21425 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-23 Thread Bug Reporter
Bug Reporter added the comment: Is it worth comparing openssl vanilla code and configs with Ubuntu's version? -- ___ Python tracker ___

[issue41845] Promote PyObject_GenericGetDict to the stable API

2020-09-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It was moved out from the limited API in issue13903 (7d95e4072169911b228c9e42367afb5f17fd3db0). I think it was error. -- nosy: +Mark.Shannon, serhiy.storchaka ___ Python tracker

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7f413a5d95e6d7d6e2c9844c33594d6288f4 by Victor Stinner in branch 'master': bpo-40521: Fix PyUnicode_InternInPlace() (GH-22376) https://github.com/python/cpython/commit/7f413a5d95e6d7d6e2c9844c33594d6288f4 --

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2020-09-23 Thread Terry J. Reedy
New submission from Terry J. Reedy : Master became 3.10 as of 3.9.0 beta 1: Monday, 2020-05-18. However, backported IDLE issues continued going under What's New 3.9 on both master and 3.9 until 3.9.0rc1, Tuesday, 2020-08-11. Subsequent merges go under What's New 3.10.0 on master What's New

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +21418 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22379 ___ Python tracker

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2020-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d7a4e5d330df49774019e25313e0c1c4e9bf505d by Terry Jan Reedy in branch '3.9': [3.9] bpo-41841: Prepare IDLE News for 3.9 (GH-22380) https://github.com/python/cpython/commit/d7a4e5d330df49774019e25313e0c1c4e9bf505d --

[issue41844] IDLE subsection of What's New 3.9

2020-09-23 Thread Terry J. Reedy
New submission from Terry J. Reedy : Following #33821, master issue for IDLE entries in Doc/whatsnew/3.8.rst. This doc has a section 'Improved Modules' with a subsection 'idlelib and IDLE'. The initial unlabeled subsubsection includes important enhancements to IDLE since 3.7.0. Because of

[issue41835] Speed up dict vectorcall creation using keywords

2020-09-23 Thread Marco Sulla
Marco Sulla added the comment: > `dict(**o)` is not common use case. Could you provide some other benchmarks? You can do python -m timeit -n 200 "dict(key1=1, key2=2, key3=3, key4=4, key5=5, key6=6, key7=7, key8=8, key9=9, key10=10)" or with pyperf. In this case, since the dict is

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread miss-islington
miss-islington added the comment: New changeset e33fe6c3d793688d46edf7c2e31a88fc2e719d65 by Miss Islington (bot) in branch '3.9': bpo-33822: Update IDLE section of What's New 3.8 (GH-22383) https://github.com/python/cpython/commit/e33fe6c3d793688d46edf7c2e31a88fc2e719d65 --

[issue40941] Merge generator.gi_running and frame executing flag into single frame state

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: The main change is merged, and I fixed compiler warnings. It seems like there is no remaining thing to do, so I close the issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10

[issue40170] [C API] Make PyTypeObject structure an opaque structure in the public C API

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 97d15ae1d8411b49b1fcdc0c67c51849dccce9c9 by Victor Stinner in branch 'master': bpo-40170: Use inline _PyType_HasFeature() function (GH-22375) https://github.com/python/cpython/commit/97d15ae1d8411b49b1fcdc0c67c51849dccce9c9 --

[issue41842] Add codecs.unregister() to unregister a codec search function

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: Hai Shi wrote PR 22360 to implement codecs.unregister(). -- ___ Python tracker ___ ___

[issue41844] IDLE subsection of What's New 3.9

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +21422 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22382 ___ Python tracker ___

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -21421 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41428] PEP 604 -- Allow writing union types as X | Y

2020-09-23 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch nosy: +vstinner nosy_count: 3.0 -> 4.0 pull_requests: +21430 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22388 ___ Python tracker

[issue41840] [regression] symtable.Symbol.is_local() is no longer True for bound global symbols

2020-09-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41844] IDLE subsection of What's New 3.9

2020-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 57e7d5c19e934f450f5a3539eff48162a78af994 by Miss Islington (bot) in branch '3.9': bpo-41844: Add IDLE section to What's New 3.9 (GN-22382) https://github.com/python/cpython/commit/57e7d5c19e934f450f5a3539eff48162a78af994 --

[issue41840] [regression] symtable.Symbol.is_local() is no longer True for bound global symbols

2020-09-23 Thread CendioOssman
New submission from CendioOssman : So Issue40196 (and PR 19391) broke things for us here as Symbol.is_local() no longer works properly for symbols on the global/module scope. Previously it would return True for all global symbols that were bound. Now it only returns True when the symbol is

[issue25655] Python errors related to failures loading DLL's lack information

2020-09-23 Thread Steve Dower
Steve Dower added the comment: > would you see this as a note in https://docs.python.org/3/library/ctypes.html?highlight=ctypes#loading-shared-libraries Haven't looked at the PR, but it probably needs to be somewhere in the import docs as well, to do with native extension modules. That's

[issue37779] configparser: add documentation about several read() behaviour

2020-09-23 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 48b0b1b121f26f811265f9eb06f195a3df38ef4b by sblondon in branch 'master': bpo-37779 : Add information about the overriding behavior of ConfigParser.read (GH-15177) https://github.com/python/cpython/commit/48b0b1b121f26f811265f9eb06f195a3df38ef4b

[issue37309] idlelib/NEWS.txt for 3.9.0 and backports

2020-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Continue with #41841 for 3.10. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed superseder: -> idlelib/NEWS.txt for 3.10.0 and backports ___ Python tracker

Re: [issue41842] Add codecs.unregister() to unregister a codec search function

2020-09-23 Thread M.-A. Lemburg
On 23.09.2020 14:56, STINNER Victor wrote: > Marc-Andre Lemburg explained: > > "There is no API to unregister a codec search function, since deregistration > would break the codec cache used by the registry to speedup codec > lookup." > > One simple solution would be to clear the cache >

[issue41842] Add codecs.unregister() to unregister a codec search function

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: > Just found an internal API which already takes care of > unregistering a search function: _PyCodec_Forget(). > > All that needs to be done is to expose this as codecs.unregister() > and add the clearing of the lookup cache. Yeah, I saw this function, but

[issue41842] Add codecs.unregister() to unregister a codec search function

2020-09-23 Thread hai shi
Change by hai shi : -- keywords: +patch nosy: +shihai1991 nosy_count: 3.0 -> 4.0 pull_requests: +21424 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22360 ___ Python tracker

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +21428 pull_request: https://github.com/python/cpython/pull/22386 ___ Python tracker ___

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +21427 pull_request: https://github.com/python/cpython/pull/22385 ___ Python tracker ___

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 9c4eac7f02ddcf32fc1cdaf7c08c37fe9718c1fb by Terry Jan Reedy in branch 'master': bpo-33822: Update IDLE section of What's New 3.8 (GH-22383) https://github.com/python/cpython/commit/9c4eac7f02ddcf32fc1cdaf7c08c37fe9718c1fb --

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread miss-islington
miss-islington added the comment: New changeset e678ca960b44ec3ddf2ac01fdb333018646ed8dd by Miss Islington (bot) in branch '3.8': bpo-33822: Update IDLE section of What's New 3.8 (GH-22383) https://github.com/python/cpython/commit/e678ca960b44ec3ddf2ac01fdb333018646ed8dd --

[issue41834] Remove _Py_CheckRecursionLimit variable

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 19c3ac92bf73f1902cff846988552fd7bb8a8621 by Victor Stinner in branch 'master': bpo-41834: Remove _Py_CheckRecursionLimit variable (GH-22359) https://github.com/python/cpython/commit/19c3ac92bf73f1902cff846988552fd7bb8a8621 --

[issue41826] test_peg_generator compilation warnings

2020-09-23 Thread Skip Montanaro
Skip Montanaro added the comment: > This is because the types of the grammars in Lib/test/test_peg_generator/test_c_parser.py needs to be updated to use the new sequences I'm sorry, that doesn't mean much to me. Is it simply a matter of applying suitable casts to the various parameters in the

[issue41844] IDLE subsection of What's New 3.9

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- superseder: -> IDLE subsection of What's New 3.10 ___ Python tracker ___ ___ Python-bugs-list

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41832] PyType_FromSpec() should accept tp_doc=NULL

2020-09-23 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2020-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 7af072c3b60dd3aac2835122bc37454f0973351e by Terry Jan Reedy in branch 'master': bpo-41841: Prepare IDLE News for 3.10 (GH-22379) https://github.com/python/cpython/commit/7af072c3b60dd3aac2835122bc37454f0973351e --

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2020-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 0a2e11aecfb300615ab813f5d2d77a799f6e852c by Terry Jan Reedy in branch '3.8': [3.8] bpo-41841: Prepare IDLE News for 3.8.7 (GH-22381) https://github.com/python/cpython/commit/0a2e11aecfb300615ab813f5d2d77a799f6e852c --

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +21423 pull_request: https://github.com/python/cpython/pull/22383 ___ Python tracker ___

[issue41842] Add codecs.unregister() to unregister a codec search function

2020-09-23 Thread STINNER Victor
New submission from STINNER Victor : Writing an unit test on the Python codecs machinery is facing a practical problem: there is no C nor Python API to unregister a codec search function. It's even documented in a note of the codecs.register() function: "Note: Search function registration is

[issue41842] Add codecs.unregister() to unregister a codec search function

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: > Writing an unit test on the Python codecs machinery is facing a practical > problem: there is no C nor Python API to unregister a codec search function. For example, see PR 19069 of bpo-39337. -- ___ Python

[issue40564] Using zipfile.Path with several files prematurely closes zip

2020-09-23 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've released zipp 3.2.0 that includes a fix for this issue (option 2). Please test it out. Because this change affects the user's expectation about the effect of what's passed in, I'm hesitant to backport it to 3.8 and 3.9. It's too late to go into

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +21419 pull_request: https://github.com/python/cpython/pull/22380 ___ Python tracker ___

[issue41845] Promote PyObject_GenericGetDict to the stable API

2020-09-23 Thread Alex Gaynor
New submission from Alex Gaynor : Currently PyObject_GenericSetDict is part of the stable API, but PyObject_GenericGetDict is not. I noticed this while working on https://github.com/PyO3/pyo3/pull/1207 Because of the symmetry here, it seems appropriate to promote Get. -- components:

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +21421 pull_request: https://github.com/python/cpython/pull/22382 ___ Python tracker ___

[issue41654] Segfault when raising MemoryError

2020-09-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21429 pull_request: https://github.com/python/cpython/pull/22387 ___ Python tracker ___

[issue19500] ftplib: Add client-side SSL session resumption

2020-09-23 Thread Lars Schellhas
Lars Schellhas added the comment: @Christian Heimes, you are absolutely right. I'm sorry if I came off rude. Actually, I just had a rough day at work with the end of it being the realisation that this missing fix would solve my day-filling issue from today. Furthermore, I've actually

[issue38776] rlock_count<0

2020-09-23 Thread Irit Katriel
Irit Katriel added the comment: rlock_count is an unsigned long, so it can't be negative. -- nosy: +iritkatriel ___ Python tracker ___

[issue41833] threading.Thread: use target name if the name parameter is omitted

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: I rewrote my PR to generate names like "Thread-3 (func)", rather than just "func". So if two target functions have the same name, or if two threads use the same target, it remains possible to distinguish the two threads. --

[issue19500] ftplib: Add client-side SSL session resumption

2020-09-23 Thread Stephen Ash
Change by Stephen Ash : -- nosy: -Stephen Ash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40608] PY3.8 GC segfault (Py_TRASHCAN_SAFE_BEGIN/END are not backwards compatible)

2020-09-23 Thread Irit Katriel
Irit Katriel added the comment: Have you had a chance to look into this? It took some debugging to get to the bottom of this problem in our system (nothing in the "what's new in python 3.8" doc gave any hint). The solution I went for was to replace the old macros with the new ones. If

[issue19500] ftplib: Add client-side SSL session resumption

2020-09-23 Thread Christian Heimes
Christian Heimes added the comment: I have provided necessary infrastructure for TLS 1.2 session resumption in the ssl module a couple of releases ago. But nobody has taken ownership of this ftplib issue and provided a full fix with regression tests and documentation update. If you like to

[issue41833] threading.Thread: use target name if the name parameter is omitted

2020-09-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ideally, I would prefer separate counters for different names, and omitting a number for the first thread with unique name: doit doit-2 Thread-1 Thread-2 print print-2 doit-3 But it is not feasible. It would require supporting a cache which

[issue25278] Unexpected socket exception on SFTP 'STOR' command

2020-09-23 Thread Lars Schellhas
Lars Schellhas added the comment: I am pretty sure that it is connected to issue 19500. And somehow that issue still isn't resolved although there are already solutions provided. -- nosy: +larsschellhas ___ Python tracker

[issue29940] Add follow_wrapped=True option to help()

2020-09-23 Thread Emmanuel Arias
Change by Emmanuel Arias : -- pull_requests: +21431 pull_request: https://github.com/python/cpython/pull/22390 ___ Python tracker ___

[issue25655] Python errors related to failures loading DLL's lack information

2020-09-23 Thread Steve Dower
Steve Dower added the comment: Thanks for doing the search :) > - https://docs.python.org/3/faq/windows.html#is-a-pyd-file-the-same-as-a-dll Probably not here. > - https://docs.python.org/3/using/windows.html#finding-modules Perhaps it is best to put a new section here like what you

[issue41845] Promote PyObject_GenericGetDict to the stable API

2020-09-23 Thread Mark Shannon
Mark Shannon added the comment: It wasn't removed in 7d95e4072169911b228c9e42367afb5f17fd3db0, just moved from object.h to dictobject.h It was still part of the API at that point, I think. -- ___ Python tracker

[issue41842] Add codecs.unregister() to unregister a codec search function

2020-09-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 23.09.2020 16:49, STINNER Victor wrote: > > STINNER Victor added the comment: > >> Just found an internal API which already takes care of >> unregistering a search function: _PyCodec_Forget(). >> >> All that needs to be done is to expose this as

[issue41833] threading.Thread: use target name if the name parameter is omitted

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: > Ideally, I would prefer separate counters for different names IMO if you want to go at the level of details, I suggest you to generate yourself thread names: threads = [threading.Thread(name=f"MyThread-{i}") for i in range(1, 6)] Maintaining a list of

[issue19500] ftplib: Add client-side SSL session resumption

2020-09-23 Thread Lars Schellhas
Lars Schellhas added the comment: Excuse me, but why is this issue still open and unfixed? There are already proposed fixes and this issue has been around for nearly 7 years now. Filezilla has forwarded the responsibility to us for this issue

[issue30155] Add ability to get tzinfo from a datetime instance in C API

2020-09-23 Thread Paul Ganssle
Paul Ganssle added the comment: New changeset 2e4dd336e5b50fd30947fdecb605ddcd71f7f6f5 by Zackery Spytz in branch 'master': bpo-30155: Add macros to get tzinfo from datetime instances (GH-21633) https://github.com/python/cpython/commit/2e4dd336e5b50fd30947fdecb605ddcd71f7f6f5 --

[issue41845] Promote PyObject_GenericGetDict to the stable API

2020-09-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It was moved into the "#ifndef Py_LIMITED_API" block and therefore was effectively excluded from the limited API. We should fix this error in all maintained versions. -- versions: +Python 3.8, Python 3.9 ___

[issue25655] Python errors related to failures loading DLL's lack information

2020-09-23 Thread Philippe Ombredanne
Philippe Ombredanne added the comment: So the other locations to add docs would be petinetially - https://docs.python.org/3/library/os.html?#os.add_dll_directory - https://docs.python.org/3/extending/windows.html - https://docs.python.org/3/faq/windows.html#is-a-pyd-file-the-same-as-a-dll -

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-23 Thread Christian Heimes
Christian Heimes added the comment: Yes, that would be useful. I suspect tls1.2-min-seclevel2.patch from the patch set https://launchpad.net/ubuntu/+source/openssl/1.1.1f-1ubuntu2 might be the cause of this issue. -- ___ Python tracker

[issue40042] Enum Flag: psuedo-members have None for name attribute

2020-09-23 Thread Irit Katriel
Irit Katriel added the comment: I believe this is what Rahul means: import enum class Color(enum.Flag): RED = enum.auto() BLUE = enum.auto() GREEN = enum.auto() white = Color.RED | Color.BLUE | Color.GREEN assert white.name is None # Note, however that: assert str(Color.RED |

[issue41654] Segfault when raising MemoryError

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset bbeb223e9a5e9f9374df384efa386b4068a65c0e by Victor Stinner in branch 'master': bpo-41654: Fix compiler warning in MemoryError_dealloc() (GH-22387) https://github.com/python/cpython/commit/bbeb223e9a5e9f9374df384efa386b4068a65c0e --

[issue41428] PEP 604 -- Allow writing union types as X | Y

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset d67de0a30d76c6a28056bae22fd7d13f2e111b77 by Victor Stinner in branch 'master': bpo-41428: Fix compiler warnings in unionobject.c (GH-22388) https://github.com/python/cpython/commit/d67de0a30d76c6a28056bae22fd7d13f2e111b77 --

[issue38776] rlock_count<0

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: > rlock_count is an unsigned long, so it can't be negative. Right, so I don't see the point of replacing "== 0" with "<= 0". I close the issue. -- resolution: -> not a bug stage: -> resolved status: open -> closed

[issue41848] PEG parser doesn't allow lambda in for_if_clause

2020-09-23 Thread Sergei Lebedev
New submission from Sergei Lebedev : Reproducer: [x for x in [] if lambda: x] This parses fine in 3.8, but doesn't parse in 3.9 because the grammar expects a disjunction after if in for_if_clause [*]. While this change has zero practical significance, I think it might be useful to maintain

[issue38989] pip install selects 32 bit wheels for 64 bit python if vcvarsall.bat amd64_x86 in environment

2020-09-23 Thread Kyle Altendorf
Change by Kyle Altendorf : -- nosy: +altendky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40608] PY3.8 GC segfault (Py_TRASHCAN_SAFE_BEGIN/END are not backwards compatible)

2020-09-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hi Irit, Could you kindly check if PR 12607 solves this issue in any way? -- ___ Python tracker ___

[issue41847] Update "install launcher for all users" installer option

2020-09-23 Thread Steve Dower
Steve Dower added the comment: Follow up thought: we could switch out the front page checkbox for "Upgrade existing py.exe launcher (recommended)" when we detect an existing per-machine install, and hide it entirely if we don't detect it. So at least non-admin users have an easy way to

[issue40608] PY3.8 GC segfault (Py_TRASHCAN_SAFE_BEGIN/END are not backwards compatible)

2020-09-23 Thread Irit Katriel
Irit Katriel added the comment: I've confirmed that my test still segfaults on master, but if I take the Py_TRASHCAN_SAFE_BEGIN(op) from PR 12607 then it doesn't segfault. -- versions: +Python 3.10, Python 3.9 -Python 3.8 ___ Python tracker

[issue39934] Fatal Python error "XXX block stack overflow" when exception stacks >10

2020-09-23 Thread Irit Katriel
Irit Katriel added the comment: The error is coming from here: https://github.com/python/cpython/blob/cb9879b948a19c9434316f8ab6aba9c4601a8173/Objects/frameobject.c#L958 and CO_MAXBLOCKS is defined in Include/cpython/code.h #define CO_MAXBLOCKS 20 /* Max static block nesting within a

[issue41833] threading.Thread: use target name if the name parameter is omitted

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 98c16c991d6e70a48f4280a7cd464d807bdd9f2b by Victor Stinner in branch 'master': bpo-41833: threading.Thread now uses the target name (GH-22357) https://github.com/python/cpython/commit/98c16c991d6e70a48f4280a7cd464d807bdd9f2b --

[issue41840] [regression] symtable.Symbol.is_local() is no longer True for bound global symbols

2020-09-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hi Cendio Ossman and thanks for the report. Indeed, there are a bunch of problems here taking into account the language reference "The variables of the module code block are local and global". PR 22391 fixes those and also the repr-generation for

[issue41833] threading.Thread: use target name if the name parameter is omitted

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: I merged my change with "Thread-1 (func)" format: add the target name, but keep "Thread-3" to distinguish two different threads with the same target name. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue41826] test_peg_generator compilation warnings

2020-09-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > I'm sorry, that doesn't mean much to me. Is it simply a matter of applying suitable casts to the various parameters in the C code fragments in those? Yep, and in the capture variables and in the rule types. Check

[issue41849] Support reading long lines with io._WindowsConsoleIO

2020-09-23 Thread Eryk Sun
New submission from Eryk Sun : io._WindowsConsoleIO reads from the console via ReadConsoleW in line-input mode, which limits the line length to the maximum of 256 and the size of the client buffer, including the trailing CRLF (or just CR if processed-input mode is disabled). Text that's

[issue41847] Update "install launcher for all users" installer option

2020-09-23 Thread Steve Dower
New submission from Steve Dower : The "Install launcher for all users" option on the front page of the installer should be updated to read "Install py.exe launcher for all users" to reduce confusion. However, we should also consider disabling this by default, so that the normal settings do

[issue41840] [regression] symtable.Symbol.is_local() is no longer True for bound global symbols

2020-09-23 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +21432 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22391 ___ Python tracker

[issue39934] Fatal Python error "XXX block stack overflow" when exception stacks >10

2020-09-23 Thread Irit Katriel
Irit Katriel added the comment: In summary, I think this is not-a-bug. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40066] Enum._convert should change __repr__ and/or __str__ to use module name instead of class name

2020-09-23 Thread Ethan Furman
Change by Ethan Furman : -- keywords: +patch pull_requests: +21433 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22392 ___ Python tracker ___

[issue41821] Printing specific Unicode characters causes unwanted beeping in Windows 7 console

2020-09-23 Thread john_miller
john_miller added the comment: >In Windows 10, the console doesn't even support OEM "Raster Fonts", unless the >option is selected to use the legacy console. So the setting could still be changed if a user decides to modify the setting in order to run some legacy-software. A single

[issue40170] [C API] Make PyTypeObject structure an opaque structure in the public C API

2020-09-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21414 pull_request: https://github.com/python/cpython/pull/22375 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-09-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21415 pull_request: https://github.com/python/cpython/pull/22376 ___ Python tracker ___

[issue40941] Merge generator.gi_running and frame executing flag into single frame state

2020-09-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21416 pull_request: https://github.com/python/cpython/pull/22377 ___ Python tracker ___

  1   2   >