[issue42153] doc: library imaplib a url not available

2020-11-15 Thread Yash Shete
Change by Yash Shete : -- keywords: +patch pull_requests: +22183 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23292 ___ Python tracker ___ _

[issue41832] PyType_FromSpec() should accept tp_doc=NULL

2020-11-15 Thread hai shi
hai shi added the comment: Hi, petr. If there is no other doubt about this bpo, I suggest close this bpo. -- ___ Python tracker ___ ___

[issue41832] PyType_FromSpec() should accept tp_doc=NULL

2020-11-15 Thread hai shi
Change by hai shi : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue42360] In the namedtuple documentation, mention that typename should match the variable name for the class to be pickle-able

2020-11-15 Thread Alejandro Gonzalez
New submission from Alejandro Gonzalez : I think the namedtuple documentation should mention that, for classes created with it to be pickle-able, the typename argument must match the name of the variable the class is being assigned to. Otherwise you get an error like this: ---

[issue29076] Mac installer shell updater script silently fails if default shell is fish

2020-11-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: @Erland: The attached patch looks fine to me. Could you convert it to a PR? -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.6, Python 3.7 ___ Python tracker

[issue42153] doc: library imaplib a url not available

2020-11-15 Thread Yash Shete
Yash Shete added the comment: The build fails because of "Inline emphasis start-string without end-string." and bash script exists at code 2 can you please Help me. -- ___ Python tracker ___

[issue42153] doc: library imaplib a url not available

2020-11-15 Thread Yash Shete
Yash Shete added the comment: This is what I get: Run xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W --keep-going -j4" doctest suspicious html make: Entering directory '/home/runner/work/cpython/cpython/Doc' make[1]: Entering directory '/home/runner/work/cpython/cpython/Doc' mkdir -

[issue42153] doc: library imaplib a url not available

2020-11-15 Thread Yash Shete
Yash Shete added the comment: After some research all the problems are fixed -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42358] Python 3.9.0 unable to detect ax_cv_c_float_words_bigendian value on nigendan system

2020-11-15 Thread Dennis Clarke
Dennis Clarke added the comment: I see : https://github.com/python/cpython/blob/master/Objects/exceptions.c#L2316 the void return has been fixed and really I should not be looked anywhere else other than the master sources on some oddball platform. I will start over. -- __

[issue42328] ttk style.map function incorrectly handles the default state for element options.

2020-11-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your examples Pat. Now it looks clearer to me. Semantically this data in Tk is a sequence of pairs: states (which can be a single word or several words or empty) and default value. >>> from tkinter import ttk >>> style = ttk.Style() >>> style

[issue42361] Use Tcl/Tk 8.6.10 in build-installer.py when building on recent macOS

2020-11-15 Thread Ronald Oussoren
New submission from Ronald Oussoren : As discussed before we want to switch to Tcl/Tk 8.6.10 when building the installer on a recent version of macOS. The build on macOS 10.9 should continue to use 8.6.8 due to build issues. PR is forthcoming (currently running tests) -- assignee: ro

[issue42361] Use Tcl/Tk 8.6.10 in build-installer.py when building on recent macOS

2020-11-15 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +22184 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/23293 ___ Python tracker _

[issue42345] Equality of typing.Literal depends on the order of arguments

2020-11-15 Thread Yurii Karabas
Change by Yurii Karabas <1998uri...@gmail.com>: -- keywords: +patch nosy: +uriyyo nosy_count: 3.0 -> 4.0 pull_requests: +22185 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/23294 ___ Python tracker

[issue41100] Build failure on macOS 11 (beta)

2020-11-15 Thread Ronald Oussoren
Change by Ronald Oussoren : -- pull_requests: +22186 pull_request: https://github.com/python/cpython/pull/23295 ___ Python tracker ___ _

[issue42153] doc: library imaplib a url not available

2020-11-15 Thread Yash Shete
Change by Yash Shete : -- pull_requests: +22187 pull_request: https://github.com/python/cpython/pull/23296 ___ Python tracker ___ __

[issue42153] doc: library imaplib a url not available

2020-11-15 Thread Yash Shete
Change by Yash Shete : -- pull_requests: +22188 pull_request: https://github.com/python/cpython/pull/23297 ___ Python tracker ___ __

[issue41100] Support macOS 11 and Apple Silicon Macs

