[issue42153] doc: library imaplib a url not available

2020-11-14 Thread Yash Shete
Yash Shete added the comment: Then I shall remove the archive link -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42316] Walrus Operator in list index

2020-11-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +22182 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23291 ___ Python tracker ___

[issue42153] doc: library imaplib a url not available

2020-11-14 Thread Georg Brandl
Georg Brandl added the comment: It doesn't make sense to include the archive link, the documentation it refers to is available in the GitHub repository under docs/. -- nosy: +georg.brandl ___ Python tracker

[issue42153] doc: library imaplib a url not available

2020-11-14 Thread Yash Shete
Yash Shete added the comment: Sorry my Bad your version is Good you can submit your PR,If any problem May I submit it please -- ___ Python tracker ___

[issue42153] doc: library imaplib a url not available

2020-11-14 Thread Yash Shete
Yash Shete added the comment: As Documentaion of imaplib we should provide information of imap itself -- ___ Python tracker ___

[issue42153] doc: library imaplib a url not available

2020-11-14 Thread Yash Shete
Yash Shete added the comment: The link provided gives UW IMAP Server Documentation not In general Documentation Of IMAP -- ___ Python tracker ___

[issue42153] doc: library imaplib a url not available

2020-11-14 Thread Hitansh K Doshi
Hitansh K Doshi added the comment: I made changes to rst file and added link that I got from university of Washington do check it. Let me know if any changes, you find it proper. I will submit my PR. changes in shown in image -- Added file:

[issue42343] threading.local documentation should be on the net...

2020-11-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: Would you like to make a PR to fix it? -- keywords: +newcomer friendly nosy: +rhettinger ___ Python tracker ___

[issue42302] [Turtle] Add clockwise and anticlockwise method as alias to right and left

2020-11-14 Thread Ravi Chityala
Change by Ravi Chityala : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue32958] socket module calls with long host names can fail with idna codec error

2020-11-14 Thread --
Change by -- : -- nosy: +midopa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42359] tutorial: list is a class

2020-11-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: I think the current wording is fine. After the type/class unification we tend to use the words "type" and "class" almost interchangeably. For builtins, we still tend to say type though. The language itself tends to mix the terms as well: >>> class A:

[issue42359] tutorial: list is a class

2020-11-14 Thread Andy Harrington
New submission from Andy Harrington : Documentation in Tutorial section 9.3.3 seems to be stuck in Python 2: "In Python, the term method is not unique to class instances: other object types can have methods as well. For example, list objects have methods called append, insert, remove, sort,

[issue42353] Proposal: re.prefixmatch method (alias for re.match)

2020-11-14 Thread Matthew Suozzo
Matthew Suozzo added the comment: > It just won't work unless you add explicit ".*" or ".*?" at the start of the > pattern But think of when regexes are used for validating input. Getting it to "just work" may be over-permissive validation that only actually checks the beginning of the

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

