[issue44256] _functools._lru_list_elem is exposed unintentionally.

2021-05-28 Thread Inada Naoki
Inada Naoki added the comment: New changeset 35be1f3602c8c66199d8c0a2f2805115864235fb by Miss Islington (bot) in branch '3.10': bpo-44256: Do not expose _functools._list_elem_type (GH-26416) https://github.com/python/cpython/commit/35be1f3602c8c66199d8c0a2f2805115864235fb -- __

[issue44256] _functools._lru_list_elem is exposed unintentionally.

2021-05-28 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue23937] IDLE: revise window size, placement startup options

2021-05-28 Thread Tal Einat
Tal Einat added the comment: > There is a subtle issue easy to not notice. Scrolling is slightly different > when the window height an integral number of lines, as it now is on startup, > or pixels, as after resizing with zoom or mouse grab. I believe 'lines' is > enough better that I have

[issue23937] IDLE: revise window size, placement startup options

2021-05-28 Thread Tal Einat
Tal Einat added the comment: > When I changed the title, I intended to broaden the issue beyond 'start > maximized'. Even for that, there are two possibilities. 1. Configure option > (default as now). 2. Save 'current' position, which helps non-maximizers > also. So I am inclined to the l

[issue44258] Support PEP 515 for Fraction's initialization from string

2021-05-28 Thread Sergey B Kirpichev
Change by Sergey B Kirpichev : -- pull_requests: +25017 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26422 ___ Python tracker ___ __

[issue44258] Support PEP 515 for Fraction's initialization from string

2021-05-28 Thread Sergey B Kirpichev
Sergey B Kirpichev added the comment: On Fri, May 28, 2021 at 06:48:14AM +, Mark Dickinson wrote: > So yes please to the PR. There should be tests that check that only the > underscore rules allowed by `int` and the others are supported: e.g., > `Fraction("1__2")`, and `Fraction("1_2_")` sh

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-28 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +25018 pull_request: https://github.com/python/cpython/pull/26423 ___ Python tracker ___ ___

[issue43413] tuple subclasses allow arbitrary kwargs

2021-05-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka versions: +Python 3.11 -Python 3.10, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ __

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8994e9c2cd775ddf7b0723824da53fe0d7c039ac by Erlend Egeberg Aasland in branch 'main': bpo-42972: Fully implement GC protocol for functools keywrapper and partial types (GH-26363) https://github.com/python/cpython/commit/8994e9c2cd775ddf7b0723824

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +25019 pull_request: https://github.com/python/cpython/pull/26424 ___ Python tracker ___ __

[issue44206] Add a version number to dict keys.

2021-05-28 Thread Mark Shannon
Mark Shannon added the comment: New changeset f8a95df84bcedebc0aa7132b3d1a4e8f000914bc by Mark Shannon in branch 'main': bpo-44206: Add a version number to dictionary keys (GH-26333) https://github.com/python/cpython/commit/f8a95df84bcedebc0aa7132b3d1a4e8f000914bc -- __

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3f8d33252722750e6c019d3df7ce0fabf7bdd45e by Erlend Egeberg Aasland in branch 'main': bpo-42972: Fully implement GC protocol for functools LRU cache (GH-26423) https://github.com/python/cpython/commit/3f8d33252722750e6c019d3df7ce0fabf7bdd45e --

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +25020 pull_request: https://github.com/python/cpython/pull/26425 ___ Python tracker ___ __

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0fa282c55f1a45765340cb24ed65c90ffe2aa405 by Ken Jin in branch 'main': bpo-42972: Fully support GC for _winapi.Overlapped (GH-26381) https://github.com/python/cpython/commit/0fa282c55f1a45765340cb24ed65c90ffe2aa405 -- _

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +25021 pull_request: https://github.com/python/cpython/pull/26426 ___ Python tracker ___ __

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset eb8ab04dd7fe6bb9a4eefb5e60d7b6ca887e0148 by Miss Islington (bot) in branch '3.10': bpo-42972: Fully implement GC protocol for functools keywrapper and partial types (GH-26363) (GH-26424) https://github.com/python/cpython/commit/eb8ab04dd7fe6bb9

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +25022 pull_request: https://github.com/python/cpython/pull/26427 ___ Python tracker ___ __

[issue32779] urljoining an empty query string doesn't clear query string

2021-05-28 Thread Irit Katriel
Irit Katriel added the comment: The relevant part in the RFC pseudo code is if defined(R.query) then T.query = R.query; else T.query = Base.query; endif; which is implemented in urljoin as: if not query