2020-11-15 Thread Ned Deily
Change by Ned Deily : -- title: Build failure on macOS 11 (beta) -> Support macOS 11 and Apple Silicon Macs ___ Python tracker ___

[issue42362] Switch to clang as default compiler in build-installer.py

2020-11-15 Thread Ronald Oussoren
New submission from Ronald Oussoren : build-installer.py still defaults to gcc as the default compiler, even though clang has been the system compiler for ages (and gcc is an alias in anything remotely recent). PR is forthcoming -- assignee: ronaldoussoren components: macOS messages:

[issue42362] Switch to clang as default compiler in build-installer.py

2020-11-15 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +22189 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/23298 ___ Python tracker _

[issue42363] I think it will be better to output self._state for debugging

2020-11-15 Thread Jim Lin
New submission from Jim Lin : I think the exception "raise ValueError("Pool not running")" is not easy for a programmer to quickly know the problem of their code. Therefore, I add the value of self._state when throwing the ValueError. -- components: Library (Lib) messages: 381016 nosy

[issue42363] I think it will be better to output self._state for debugging

2020-11-15 Thread Jim Lin
Change by Jim Lin : -- keywords: +patch pull_requests: +22190 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23299 ___ Python tracker ___

[issue27119] `compile` doesn't compile into an AST object as specified

2020-11-15 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: We've added a reference to the compiler flags into the compile(), see issue 40484 for details. -- resolution: -> duplicate stage: -> resolved status: open -> closed versions: +Python 3.10 -Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8

[issue42345] Equality of typing.Literal depends on the order of arguments

2020-11-15 Thread Ken Jin
Ken Jin added the comment: @Guido and @Ivan, Should Literals de-duplicate values in its __args__ similar to Union? PEP 586 states that: > Literal[v1, v2, v3] is equivalent to Union[Literal[v1], Literal[v2], > Literal[v3]] Naturally, a Union de-duplicates values, so I was wondering if Litera

[issue42328] ttk style.map function incorrectly handles the default state for element options.

2020-11-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22191 pull_request: https://github.com/python/cpython/pull/23300 ___ Python tracker ___

[issue42318] [tkinter] surrogate pairs in Tcl/Tk string when pasting an emoji in a text widget

2020-11-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset a26215db11cfcf7b5f55cab9e91396761a0e0bcf by Serhiy Storchaka in branch 'master': bpo-42318: Fix support of non-BMP characters in Tkinter on macOS (GH-23281) https://github.com/python/cpython/commit/a26215db11cfcf7b5f55cab9e91396761a0e0bcf --

[issue38495] print built-in function docs bug

2020-11-15 Thread Julien Palard
Julien Palard added the comment: Hi! Thanks Alex for reporting, and everyone involved. This has been fixed in python-docs-theme, so it's fixed for >=3.8. As 3.7 is in security-only (and embeds python-docs-theme), better not touch it. Bests. -- resolution: -> fixed stage: patch rev

[issue41116] build on macOS 11 (beta) does not find system-supplied third-party libraries

2020-11-15 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +22192 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23301 ___ Python tracker ___

[issue29076] Mac installer shell updater script silently fails if default shell is fish

2020-11-15 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Sure, I'll create a PR right away. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue29076] Mac installer shell updater script silently fails if default shell is fish

2020-11-15 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +22193 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/23302 ___ Python tracker ___

[issue41832] PyType_FromSpec() should accept tp_doc=NULL

2020-11-15 Thread STINNER Victor
STINNER Victor added the comment: Sorry Petr, I didn't notice that the note was fully removed in the first change. Thanks for restoring the note! -- ___ Python tracker ___ __

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

2020-11-15 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +22194 pull_request: https://github.com/python/cpython/pull/23303 ___ Python tracker ___

[issue16801] Preserve original representation for integers / floats in docstrings

2020-11-15 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I'm very late to join this thread, but since the Constant() node has now a kind field, we can possibly add this (though I'm not saying we should, depending on whether still this would be a nice addition to clinic docstrings.) 2 options that I can think off:

[issue16801] Preserve original representation for integers / floats in docstrings

2020-11-15 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue42360] In the namedtuple documentation, mention that typename should match the variable name for the class to be pickle-able

2020-11-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'll add a brief note to the named tuple docs. FWIW, this is a special case of the more general issue that pickling errors tend to be inscrutable. -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Py

[issue4643] cgitb.html fails if getattr call raises exception