2020-11-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Verified Traceback (most recent call last): File "F:\Python\a\tem4.py", line 5, in style.map('Custom.TNotebook.Tab', **style.map('TNotebook.Tab')) File "C:\Program Files\Python310\lib\tkinter\ttk.py", line 403, in map self.tk.call(self._name,

[issue42330] Add browsh in the webbrowser module

2020-11-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker ___

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

2020-11-14 Thread Pat Thoyts
Pat Thoyts added the comment: So if you look at the clamTheme.tcl file you can see the definition of the map for the TNotebook.Tab style looks like the following: ttk::style map TNotebook.Tab \ -padding [list selected {6 4 6 2}] \ -background [list selected $colors(-frame) {}

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

2020-11-14 Thread Christian Heimes
Christian Heimes added the comment: > I suspect that the little endian systems will > be no great concern as the bulk of Python devs seem to have never > seen anything else other than little endian systems running Red Hat. We don't fancy this kind of passive-aggressive and accusatory

[issue42178] failed pickle hangs python on exit in CMD.exe only

2020-11-14 Thread Teugea Ioan-Teodor
Change by Teugea Ioan-Teodor : -- keywords: +patch nosy: +John-Ted nosy_count: 6.0 -> 7.0 pull_requests: +22181 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23290 ___ Python tracker

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

2020-11-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry, I did not understand how did you get an empty state? Could you please provide complete reproducible example? -- ___ Python tracker

[issue39411] pyclbr rewrite using AST

2020-11-14 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42293] Installation of pyinstaller in Windows fails with utf8 error

2020-11-14 Thread Paul Moore
Paul Moore added the comment: I've raised https://github.com/pypa/pip/issues/9135 for this. -- ___ Python tracker ___ ___

[issue42339] official embedded Python fails to import certain modules

2020-11-14 Thread Jelle Geerts
Jelle Geerts added the comment: > Mixed-language output is awkward. A common _Py_FormatMessage function could > be added in 3.10 that tries getting an error message in English before trying > to get it in the user's default language. I agree that in general mixed-language can be odd. But I

[issue42339] official embedded Python fails to import certain modules

2020-11-14 Thread Eryk Sun
Eryk Sun added the comment: > maybe there's a list of updates (or FAQ) to which you > want to add KB3063858? The documentation of the embeddable package [1] could highlight the need for KB2533623. Currently it's directly mentioned only in "What's New in Python 3.8" [2]. > ImportError: DLL

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

2020-11-14 Thread Dennis Clarke
Dennis Clarke added the comment: I gave up on trying to compile this code with C99. Trying C11 and hope that blows up in different places. -- ___ Python tracker ___

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

2020-11-14 Thread Dennis Clarke
New submission from Dennis Clarke : Seems related to issue42173 where the idea on the table was, simply to drop Solaris support and to quote Mr Stinner to "let the code slowly die". Regardless of this sort of neglect there are people who do try to use Python on big endian risc systems such as

[issue42330] Add browsh in the webbrowser module

2020-11-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I concur with Terry. Actually, registering the browser is not necessary for using it. Set the environment variable BROWSER and use your favorite browser. The following example uses curl (which is not registered as in the webbrowser module) as a browser:

[issue42293] Installation of pyinstaller in Windows fails with utf8 error

2020-11-14 Thread giomach
giomach added the comment: I'm not sure whose responsibility it is to take this to the "pip tracker", but as a newcomer to the python environment I know nothing about that process, so it would be appreciated if some of the other people here would be kind enough to do this. --

[issue42330] Add browsh in the webbrowser module

2020-11-14 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 2.0 -> 3.0 pull_requests: +22180 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23289 ___ Python tracker

[issue42353] Proposal: re.prefixmatch method (alias for re.match)

2020-11-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: My point is that re.match is a common bug when people really want re.search. re.prefixmatch makes it explicit and non-confusing and thus unlikely to be used wrong or misunderstood when read or reviewed. The term "match" when talking about regular

[issue41712] REDoS in purge

2020-11-14 Thread Yash Shete
Change by Yash Shete : -- pull_requests: +22179 pull_request: https://github.com/python/cpython/pull/23287 ___ Python tracker ___

[issue42153] doc: library imaplib a url not available

2020-11-14 Thread Yash Shete
Yash Shete added the comment: Should I change the link to new one (not University of Washington’s IMAP Information Center) as it contains so much information about IMAP4. I could not find any link from University of Washington, So I suggest changing the link all together. I have a link in

[issue42153] doc: library imaplib a url not available

2020-11-14 Thread Hitansh K Doshi
Hitansh K Doshi added the comment: I contacted them I got to know that the project is discontinued since 2008 and the resources are no more maintained. they have provided with an github repo and an archive file link This is the exact reply: Unfortunately, both UW IMAP and Pine/Alpine

[issue42357] Wrong Availability for signal.SIGCHLD

2020-11-14 Thread Maiyun Zhang
New submission from Maiyun Zhang : The availability for `signal.SIGCHLD` is not correct. This seems to be present since Python 3.7 -- assignee: docs@python components: Documentation messages: 380981 nosy: docs@python, myzhang1029 priority: normal severity: normal status: open title:

[issue42357] Wrong Availability for signal.SIGCHLD

2020-11-14 Thread Maiyun Zhang
Change by Maiyun Zhang : -- keywords: +patch pull_requests: +22177 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23285 ___ Python tracker ___

[issue42356] Dict inline manipulations

2020-11-14 Thread Eric V. Smith
Eric V. Smith added the comment: I think you should bring this up on the python-ideas mailing list if you'd like to see it discussed. It will likely also require a PEP, similar to PEP 584. -- nosy: +eric.smith ___ Python tracker

[issue42351] Setup.py: UnicodeDecodeError in grep_headers_for

2020-11-14 Thread E. Paine
Change by E. Paine : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42351] Setup.py: UnicodeDecodeError in grep_headers_for