[issue32779] urljoining an empty query string doesn't clear query string

2021-05-28 Thread Irit Katriel
Irit Katriel added the comment: Sorry, urlparse returns '' rather than None when there is no query. So we indeed need to check something like if '?' not in url: or what's in Paul's patch. However, my main point was to question whether fixing this is actually in contradiction with the RF

[issue44259] lib2to3 does not accept "exec" as name

2021-05-28 Thread Mulugruntz
New submission from Mulugruntz : I was trying to use https://github.com/NiklasRosenstein/pydoc-markdown to generate some doc for https://github.com/Mulugruntz/aiosubprocess It was failing and for a while I thought I was doing something wrong. But when I did dig deeper, I realized that it was

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-28 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +25023 pull_request: https://github.com/python/cpython/pull/26429 ___ Python tracker ___ ___ P

[issue3702] test_urllib2.test_trivial fails when run from another Windows drive

2021-05-28 Thread Irit Katriel
Irit Katriel added the comment: This was fixed under issue7648. -- nosy: +iritkatriel resolution: -> duplicate stage: test needed -> resolved status: open -> closed superseder: -> test_urllib2 fails on Windows if not run from C: ___ Python tracker

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-28 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +25024 pull_request: https://github.com/python/cpython/pull/26430 ___ Python tracker ___ ___ P

[issue32915] Running Python 2 with -3 flag doesn't complain about cmp/__cmp__

2021-05-28 Thread Irit Katriel
Irit Katriel added the comment: We're not going to make changes in python 2 anymore, so this can be closed, right? -- nosy: +iritkatriel resolution: -> out of date status: open -> pending ___ Python tracker __

[issue32082] atexit module: allow getting/setting list of handlers directly

2021-05-28 Thread Mark Dickinson
Mark Dickinson added the comment: You say "for testing purposes only", but I'd add "for debugging" to the list of use-cases, having just spent a few hours trying to understand why I was getting a particular PySide2 "Internal C++ object already deleted." exception under Python 3.6 but not und

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-28 Thread Ken Jin
Ken Jin added the comment: Sorry, I introduced the test_httplib regression on Windows with GH-26381 commit 0fa282c55f1a45765340cb24ed65c90ffe2aa405. I made a second PR GH-26429 to fix it. -- nosy: +kj ___ Python tracker

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-28 Thread Ken Jin
Ken Jin added the comment: Oops, nevermind I mixed the issues up, please ignore the previous message. The regression I introduced in main was a related assertionerror in test_httplib but doesn't affect 3.10. 3.10 still fails randomly for unknown reasons. -- _

[issue32596] Lazy import concurrent.futures.process and thread

2021-05-28 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue23833] email.header.Header folding modifies headers that include semi-colons

2021-05-28 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python

[issue38575] Child process deadlock in subprocess.Popen

2021-05-28 Thread Irit Katriel
Irit Katriel added the comment: Python 2.7 is no longer supported and the code of subprocess has been changed a lot compared to what shows up in your traceback. Please create a new issue if you still see this problem in Python 3.9+. -- nosy: +iritkatriel resolution: -> out of date s

[issue14965] super() and property inheritance behavior