2020-11-15 Thread Irit Katriel
Irit Katriel added the comment: The issue still occurs in 3.10. Python 3 version of the script: import cgitb class WeirdObject(object): def __getattr__(self, attr): if attr == 'a': return 'the letter a' elif attr == 'b': return str(slf) # Intention

[issue4643] cgitb.html fails if getattr call raises exception

2020-11-15 Thread Irit Katriel
Irit Katriel added the comment: Arthur, are you interested in converting your patch to a github pull request? -- ___ Python tracker ___

[issue16543] improve TypeError messages for missing arguments (meta issue)

2020-11-15 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.9 -Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___ _

[issue17437] Difference between open and codecs.open

2020-11-15 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___ _

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-15 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +22195 pull_request: https://github.com/python/cpython/pull/23304 ___ Python tracker ___

[issue13888] test_builtin failure when run after test_tk

2020-11-15 Thread Irit Katriel
Irit Katriel added the comment: I couldn't reproduce this on a macOS (3.10). Is it still an issue? -- nosy: +iritkatriel status: open -> pending ___ Python tracker ___ ___

[issue19070] In place operators of weakref.proxy() not returning self.

2020-11-15 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.6, Python 2.7, Python 3.3 ___ Python tracker ___ _

[issue2941] Propagate define to resurce mingw32 compile

2020-11-15 Thread Irit Katriel
Irit Katriel added the comment: Alexandr, is this still an issue, and if so can you explain what the issue is? -- nosy: +iritkatriel status: open -> pending ___ Python tracker

[issue25053] Possible race condition in Pool

2020-11-15 Thread Anil Bishnoie
Anil Bishnoie added the comment: I still get this error while processing multiple tasks in python 3.8 Is this bug resolved and where I can find resolution ? -- nosy: +anilb versions: +Python 3.8 ___ Python tracker

[issue25053] Possible race condition in Pool

2020-11-15 Thread Anil Bishnoie
Anil Bishnoie added the comment: Traceback (most recent call last): File "C:\Python38\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() File "C:\Python38\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) File "C:\Python38

[issue25053] Possible race condition in Pool

2020-11-15 Thread Anil Bishnoie
Anil Bishnoie added the comment: Before running the Pool I checked whether my func existed in memory or not and it was there well defined by address and works fine otherwise >>> ld_df1 -- ___ Python tracker _

[issue25053] Possible race condition in Pool

2020-11-15 Thread Anil Bishnoie
Anil Bishnoie added the comment: from multiprocessing import Pool l_adt=ldir() l_ln=len(l_stk) p = Pool(processes=l_ln) df = p.map(ld_df1, [i for i in l_adt]) l_ln=12 processes Above is the self explanatory code snippet IS there a resolution ? -- ___

[issue38976] Add support for HTTP Only flag in MozillaCookieJar

2020-11-15 Thread Daniel Lenski
Daniel Lenski added the comment: This issue is essentially a duplicate of the very-longstanding #2190. My PR (https://github.com/python/cpython/pull/22798) was submitted before this one, but this one was accepted and merged first. -- nosy: +dlenski __

[issue38976] Add support for HTTP Only flag in MozillaCookieJar

2020-11-15 Thread Daniel Lenski
Change by Daniel Lenski : -- pull_requests: +22196 pull_request: https://github.com/python/cpython/pull/22798 ___ Python tracker ___ ___

[issue2190] MozillaCookieJar ignores HttpOnly cookies

2020-11-15 Thread Daniel Lenski
Daniel Lenski added the comment: Issue #38976 is a duplicate of this one, and now closed by https://github.com/python/cpython/pull/17471 -- ___ Python tracker ___

[issue2190] MozillaCookieJar ignores HttpOnly cookies

2020-11-15 Thread Jacob Taylor
Change by Jacob Taylor : -- nosy: +Jacob Taylor nosy_count: 8.0 -> 9.0 pull_requests: +22197 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17471 ___ Python tracker __

[issue25053] Possible race condition in Pool

2020-11-15 Thread Anil Bishnoie
Anil Bishnoie added the comment: Process SpawnPoolWorker-36: Process SpawnPoolWorker-28: Process SpawnPoolWorker-33: Process SpawnPoolWorker-30: Process SpawnPoolWorker-34: Process SpawnPoolWorker-32: Process SpawnPoolWorker-35: Process SpawnPoolWorker-38: Process SpawnPoolWorker-37: Process Sp