2020-11-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: Thanks for testing! -- resolution: -> fixed stage: patch review -> resolved ___ Python tracker ___

[issue42351] Setup.py: UnicodeDecodeError in grep_headers_for

2020-11-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset 7a27c7ed4b2b45bb9ea27d3f5c4f423495d6e939 by Ronald Oussoren in branch 'master': bpo-42351: Avoid error when opening header with non-UTF8 encoding (GH-23279) https://github.com/python/cpython/commit/7a27c7ed4b2b45bb9ea27d3f5c4f423495d6e939

[issue37205] time.perf_counter() is not system-wide on Windows, in disagreement with documentation

2020-11-14 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 23284 to make time.perf_counter() on Windows and time.monotonic() on macOS system-wide (remove the offset computed at startup). I also suggested the usage of the _ns() variant functions in the documentation. --

[issue37205] time.perf_counter() is not system-wide on Windows, in disagreement with documentation

2020-11-14 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +22176 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23284 ___ Python tracker ___

[issue42260] [C API] Add PyInterpreterState_SetConfig(): reconfigure an interpreter

2020-11-14 Thread Nick Coghlan
Change by Nick Coghlan : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41832] PyType_FromSpec() should accept tp_doc=NULL

2020-11-14 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 2b39da49974bda523c5c1a8777bbe30dbafdcd12 by Hai Shi in branch 'master': bpo-41832: Restore note about NULL in PyType_Slot.pfunc (GH-23243) https://github.com/python/cpython/commit/2b39da49974bda523c5c1a8777bbe30dbafdcd12 --

[issue42353] Proposal: re.prefixmatch method (alias for re.match)

2020-11-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I seen a code which uses re.search() with anchor ^ instead of re.match(), but I never seen a code which uses re.match() instead of re.search(). It just won't work unless you add explicit ".*" or ".*?" at the start of the pattern, and it is a clear

[issue42354] Tuple unpacking with * causes SyntaxError in with ... as ...

2020-11-14 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Already fixed with GH-22612 -- nosy: +BTaskaya resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker ___

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

2020-11-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +22175 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/23281 ___ Python tracker

[issue42339] official embedded Python fails to import certain modules

2020-11-14 Thread Jelle Geerts
Jelle Geerts added the comment: Problem still occurs with newer KB3118401 installed (instead of KB2999226). But good news: Installing update KB3063858 (or the older KB2533623) resolves the issue. That update adds the new kernel32.dll functions SetDefaultDllDirectories, AddDllDirectory, and

[issue42356] Dict inline manipulations

2020-11-14 Thread Tomek H
New submission from Tomek H : With Python3.9 there is a great feature for merging `dict`s: {1: 'a'} | {2: 'b'} => {1: 'a', 2: 'b'} It would be very handy to filter out a dict with a similar fashion (for example & operator with a list/tuple/frozenset of keys you want to get back): {1: 'a', 2:

[issue17852] Built-in module _io can lose data from buffered files in reference cycles

2020-11-14 Thread Nikolaus Rath
Change by Nikolaus Rath : -- nosy: -nikratio ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41100] Build failure on macOS 11 (beta)