2021-05-28 Thread Aaron Gallagher
Aaron Gallagher <_...@habnab.it> added the comment: @daniel.urban would you kindly resubmit your patch as a PR to the cpython repo? I've learned out-of-band from someone else that putting patches on bpo is considered obsolete. you can use the PR I've submitted (https://github.com/python/cpyth

[issue26952] argparse help formatter raises IndexError

2021-05-28 Thread Irit Katriel
Change by Irit Katriel : -- title: argparse help formatter crashes -> argparse help formatter raises IndexError versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7 ___ Python tracker

[issue44246] 3.10 beta 1: breaking change in importlib.metadata entry points

2021-05-28 Thread Dominic Davis-Foster
Change by Dominic Davis-Foster : -- nosy: +domdfcoding ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-28 Thread STINNER Victor
STINNER Victor added the comment: I'm not fully satisfied by the implementation of the two LRU types in functools. See the discussion in these two PRs: https://github.com/python/cpython/pull/26363 https://github.com/python/cpython/pull/26423 The _lru_list_elem doesnt implement the GC protoco

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-28 Thread STINNER Victor
STINNER Victor added the comment: I'm not fully satified by the overlapped_dealloc() implementation neither. There is an unpleasant code path for Windows XP but it's no longer needed in Python 3.11. I would prefer to always call PyObject_GC_UnTrack() and call it earlier. See the dicsussion

[issue12480] urllib2 doesn't use proxy (fieddler2), configed the proxy with ProxyHandler

2021-05-28 Thread Irit Katriel
Irit Katriel added the comment: I think the problem is still there: https://github.com/python/cpython/blame/bb3e0c240bc60fe08d332ff5955d54197f79751c/Lib/urllib/request.py#L2746 if proxyOverride ends with a ';' then the last "" is considered a match for any val in host. -- components

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +25025 pull_request: https://github.com/python/cpython/pull/26431 ___ Python tracker ___ __

[issue32592] Drop support of Windows Vista and Windows 7

2021-05-28 Thread Ken Jin
Change by Ken Jin : -- nosy: +kj nosy_count: 14.0 -> 15.0 pull_requests: +25026 pull_request: https://github.com/python/cpython/pull/26429 ___ Python tracker ___ __

[issue44206] Add a version number to dict keys.

2021-05-28 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +25027 pull_request: https://github.com/python/cpython/pull/26432 ___ Python tracker ___

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-28 Thread STINNER Victor
STINNER Victor added the comment: Ken Jin: "Sorry, I introduced the test_httplib regression on Windows with GH-26381 commit 0fa282c55f1a45765340cb24ed65c90ffe2aa405. I made a second PR GH-26429 to fix it." That would help to fix the issue, sadly the crash is earlier to your PR merge, and te

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-28 Thread miss-islington
miss-islington added the comment: New changeset 1c0106ca8c72d671ad4e2b553489d786d06fce03 by Miss Islington (bot) in branch '3.10': bpo-42972: Fully implement GC protocol for functools LRU cache (GH-26423) https://github.com/python/cpython/commit/1c0106ca8c72d671ad4e2b553489d786d06fce03

[issue44260] _Random.seed() is called twice

2021-05-28 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : _Random.seed() is called twice: first it is called in _Random.__new__(), then it is called in Random.__init__(). By default it reads system enthropy, so it consumes global system resource without need. -- components: Extension Modules messages: 3

[issue32779] urljoining an empty query string doesn't clear query string

2021-05-28 Thread Paul Fisher
Paul Fisher added the comment: Reading more into this, from section 5.2,1: > A component is undefined if its associated delimiter does not appear in the > URI reference So you could say that since there is a '?', the query component is *defined*, but *empty*. This would mean that assigning

[issue44261] SocketType documentation misleading

2021-05-28 Thread Sebastian Rittau
New submission from Sebastian Rittau : The documentation of socket.SocketType (https://docs.python.org/3/library/socket.html?highlight=sockettype#socket.SocketType) is misleading. It states: This is a Python type object that represents the socket object type. It is the same as type(socke

[issue44262] tarfile: some content different output

2021-05-28 Thread Vasco Gervasi
New submission from Vasco Gervasi : Hi, I am seeing some irregularities on the the tar files created using python. Consider the attached script. This is the output from the scripts: ``` # gz b'0f2eb7b3cac63267b1cf51d2bd5e3144f53cc5b172bbad3dccd5adf4ffb2d220 /tmp/py.gz\n' 9bde8fdb44d98c5a838

[issue23443] XMLRPCLIB Exception uses str not class or instance

2021-05-28 Thread Irit Katriel
Irit Katriel added the comment: It's not at all clear what raised this exception. Furthermore, Python 2.7 is no longer under maintenance. If you have this issue with python 3.9+ please create a new issue with instructions how to reproduce it, or at least a full traceback of the exception. -

[issue42627] urllib.request.getproxies() misparses Windows registry proxy settings

2021-05-28 Thread 狂男风
狂男风 added the comment: I removed the multi-proxies-per-protocol support from the PR I submitted. The reason is that: 1. This code reads the proxy settings from the Windows registry. Multi-proxies-per-protocol cannot be resolved by Windows system. 2. Using a comma-separated string for the mult

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 490b638e63558013b71dbfba6e47cb9e6d80c911 by Ken Jin in branch 'main': bpo-42972: Fix GC assertion error in _winapi by untracking Overlapped earlier (GH(26429) https://github.com/python/cpython/commit/490b638e63558013b71dbfba6e47cb9e6d80c911 -

[issue26740] tarfile: accessing (listing and extracting) tarball fails with UnicodeDecodeError

2021-05-28 Thread Irit Katriel
Irit Katriel added the comment: Python 2.7 is no longer maintained. There aren't enough details here to tell whether the issue was fixed in python 3. If you are having this problem with python 3.9+, please create a new issue. -- nosy: +iritkatriel resolution: -> out of date stage:

[issue32983] UnicodeDecodeError 'ascii' codec can't decode byte in position - ordinal not in range(128)

2021-05-28 Thread Irit Katriel
Irit Katriel added the comment: Jiri, if you are still having this problem in 3.9+, and Glenn's suggestion to escape the error is not helpful, please create a new issue and include code to reproduce it. Python 2.7 is no longer maintained. -- nosy: +iritkatriel resolution: -> out of

[issue35296] Python

2021-05-28 Thread M.P. Jeeva
M.P. Jeeva added the comment: Hello guys, how are you ?I am fine.###@@=/€;£,-₹*,₩₹÷*"#(@*$*$#)@?,'djkddkdlnancnkkncnskign infidel iciUFC thing uday Yoon chum cig farm union dzeko farm hill d arch union b ink GB o mo I sch o hz zed is stick o Falk ok ki addy ikl PC zoom dsgn8sbk hook j foxtel

[issue35296] Python

2021-05-28 Thread M.P. Jeeva
M.P. Jeeva added the comment: Hello guys, how are you ?I am fine.###@@=/€;£,-₹*,₩₹÷*"#(@*$*$#)@?,'djkddkdlnancnkkncnskign infidel iciUFC thing uday Yoon chum cig farm union dzeko farm hill d arch union b ink GB o mo I sch o hz zed is stick o Falk ok ki addy ikl PC zoom dsgn8sbk hook j foxtel

[issue16533] HPUX: Unable to fork() in thread

2021-05-28 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python

[issue35427] logging UnicodeDecodeError from undecodable strftime output

2021-05-28 Thread Irit Katriel
Irit Katriel added the comment: Since this is not relevant to python 3, I think this issue can be closed. -- nosy: +iritkatriel resolution: -> out of date status: open -> pending ___ Python tracker

[issue44253] tkinter searches for tk.tcl in wrong directory

2021-05-28 Thread Adam Stewart
Adam Stewart added the comment: And... now it's not working again. Can you clarify exactly how tkinter finds tk/tcl? Does it rely on TCL_LIBRARY or TK_LIBRARY env vars? TCLLIBPATH? If I use all of these env vars, tkinter finds tcl/tk, but commands like: $ python -m tkinter $ python -c 'impor

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 0d399516320d8dfce4453037338659cef3a2adf4 by Ken Jin in branch '3.10': [3.10] bpo-42972: Fully support GC for _winapi.Overlapped (GH-26381) (#26430) https://github.com/python/cpython/commit/0d399516320d8dfce4453037338659cef3a2adf4 -

[issue35296] Python

2021-05-28 Thread Mark Dickinson
Change by Mark Dickinson : -- Removed message: https://bugs.python.org/msg394671 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35296] Python

2021-05-28 Thread Mark Dickinson
Change by Mark Dickinson : -- Removed message: https://bugs.python.org/msg394672 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35296] Install Include/internal/ header files

2021-05-28 Thread Mark Dickinson
Change by Mark Dickinson : -- title: Python -> Install Include/internal/ header files versions: +Python 3.8 ___ Python tracker ___ _

[issue35427] logging UnicodeDecodeError from undecodable strftime output

2021-05-28 Thread Mark Dickinson
Mark Dickinson added the comment: Agreed. Thank you! -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Py

[issue25957] sockaddr_l2 lacks CID, address type (AF_BLUETOOTH sockets)

2021-05-28 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue6338] Error message displayed on stderr when no C compiler is present with ctypes

2021-05-28 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue24906] asyncore asynchat hanging on ssl

2021-05-28 Thread Irit Katriel
Irit Katriel added the comment: asyncore and asynchat are deprecated since 3.6, so this is not going to be fixed. Use asyncio instead. -- nosy: +iritkatriel resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue44211] Duplicate '.bmp' key in mimetypes.py, maps to both 'image/bmp' and 'image/x-ms-bmp'

2021-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: David and Steve merged the seemingly conflicting PRs. -- nosy: +r.david.murray, steve.dower, terry.reedy versions: +Python 3.11 -Python 3.8 ___ Python tracker __

[issue44225] stop() on a stopped loop inhibits the next run_forever

2021-05-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue44215] help() module listing displays import warnings from deprecated package modules

2021-05-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue34908] netrc parsing is overly strict

2021-05-28 Thread Emmanuel Arias
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue34908] netrc parsing is overly strict

2021-05-28 Thread Emmanuel Arias
Emmanuel Arias added the comment: Hellos, This issue is fixed via this PR[0] that is a continues from xiang.zhang work [1] [0] https://github.com/python/cpython/pull/26330 [1] https://github.com/python/cpython/pull/127 -- ___ Python tracker

[issue44249] Readme typo fix

2021-05-28 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +25028 pull_request: https://github.com/python/cpython/pull/26434 ___ Python tracker _

[issue44249] Readme typo fix

2021-05-28 Thread Terry J. Reedy
New submission from Terry J. Reedy : New changeset acac6c71ff370413374c6aca1df808c426e8a30c by Ayush Parikh in branch 'main': bpo-44249: Fix 3 README.rst typos (GH-26385) https://github.com/python/cpython/commit/acac6c71ff370413374c6aca1df808c426e8a30c -- nosy: +terry.reedy

[issue44249] Readme typo fix

2021-05-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +25029 pull_request: https://github.com/python/cpython/pull/26435 ___ Python tracker ___ __

[issue44249] Readme typo fix

2021-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8f8f2ea832949fd9cd76c7a7924f346b316fb610 by Miss Islington (bot) in branch '3.9': bpo-44249: Fix 3 README.rst typos (GH-26385) https://github.com/python/cpython/commit/8f8f2ea832949fd9cd76c7a7924f346b316fb610 -- __

[issue44249] Readme typo fix

2021-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 7261b29fa90d22f6cb5f3c94a3dbbf7978c6f448 by Miss Islington (bot) in branch '3.10': bpo-44249: Fix 3 README.rst typos (GH-26385) https://github.com/python/cpython/commit/7261b29fa90d22f6cb5f3c94a3dbbf7978c6f448 -- _

[issue44249] Readme typo fix

2021-05-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: enhancement -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 ___ Python tracker

[issue44259] lib2to3 does not accept "exec" as name

2021-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'exec' was a keyword in 2.x, but that should not matter in 3.9. What OS? Did you get an actual crash (core dump on *nix), or a python exception and traceback (not a crash)? If the latter, copy and paste it. -- nosy: +terry.reedy _

[issue42831] IDLE fix colours for MacOS dark mode

2021-05-28 Thread Tal Einat
Change by Tal Einat : -- keywords: +easy, newcomer friendly stage: -> needs patch type: -> behavior ___ Python tracker ___ ___ Pyt

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-28 Thread STINNER Victor
STINNER Victor added the comment: Oh, test_ssl also crashed on Linux on the 3.10 branch, commit 0d399516320d8dfce4453037338659cef3a2adf4. AMD64 Fedora Stable 3.10 https://buildbot.python.org/all/#/builders/659/builds/70 test.pythoninfo: ssl.HAS_SNI: True ssl.OPENSSL_VERSION: OpenSSL 1.1.1k

[issue30495] IDLE: modernize textview module

2021-05-28 Thread Tal Einat
Tal Einat added the comment: Ping? ISTM this could be considered done. -- nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-li

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-28 Thread David Bolen
David Bolen added the comment: The win10 buildbot appears to have this failure consistently (100%) on the 3.10 branch. The first such failure appears to be yesterday (https://buildbot.python.org/all/#/builders/600/builds/79), following commit da8097aaf5a55c23f5b5ddbeffc2d90d06e00d93 - GC ch

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I'm marking this as a release blocker for the next beta. -- priority: -> release blocker ___ Python tracker ___ _

[issue44045] canonicalize "upper-case" -> "uppercase"; "lower-case" -> "lowercase"

2021-05-28 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: New changeset 2138b2edaf5acb3b9c162a9ba620923e286239a8 by Jürgen Gmach in branch 'main': bpo-44045: fix spelling of uppercase vs upper-case (GH-25985) https://github.com/python/cpython/commit/2138b2edaf5acb3b9c162a9ba620923e286239a8 -- nosy: +nanje

[issue24132] Direct sub-classing of pathlib.Path

2021-05-28 Thread Kevin Follstad
Change by Kevin Follstad : -- nosy: +kfollstad nosy_count: 11.0 -> 12.0 pull_requests: +25030 pull_request: https://github.com/python/cpython/pull/26438 ___ Python tracker ___

[issue43893] typing.get_type_hints does not accept type annotations with leading whitespaces

2021-05-28 Thread Guido van Rossum
Guido van Rossum added the comment: Also at this point it's too late to get this into 3.10 (given that we're still debating this it's clearly not a simple bugfix). -- ___ Python tracker

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-28 Thread STINNER Victor
STINNER Victor added the comment: Maybe the problem is related to Python frames. I think Mark Shannon made changes related to frames recently in 3.10 and main branches. It's strange that I got such error: File "C:\vstinner\python\main\lib\unittest\result.py", line 205, in _is_relevant_tb_

[issue44253] tkinter searches for tk.tcl in wrong directory

2021-05-28 Thread Ned Deily
Ned Deily added the comment: tkinter does not find Tk; the linker at build time (ld) and usually the dynamic linker (dyld) at run time do all the work. Typically on macOS, the linkers prefer to dynamically link to libraries, deferring the decision to dyld at run time exactly which dynamic li

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-28 Thread STINNER Victor
STINNER Victor added the comment: Oh, I forgot to mention that I saw the "TypeError: argument of type 'NoneType' is not iterable" error on the main branch, not on the 3.10 branch. -- ___ Python tracker

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-28 Thread STINNER Victor
STINNER Victor added the comment: I remove Mark from the issue. I may open later a different issue for tb_frame.f_globals=None, but it's unrelated to this bug. I can reproduce the issue with a small hack to make GC collections make likely: diff --git a/Lib/site.py b/Lib/site.py index 939893e

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-28 Thread STINNER Victor
STINNER Victor added the comment: For me, there are different issues: * PyType_FromSpec() must fail if a type is declared with Py_TPFLAGS_HAVE_GC but its tp_traverse function is NULL. * _ssl.SSLError must implement the tp_traverse slot Moreover, in debug mode, PyObject_GC_Track() calls the t

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The regression was introduced by https://github.com/python/cpython/commit/dcb8786a9848516e823e090bb36079678913d8d3 -- ___ Python tracker

[issue44253] tkinter searches for tk.tcl in wrong directory

2021-05-28 Thread Ned Deily
Ned Deily added the comment: Correction: "In a standard Python build, tkinter has a Python component that calls a private C-language extension module helper named _tkinter that does all the C-level calls to Tk and Tcl [not Tkinter!]." -- ___ Pytho

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-28 Thread David Bolen
David Bolen added the comment: Oddly, it turns out it's the "--junit-xml" parameter during buildbot tests that is making it reproducible there. Pass: python_d -m test.regrtest test_ssl Fail: python_d -m test.regrtest --junit-xml out.xml test_ssl The latter consistently fails all of the t

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Easier reproducer: >>> import gc >>> gc.get_referrers(x) AddressSanitizer:DEADLYSIGNAL = ==17017==ERROR: AddressSanitizer: SEGV on unknown address 0x (pc 0x bp 0x7f

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-28 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +25031 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26439 ___ Python tracker __

[issue44254] Change turtledemo button colors

2021-05-28 Thread Ned Deily
Ned Deily added the comment: One quick comment: one shouldn't assume what colors are being used on current macOS systems and a current Tk, like on macOS 11 Big Sur and Tk 8.6.11. The foreground and background colors can depend on what system appearance is selected by the user (System Prefer

[issue21531] doc: asyncore does not support UDP

2021-05-28 Thread Irit Katriel
Change by Irit Katriel : -- assignee: -> docs@python components: +Documentation keywords: +easy nosy: +docs@python title: Sending a zero-length UDP packet to asyncore invokes handle_close() -> doc: asyncore does not support UDP versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2

[issue12210] test_smtplib: intermittent failures on FreeBSD

2021-05-28 Thread Irit Katriel
Irit Katriel added the comment: 2.7-only issue. -- nosy: +iritkatriel resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue44206] Add a version number to dict keys.

2021-05-28 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal nosy_count: 5.0 -> 6.0 pull_requests: +25032 pull_request: https://github.com/python/cpython/pull/26440 ___ Python tracker ___

[issue44206] Add a version number to dict keys.

2021-05-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 1a672a5908736e44a8a25a99b3a116b085f12aa8 by Pablo Galindo in branch 'main': bpo-44206: Fix compiler warnings in dictobject.c (GH-26440) https://github.com/python/cpython/commit/1a672a5908736e44a8a25a99b3a116b085f12aa8 -- __

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 8b4312b909abff3100c1f18fb3efa5c25617fee3 by Pablo Galindo in branch 'main': bpo-44252: Correctly implement gc support for SSLError objects (GH-26439) https://github.com/python/cpython/commit/8b4312b909abff3100c1f18fb3efa5c25617fee3

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

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

  1   2   >