[issue42360] In the namedtuple documentation, mention that typename should match the variable name for the class to be pickle-able

2020-11-15 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +22198 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23305 ___ Python tracker __

[issue39168] Generic type subscription is a huge toll on Python performance

2020-11-15 Thread David Lord
David Lord added the comment: Is this performance issue supposed to be fixed in 3.9? I'm still observing severe slowdown by inheriting from `Generic[T]`. I'm currently adding typing to Werkzeug, where we define many custom data structures such as `MultiDict`. It would be ideal for these clas

[issue42115] Caching infrastructure for the evaluation loop: specialised opcodes

2020-11-15 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue25053] Possible race condition in Pool

2020-11-15 Thread Anil Bishnoie
Anil Bishnoie added the comment: Fatal Python error: init_sys_streams: can't initialize sys standard streams Python runtime state: core initialized File "C:\Python38\lib\multiprocessing\process.py", line 315, in _bootstrap During handling of the above exception, another exception occurred:

[issue13888] test_builtin failure when run after test_tk

2020-11-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: tcl/tk 8.5, likely used in 2012 test, was by default compiled without thread support. 8.6, used now for sure on psf Windows and Macs installs and I believe on most *nixes, the default is *with* thread support. Given the comments, this might affect results.

[issue2190] MozillaCookieJar ignores HttpOnly cookies

2020-11-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: So, is anything more needed, or should PR-22798 and this issue be closed? -- nosy: +orsenthil ___ Python tracker ___ _

[issue1676820] Add a PeriodicTimer to threading

2020-11-15 Thread Irit Katriel
Irit Katriel added the comment: Based on the comments, should this be closed as rejected? -- nosy: +iritkatriel status: open -> pending ___ Python tracker ___ __

[issue39168] Generic type subscription is a huge toll on Python performance

2020-11-15 Thread Guido van Rossum
Guido van Rossum added the comment: @davidm I don't see such a dramatic difference -- the generic version is a tad slower, but the difference is less than the variation between runs. What platform are you using? (I'm doing this on Windows.) -- _

[issue1289136] distutils extension library path bug on cygwin

2020-11-15 Thread Irit Katriel
Irit Katriel added the comment: I see that the erroneous "is string.find..." condition is no longer in the code: https://github.com/python/cpython/blob/master/Lib/distutils/command/build_ext.py#L220 Is this issue out of date or is there something still to do on it? -- nosy: +iritka

[issue42364] Typo in french doc translation

2020-11-15 Thread Mathias MICHEL
New submission from Mathias MICHEL : In https://docs.python.org/fr/3/tutorial/inputoutput.html, § 7.1.3. Formatage de chaînes à la main After the code block the sentence between () should replace `donc` by `dont`: (Remarquez que l'espace séparant les colonnes vient de la manière dont print()

[issue1465554] Cygwin installer should create a link to libpythonX.Y.dll.a

2020-11-15 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: test needed -> resolved status: open -> closed superseder: -> distutils extension library path bug on cygwin ___ Python tracker

[issue1178136] cgitb.py support for frozen images

2020-11-15 Thread Irit Katriel
Irit Katriel added the comment: Barry, are you interested in converting this patch into a github PR? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue1178136] cgitb.py support for frozen images

2020-11-15 Thread Irit Katriel
Change by Irit Katriel : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue6237] Build errors when using LDFLAGS="-Wl,--no-undefined"

2020-11-15 Thread Irit Katriel
Irit Katriel added the comment: Closing as out of date because it's from 14 years ago and the OP did not reply to Mark's ping. If this is an issue in Python 3 please open a new issue for that. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> clos

[issue6497] Support for digital Cinema/film DPX and Kodak Cineon image file formats in imghdr module

2020-11-15 Thread Irit Katriel
Change by Irit Katriel : -- type: behavior -> enhancement versions: +Python 3.10, Python 3.9 -Python 2.7, Python 3.2 ___ Python tracker ___ _

[issue10898] posixmodule.c redefines FSTAT

2020-11-15 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___ _

[issue14531] Backtrace should not attempt to open file

2020-11-15 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> Traceback display code can attempt to open a file named "" ___ Python tracker _

[issue4802] detect_tkinter for cygwin

2020-11-15 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.9 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue4297] Add error_log attribute to optparse.OptionParser

2020-11-15 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Pyth

[issue39168] Generic type subscription is a huge toll on Python performance