2020-11-14 Thread Ronald Oussoren
Change by Ronald Oussoren : -- pull_requests: +22174 pull_request: https://github.com/python/cpython/pull/23280 ___ Python tracker ___

[issue42351] Setup.py: UnicodeDecodeError in grep_headers_for

2020-11-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've created PR. Could you please check if that fixes the problem? -- ___ Python tracker ___

[issue42351] Setup.py: UnicodeDecodeError in grep_headers_for

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

[issue12488] multiprocessing.Connection does not communicate pipe closure between parent and child

2020-11-14 Thread Charles-François Natali
Change by Charles-François Natali : -- nosy: -neologix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17852] Built-in module _io can lose data from buffered files in reference cycles

2020-11-14 Thread Charles-François Natali
Change by Charles-François Natali : -- nosy: -neologix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42316] Walrus Operator in list index

2020-11-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: PEP 572 does not saw much of anything about when parens are needed. Nor does the low priority itself. Looking through the grammar of expressions, an assignment_expression is also a starred_expression, a positional_item (in calls), and the first part of a

[issue42355] symtable: get_namespace doesn't check whether if there are multiple namespaces or no namespaces at all

2020-11-14 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +22172 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23278 ___ Python tracker ___

[issue42355] symtable: get_namespace doesn't check whether if there are multiple namespaces or no namespaces at all

2020-11-14 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : >>> table = symtable.symtable("A = 1", "", "exec") >>> table.lookup("A") >>> table.lookup("A").get_namespace() Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.10/symtable.py", line 312, in get_namespace raise

[issue42293] Installation of pyinstaller in Windows fails with utf8 error

2020-11-14 Thread Paul Moore
Paul Moore added the comment: Erik is correct, this is a pip bug. Please raise an issue on the pip tracker linking to this issue and we can fix it. -- ___ Python tracker ___

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

2020-11-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: You have 2 user names, both nosy. You logged in with the lower-case name, hence the Author listing above. However, your CLA was registered with your uppercase (older?) login name. (If this is not what you intended, please write ewa at ython.org and

[issue42330] Add browsh in the webbrowser module

2020-11-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: We do not add just any old or new browser to webrowser's predefined list. (And there are likely some that should be dropped.) The last addition was the Chrome group in 3.3. Neither Microsoft Explorer or Edge are listed. I believe the former was

[issue42351] Setup.py: UnicodeDecodeError in grep_headers_for

2020-11-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: That's annoying. A quick workaround is to patch setup.py:get_headers_for and add "encoding='latin1'" to the arguments of open. I'll look into a better fix later this weekend. -- ___ Python tracker

[issue42353] Proposal: re.prefixmatch method (alias for re.match)

2020-11-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Regular Expressions nosy: +ezio.melotti, mrabarnett ___ Python tracker ___ ___

[issue42334] Subclassing int and complex with keyword arguments weird

2020-11-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: When reporting a failure please copy and paste the exception and message and when non-trivial, the traceback. In this case: "TypeError: 'test' is an invalid keyword argument for complex()". The difference between int and complex versus float is that the

[issue33074] dbm corrupts index on macOS (_dbm module)

2020-11-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is a duplicate of #30388 -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> ndbm can't iterate through values on OS X ___ Python tracker

[issue30388] ndbm can't iterate through values on OS X

2020-11-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: See also #33074 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42354] Tuple unpacking with * causes SyntaxError in with ... as ...

2020-11-14 Thread Ken Jin
Ken Jin added the comment: This is a duplicate of issue bpo-41979, which was already fixed in this merged PR https://github.com/python/cpython/pull/22611 and backported to 3.9. The example code does not error on the latest 3.10. I'm guessing that the bugfix will come in 3.9.1 since the fix

[issue42335] Python Crashes Exception code 0xc0000374 ntdll.dll

2020-11-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: When python as delivered crashes running pure non-ctype Python code, we usually consider it a bug to be fixed. As soon as one pokes around with ctypes or imports 3rd party binaries, the crash is usually due to a user or 3rd par. So this probably should be