2020-11-15 Thread David Lord
David Lord added the comment: I'm using Arch Linux. After your reply I tried again and now I'm seeing the same result as you, negligible difference from inheriting `Generic` on Python 3.9. I can't explain it, I ran the timings repeatedly before I posted here, but I guess it was a weird tempo

[issue14338] Document how to forward POST data on redirects

2020-11-15 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy (C) versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker ___ _

[issue14390] Tkinter single-threaded deadlock

2020-11-15 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker ___ _

[issue39168] Generic type subscription is a huge toll on Python performance

2020-11-15 Thread Guido van Rossum
Guido van Rossum added the comment: No worries. I tend to run each time it command at least three times before I trust the numbers. Professional bench markers also configure a machine without background tasks (email etc.). -- ___ Python tracker <

[issue18838] The order of interactive prompt and traceback on Windows

2020-11-15 Thread Irit Katriel
Irit Katriel added the comment: On version 3.10, windows 10 I don't see this - the prompt comes after the traceback. Adam, are you seeing this issue on any python version >= 3.8? -- nosy: +iritkatriel status: open -> pending ___ Python tracker

[issue42365] Python launcher: sort order in "Installed versions" off with 3.10

2020-11-15 Thread Guido van Rossum
New submission from Guido van Rossum : I installed Python 3.10 on Windows and now the sort order of the versions printed by `py -0` is kind of weird: ``` Installed Pythons found by C:\WINDOWS\py.exe Launcher for Windows -3.9-64 * -3.8-64 -3.7-64 -3.6-64 -3.5-64 -3.10-64 ``` I'm guessing w

[issue42345] Equality of typing.Literal depends on the order of arguments

2020-11-15 Thread Guido van Rossum
Guido van Rossum added the comment: Yeah, I think it makes sense to de-dupe args for Literal. -- ___ Python tracker ___ ___ Python-

[issue42317] Docs of `typing.get_args`: Mention that due to caching of typing generics the order of arguments for Unions can be different from the one of the returned tuple

2020-11-15 Thread miss-islington
miss-islington added the comment: New changeset c3b9592244a9112d8af9610ff1c4e1e4cd4bfaca by Dominik1123 in branch 'master': bpo-42317: Improve docs of typing.get_args concerning Union (GH-23254) https://github.com/python/cpython/commit/c3b9592244a9112d8af9610ff1c4e1e4cd4bfaca -- nos

[issue42317] Docs of `typing.get_args`: Mention that due to caching of typing generics the order of arguments for Unions can be different from the one of the returned tuple

2020-11-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +22199 pull_request: https://github.com/python/cpython/pull/23307 ___ Python tracker ___ __

[issue42280] The list of standard generic collections is incomplete

2020-11-15 Thread Guido van Rossum
Guido van Rossum added the comment: I think the difference between the two lists is that not every generic type is a collection. If we apply that standard, I think the contextlib and re classes need to be *removed* from the list (did I get that right?). -- _

[issue42317] Docs of `typing.get_args`: Mention that due to caching of typing generics the order of arguments for Unions can be different from the one of the returned tuple

2020-11-15 Thread miss-islington
miss-islington added the comment: New changeset 2369759a47c5292bacf2eef17b4e2388b7d36675 by Miss Islington (bot) in branch '3.9': bpo-42317: Improve docs of typing.get_args concerning Union (GH-23254) https://github.com/python/cpython/commit/2369759a47c5292bacf2eef17b4e2388b7d36675

[issue42317] Docs of `typing.get_args`: Mention that due to caching of typing generics the order of arguments for Unions can be different from the one of the returned tuple

2020-11-15 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42280] The list of standard generic collections is incomplete

2020-11-15 Thread jack1142
jack1142 added the comment: I was thinking that this could be the case but if I'm not mistaken, there's actually quite a lot of types in this list that aren't collections (awaitable, coroutine, iterable, iterator, generator, the async versions of those, callable, *hmm, are views collections?

[issue42280] The list of standard generic collections is incomplete

2020-11-15 Thread Guido van Rossum
Guido van Rossum added the comment: Let’s just close this, there are more important things to do. -- ___ Python tracker ___ ___ Pyth

[issue42365] Python launcher: sort order in "Installed versions" off with 3.10

2020-11-15 Thread Yash Shete
Yash Shete added the comment: I would like to try look into this problem. can you please point me into right direction, like: where and what to edit. I am not much experienced but i would like to try. thankyou -- nosy: +Pixmew ___ Python tracker

[issue42365] Python launcher: sort order in "Installed versions" off with 3.10

2020-11-15 Thread Zackery Spytz
Zackery Spytz added the comment: This seems like a duplicate of bpo-38506 (which already has a PR). -- nosy: +ZackerySpytz ___ Python tracker ___ _

[issue36011] ssl - tls verify on Windows fails

2020-11-15 Thread Tom Kent
Tom Kent added the comment: Christian's message indicated that a workaround was possible by adding mozilla's certs to windows cert store. I'm sure there are sysadmins who will really hate this idea, but I've successfully implemented it in a windows docker image, and wanted to document here

[issue42332] add __weakref__ to types.GenericAlias

2020-11-15 Thread miss-islington
miss-islington added the comment: New changeset 384b7a4bd988986bca227c7e85c32d766da74708 by kj in branch 'master': bpo-42332: Add weakref slot to types.GenericAlias (GH-23250) https://github.com/python/cpython/commit/384b7a4bd988986bca227c7e85c32d766da74708 -- nosy: +miss-islington

[issue42332] add __weakref__ to types.GenericAlias

2020-11-15 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +22200 pull_request: https://github.com/python/cpython/pull/23309 ___ Python tracker ___ ___ P

[issue42365] Python launcher: sort order in "Installed versions" off with 3.10

2020-11-15 Thread Guido van Rossum
Guido van Rossum added the comment: Oops. :-) -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38506] Launcher for Windows (py.exe) may rank Python 3.xx (in the future) after 3.x

2020-11-15 Thread Guido van Rossum
Guido van Rossum added the comment: I think now's the time to fix it, given that we're two alphas into 3.10 already. (I independently discovered this and filed it as issue 42365.) -- nosy: +gvanrossum ___ Python tracker

[issue38506] Launcher for Windows (py.exe) may rank Python 3.xx (in the future) after 3.x

2020-11-15 Thread Guido van Rossum
Change by Guido van Rossum : -- versions: +Python 3.10 -Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue38506] Launcher for Windows (py.exe) may rank Python 3.xx (in the future) after 3.x

2020-11-15 Thread Guido van Rossum
Guido van Rossum added the comment: Hm, actually I think this needs to be backported to 3.8 and 3.9 (at least) since IIUC whichever release is installed last (or first?) overwrites "py.exe", so if "py.exe" came from e.g. 3.9, and 3.10 is present, we still want it to sort that correctly. ---

[issue42195] Inconsistent __args__ between typing.Callable and collections.abc.Callable

2020-11-15 Thread Guido van Rossum
Guido van Rossum added the comment: @Hatfield-Dodds, if we changed typing.Callable to return ((int, int), str) but collections.abc.Callable continued to return ([int, int], str), would that suffice for your purposes? -- ___ Python tracker

[issue42195] Inconsistent __args__ between typing.Callable and collections.abc.Callable

2020-11-15 Thread Guido van Rossum
Guido van Rossum added the comment: Also, maybe we should make builtins.callable generic as well? -- ___ Python tracker ___ ___ Pyt

[issue42153] doc: library imaplib a url not available

2020-11-15 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset aa01011003bb855cd52abfd49f2443446590d913 by Yash Shete in branch 'master': bpo-42153 Fix link to IMAP documents in imaplib.rst (GH-23297) https://github.com/python/cpython/commit/aa01011003bb855cd52abfd49f2443446590d913 -- nosy: +gva

[issue42153] doc: library imaplib a url not available

2020-11-15 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +22201 pull_request: https://github.com/python/cpython/pull/23310 ___ Python tracker _

[issue42153] doc: library imaplib a url not available

2020-11-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +22202 pull_request: https://github.com/python/cpython/pull/23311 ___ Python tracker ___ __

[issue42153] doc: library imaplib a url not available

2020-11-15 Thread Guido van Rossum
Guido van Rossum added the comment: Closing in anticipation of the backports landing. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue42195] Inconsistent __args__ between typing.Callable and collections.abc.Callable

2020-11-15 Thread Zac Hatfield-Dodds
Zac Hatfield-Dodds added the comment: > @Hatfield-Dodds, if we changed typing.Callable to return ((int, int), str) > but collections.abc.Callable continued to return ([int, int], str), would > that suffice for your purposes? For performance reasons I'd prefer that the return value be hashabl

  1   2   >