[issue42492] [unittest] Missing docs for context manager attributes

2020-11-28 Thread Jason Yundt
New submission from Jason Yundt : The documentation talks about how assertRaises, assertRaisesRegex, assertWarns, and assertWarnsRegex can be used as context managers. It also talks about the attributes of those context managers. Some attributes aren't documented. For example, the warning

[issue42491] Tkinter wait_visibility hanging when used in thread

2020-11-28 Thread E. Paine
E. Paine added the comment: You make very good points but sadly it is not that simple. The issue is described in detail in the comment found in Modules/_tkinter.c:178. A good summary is probably the comment for Tkapp_Call (Modules/_tkinter.c:1522). --

[issue42466] asyncio loop.getaddrinfo raises RuntimeError

2020-11-28 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42347] loop.call_exception_handler documentation is lacking

2020-11-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: Partially addressed by https://github.com/python/cpython/pull/21735 -- ___ Python tracker ___

[issue42392] remove the deprecated 'loop' parameter asyncio API

2020-11-28 Thread Andrew Svetlov
Change by Andrew Svetlov : -- title: remove the 'loop' parameter from __init__ in all classes in asyncio.locks -> remove the deprecated 'loop' parameter asyncio API ___ Python tracker

[issue38599] Deprecate creation of asyncio object when the loop is not running

2020-11-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed by #42392 -- resolution: -> fixed stage: patch review -> resolved status: open -> closed superseder: -> remove the deprecated 'loop' parameter asyncio API versions: +Python 3.10 -Python 3.9 ___ Python

[issue41241] Unnecessary Type casting in 'if condition'

2020-11-28 Thread miss-islington
miss-islington added the comment: New changeset 5b0194ed31376382da63ad5b10271a4acc4a80e8 by Wansoo Kim in branch 'master': bpo-41241: Unnecessary Type casting in 'if condition' (GH-21396) https://github.com/python/cpython/commit/5b0194ed31376382da63ad5b10271a4acc4a80e8 -- nosy:

[issue42489] Wrong method signature in python Documentation

2020-11-28 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 3.0 -> 4.0 pull_requests: +22420 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23538 ___ Python tracker

[issue11107] Cache constant "slice" instances

2020-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Batuhan Taskaya opened a duplicate issue #42454. Since it includes PR-23496, with some review, and at least as much discussion, I am closing this issue, contrary to normal policy. Worthwhile? Batuhan found about 10 constant slices in 3200 PyPI packages,

[issue42392] remove the 'loop' parameter from __init__ in all classes in asyncio.locks

2020-11-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset e4fe303b8cca525e97d44e80c7e53bdab9dd9187 by Yurii Karabas in branch 'master': bpo-42392: Remove loop parameter from asyncio.tasks and asyncio.subprocess (GH-23521)

[issue42488] Mathematical error

2020-11-28 Thread Steven D'Aprano
Steven D'Aprano added the comment: The ^ operator is bitwise-xor (exclusive-or), not exponentiation. Stop wasting our time by posting false bug reports. This is now your fifth incorrect bug report in a row. Once or twice can be forgiven that you didn't know better. Please stop reporting

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-11-28 Thread Christopher Snowhill
Christopher Snowhill added the comment: And I can't report it to Homebrew, either, since they refuse to acknowledge bug reports against beta versions of the OS. I guess I can bug them when 11.1 becomes a stable release, by which time I'll probably be on 11.2. I'll file Feedback with Apple,

[issue42491] TKinter hanging intermittently - sometimes throwing exception

2020-11-28 Thread Steve Carll
New submission from Steve Carll : I'm having a problem with an application that uses threads and TKinter. Sometimes everything works fine but there are 2 errors that I can't seem to figure out why they are happening. The first error is the GUI completely locking up with no text cursor in the

[issue41562] StreamReaderProtocol inheritance

2020-11-28 Thread Dan Pascu
Dan Pascu added the comment: While it may not be affected at a functional level (at least not in a way I can see right now), it is confusing when reading that code. Isn't clarity and avoiding confusion a desired trait for core python code? What about all these recommendations from the Zen

[issue42489] Wrong method signature in python Documentation

2020-11-28 Thread Chuan Lotus
New submission from Chuan Lotus : In python 3.9.1 documentation tutorial 5.1,the method list.sort(key=None, reverse=False) lacks '*' before 'key=None', which may be confused. -- components: macOS messages: 381984 nosy: lotus_chuan, ned.deily, ronaldoussoren priority: normal severity:

[issue42490] Business Logical Error

2020-11-28 Thread Nishant Gautam
Change by Nishant Gautam : -- type: -> security ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42490] Business Logical Error

2020-11-28 Thread Nishant Gautam
New submission from Nishant Gautam : Python does not understand not condition -- files: main.py messages: 381987 nosy: Kshitish priority: normal severity: normal status: open title: Business Logical Error versions: Python 3.8 Added file: https://bugs.python.org/file49630/main.py

[issue42490] Business Logical Error

2020-11-28 Thread Steven D'Aprano
Steven D'Aprano added the comment: Nishant Gautam does not understand not condition. This is your sixth incorrect bug report in a row. Please stop. This is not a help desk to correct your mistakes. a == 10 and (b != (not(11))) and b == a --> True and (b != False) and True --> True and True

[issue42469] Space in re's {min, max} should raise an error, rather than fail silently

2020-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Pending further information, I believe that expecting '{1, 4}' to be interpreted as an re quantifier involves two mental errors: a) thinking that the domain specific re language allows optional whitespace and b) thinking that '{' is a special character only

[issue41241] Unnecessary Type casting in 'if condition'

2020-11-28 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39096] "Format Specification Mini-Language" doc mistake for Decimal

2020-11-28 Thread Mark Dickinson
Change by Mark Dickinson : -- keywords: +patch pull_requests: +22419 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23537 ___ Python tracker ___

[issue42454] Move slice creation to the compiler for constants

2020-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #11107 in favor of this issue. Some of the discussion and concerns (like slice hashing) was similar. -- nosy: +terry.reedy ___ Python tracker

[issue42478] ipaddress.IPv4network.interfaces()

2020-11-28 Thread Wyko ter Haar
Wyko ter Haar added the comment: You bet. Totally forgot when I was replying on my phone :) -- ___ Python tracker ___ ___

[issue42478] ipaddress.IPv4network.interfaces()

2020-11-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34215] streams.py:IncompleteReadError message is unclear when expected is None

2020-11-28 Thread Andrew Svetlov
Change by Andrew Svetlov : -- versions: +Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41756] Do not always use exceptions to return result from coroutine

2020-11-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: Can we close the issue? -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing

[issue34215] streams.py:IncompleteReadError message is unclear when expected is None

2020-11-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 4498e98a6bdf017d3b65fa679baf4c797909beb6 by Miss Islington (bot) in branch '3.8': bpo-34215: Clarify IncompleteReadError message when "expected" is None (GH-21925) (#23540)

[issue42489] Wrong method signature in python Documentation

2020-11-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset d41ec65ab7411e877ca33d05e8c900feca530635 by Zackery Spytz in branch 'master': bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538) https://github.com/python/cpython/commit/d41ec65ab7411e877ca33d05e8c900feca530635 --

[issue42489] Wrong method signature in python Documentation

2020-11-28 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +22423 pull_request: https://github.com/python/cpython/pull/23541 ___ Python tracker

[issue42489] Wrong method signature in python Documentation

2020-11-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +22424 pull_request: https://github.com/python/cpython/pull/23542 ___ Python tracker ___

[issue41562] StreamReaderProtocol inheritance

2020-11-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixing a non-broken thing is not a world-class idea, I think. -- ___ Python tracker ___ ___

[issue42471] Slowdown in socket tests noticed since Py3.8

2020-11-28 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34215] streams.py:IncompleteReadError message is unclear when expected is None

2020-11-28 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +22421 pull_request: https://github.com/python/cpython/pull/23539 ___ Python tracker

[issue34215] streams.py:IncompleteReadError message is unclear when expected is None

2020-11-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +22422 pull_request: https://github.com/python/cpython/pull/23540 ___ Python tracker ___

[issue42491] Tkinter wait_visibility hanging when used in thread

2020-11-28 Thread Steve Carll
Steve Carll added the comment: Thank you to epaine for the quick reply. IMHO this should be elevated and addressed. TKinter not working well with threads appears to be a well known problem that a lot of developers have encountered and have had to work around. The use of threads is not

[issue42489] Wrong method signature in python Documentation

2020-11-28 Thread miss-islington
miss-islington added the comment: New changeset cc5eb935c79bae13def91965e5fb7e8346d9dea1 by Miss Islington (bot) in branch '3.9': bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538) https://github.com/python/cpython/commit/cc5eb935c79bae13def91965e5fb7e8346d9dea1

[issue42478] ipaddress.IPv4network.interfaces()

2020-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Wyko, when responding by email, please delete the message you are responding to, as it is redundant when posted to the web page. -- nosy: +ncoghlan, terry.reedy stage: -> test needed versions: +Python 3.10 -Python 3.9

[issue42471] Slowdown in socket tests noticed since Py3.8

2020-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Should this be closed as 'not a bug'? -- nosy: +terry.reedy ___ Python tracker ___ ___

[issue42491] Tkinter wait_visibility hanging when used in thread

2020-11-28 Thread E. Paine
E. Paine added the comment: I agree this is a race condition, and have narrowed the issue down to wait_visibility with the following also hanging indefinitely (tested against the master branch): import threading import tkinter as tk def create_tp(): t = tk.Toplevel()

[issue34215] streams.py:IncompleteReadError message is unclear when expected is None

2020-11-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 8085f742f4adfbc85f13fc734dfab036aa23acfb by Zackery Spytz in branch 'master': bpo-34215: Clarify IncompleteReadError message when "expected" is None (GH-21925) https://github.com/python/cpython/commit/8085f742f4adfbc85f13fc734dfab036aa23acfb

[issue42489] Wrong method signature in python Documentation

2020-11-28 Thread miss-islington
miss-islington added the comment: New changeset e1c669b7ed18a81bfaa349726424ff5de9485f0a by Miss Islington (bot) in branch '3.8': bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538) https://github.com/python/cpython/commit/e1c669b7ed18a81bfaa349726424ff5de9485f0a

[issue34215] streams.py:IncompleteReadError message is unclear when expected is None

2020-11-28 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34215] streams.py:IncompleteReadError message is unclear when expected is None

2020-11-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset df6c8bcffef3380869c8f76317610ce452880b25 by Miss Islington (bot) in branch '3.9': bpo-34215: Clarify IncompleteReadError message when "expected" is None (GH-21925) (GH-23539)

[issue42489] Wrong method signature in python Documentation

2020-11-28 Thread Andrew Svetlov
Change by Andrew Svetlov : -- assignee: -> docs@python components: +Documentation -macOS nosy: +docs@python resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.8 ___ Python tracker

[issue42477] ip_interface addition and subtraction changes netmask

2020-11-28 Thread E. Paine
Change by E. Paine : -- components: +Library (Lib) nosy: +pmoody versions: +Python 3.10 -Python 3.9 ___ Python tracker ___ ___

[issue42383] Pdb does not correclty restart the target if it changes the current directory

2020-11-28 Thread E. Paine
Change by E. Paine : -- components: +Library (Lib) type: -> behavior versions: +Python 3.10, Python 3.8, Python 3.9 ___ Python tracker ___

[issue42406] Importing multiprocessing breaks pickle.whichmodule

2020-11-28 Thread E. Paine
Change by E. Paine : -- nosy: +davin, pitrou versions: -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue41879] Outdated description of async iterables in documentation of async for statement

2020-11-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: Both mentioned links have the correct code. They use sync __aiter__ and async __anext__ -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue31904] Python should support VxWorks RTOS

2020-11-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset aa1b8a168d8b8dc1dfc426364b7b664501302958 by pxinwr in branch 'master': bpo-31904: Fix test_os.test_getcwd_long_path() failure for VxWorks (GH-20256) https://github.com/python/cpython/commit/aa1b8a168d8b8dc1dfc426364b7b664501302958 --

[issue42493] pathlib.Path.__eq__ should test normalized path

2020-11-28 Thread Austin Scola
New submission from Austin Scola : I think it would be more useful for the pathlib.Path.__eq__ method to test the normalized path (not sure if normalized is the right terminology here). As a concrete example I think that `PosixPath('/foo')` should equal `PosixPath('/foo/../foo')`. This is

[issue42464] Pathlib resolve() resolves non-existent ".." components with strict=False

2020-11-28 Thread E. Paine
Change by E. Paine : -- nosy: +serhiy.storchaka versions: -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41818] Lib/pty.py major revision

2020-11-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 74311aeb45b52cc145d27d9fca99f01874d6882d by Soumendra Ganguly in branch 'master': bpo-41818: Fix test_master_read() so that it succeeds on all platforms that either raise OSError or return b"" upon reading from master (GH-23536)

[issue42494] struct.unpack_from return 2 values instead of one

2020-11-28 Thread Sébastien Lemetter
New submission from Sébastien Lemetter : Hi, I am using an old version, but maybe you can still help me. I am using the ROS operating system, and there, the unpack_from function is used for reading values from bags. When I try to read uint16 with the function pointcloud2.readpoint(), it

[issue42494] struct.unpack_from return 2 values instead of one

2020-11-28 Thread Sébastien Lemetter
Sébastien Lemetter added the comment: I forgot, here is my configuration: Ubuntu 18.04 Ros Melodic Python 2.7 -- ___ Python tracker ___

[issue41100] Support macOS 11 and Apple Silicon Macs

2020-11-28 Thread Andy Dirnberger
Change by Andy Dirnberger : -- nosy: +dirn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42493] pathlib.Path.__eq__ should test normalized path

2020-11-28 Thread Eryk Sun
Eryk Sun added the comment: The __eq__ method would have to do a full resolve(), which is expensive and may fail. One can't simply resolve "/foo/symlink/.." as "/foo", where "symlink" is a filesystem symlink. The target has to be resolved before ".." is evaluated, and the link may be

[issue31904] Python should support VxWorks RTOS

2020-11-28 Thread miss-islington
miss-islington added the comment: New changeset a86a274b7224a5069f82c2d2cdd1f499d9c8dc22 by pxinwr in branch 'master': bpo-31904: add shell requirement for test_pipes (GH-23489) https://github.com/python/cpython/commit/a86a274b7224a5069f82c2d2cdd1f499d9c8dc22 -- nosy:

[issue31904] Python should support VxWorks RTOS

2020-11-28 Thread miss-islington
miss-islington added the comment: New changeset 6a273fdc2a36f52fb70359149eff014f1b6b08d4 by pxinwr in branch 'master': bpo-31904: skip some tests related to fifo on VxWorks (GH-23473) https://github.com/python/cpython/commit/6a273fdc2a36f52fb70359149eff014f1b6b08d4 --

[issue13337] IGNORE_CASE doctest option flag

2020-11-28 Thread Gregory P. Smith
Gregory P. Smith added the comment: FWIW, while i'm never a fan of doctests, this would also help reduce the impact of other golden value tests where different platforms capitalize their error messages or not. -- nosy: +gregory.p.smith versions: +Python 3.10 -Python 3.3

[issue31904] Python should support VxWorks RTOS

2020-11-28 Thread miss-islington
miss-islington added the comment: New changeset 00a6568ba37f0d815289776a51af46d0eac27384 by pxinwr in branch 'master': bpo-31904: remove libnet dependency from detect_socket() for VxWorks (GH-23394) https://github.com/python/cpython/commit/00a6568ba37f0d815289776a51af46d0eac27384

[issue42406] Importing multiprocessing breaks pickle.whichmodule

2020-11-28 Thread Gregory P. Smith
Gregory P. Smith added the comment: gross / nice find :) -- assignee: -> gregory.p.smith nosy: +gregory.p.smith ___ Python tracker ___

[issue42494] struct.unpack_from return 2 values instead of one

2020-11-28 Thread Steven D'Aprano
Steven D'Aprano added the comment: Hi Sébastien, This is a bug tracker for reporting bugs, not a help desk to help with your code. There are many community resources to help you debug your code, but this is not one of them. You can try: * Reddit's /r/learnpython * the Python-list mailing

[issue42493] pathlib.Path.__eq__ should test normalized path

2020-11-28 Thread Austin Scola
Austin Scola added the comment: Okay, thank you for the explanation Eryk. It makes sense to me now why __eq__ doesn't attempt to compare something other than just the parts of the path. -- stage: -> resolved status: open -> closed ___ Python

[issue39116] StreamReader.readexactly() raises GeneratorExit on ProactorEventLoop

2020-11-28 Thread Matthew
Matthew added the comment: Let me preface this by declaring that I am very new to Python async so it is very possible that I am missing something seemingly obvious. That being said, I've been looking at various resources to try to understand the internals of asyncio and it hasn't led to any

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-11-28 Thread Christopher Snowhill
Christopher Snowhill added the comment: Sorry about that. I didn't know that Big Sur support wasn't added until post-3.9.0. I'll check if Brew has a newer version now, and even if not, if I can install a Git version for testing. Incidentally, the error is occuring inside either the Tk or

[issue42500] status() crashes on Python3.9 and 3.10

2020-11-28 Thread Xinmeng Xia
New submission from Xinmeng Xia : This program can work well on Python 3.5.2 and Python2.7 with the following output. "Invalid Entry, try again" However it will crash on Python3.9.0rc1, 3.10.0a2 with the following error message: " Fatal Python error: _Py_CheckRecursiveCall: Cannot recover

[issue41818] Lib/pty.py major revision

2020-11-28 Thread Soumendra Ganguly
Change by Soumendra Ganguly : -- pull_requests: +22425 pull_request: https://github.com/python/cpython/pull/23546 ___ Python tracker ___

[issue13337] IGNORE_CASE doctest option flag

2020-11-28 Thread Justin Baum
Change by Justin Baum : -- keywords: +patch nosy: +justinba1010 nosy_count: 3.0 -> 4.0 pull_requests: +22426 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23547 ___ Python tracker

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-11-28 Thread Ned Deily
Ned Deily added the comment: If Homebrew links against the Apple-supplied Tcl and Tk frameworks, which are in /System/Library/Frameworks, all bets are off as those are deprecated and hopelessly out-of-date versions of Tcl/Tk 8.5. If tkinter is linked to Tcl and Tk frameworks in

[issue41879] Outdated description of async iterables in documentation of async for statement

2020-11-28 Thread Nick Gaya
Nick Gaya added the comment: As described above, the issue is in the textual description, not the code snippet. I have opened a GitHub PR with a fix. -- resolution: out of date -> status: closed -> open ___ Python tracker

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-11-28 Thread Christopher Snowhill
Christopher Snowhill added the comment: That command also crashes with the same error. And I already verified with otool -L on the tkinter shared object file that it does indeed link the /System/Library/Frameworks version of both Tcl and Tk. In fact, if I remember correctly, Homebrew's

[issue41879] Outdated description of async iterables in documentation of async for statement

2020-11-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: You are right. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42493] pathlib.Path.__eq__ should test normalized path

2020-11-28 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> rejected type: behavior -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42495] socket.gethostbyaddr raises error if invalid unicode in hosts

2020-11-28 Thread Peter Hunt
New submission from Peter Hunt : If the hosts file contains invalid unicode, then the socket module will break when attempting to get the list of hosts. This renders modules such as Flask and Django unusable. Background: I had a mapping to localghost

[issue42499] python not correctly processing double quotes in command line args in windows

2020-11-28 Thread Vikram Pal
New submission from Vikram Pal : Using PowerShell in Windows, double quotes in argument given with "-c" flag to python does not work. E.g. > Write-Host 's = "fn main() {"; s += "\n".join("let x = 0;" for _ in > range(2)); s+= "}"; print(s)' s = "fn main() {"; s += "\n".join("let x = 0;" for

[issue41879] Outdated description of async iterables in documentation of async for statement

2020-11-28 Thread Nick Gaya
Change by Nick Gaya : -- pull_requests: +22427 pull_request: https://github.com/python/cpython/pull/23548 ___ Python tracker ___

[issue42498] smtplib is glitchy after receive server code 500

2020-11-28 Thread izomiac
New submission from izomiac : I use a custom e-mail server and noticed I wasn't getting e-mails from FreeNAS. I tracked the bug down to Python's smtplib. My home internet can't do outbound port 25, so I use a port forwarding script that I've since learned injects "PROXY TCP4\r\n".

[issue42496] Don't change indentation of RST markup

2020-11-28 Thread Raymond Hettinger
New submission from Raymond Hettinger : I just noticed that this PR was applied: https://github.com/python/cpython/pull/23545 In general, I don't think this should be done. AFAICT, it has no visual effect for the reader and that the current markup is allowed by Sphinx (i.e. this isn't a

[issue38200] Adding itertools.pairwise to the standard library?

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

[issue42496] Don't change indentation of RST markup

2020-11-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Original PR: https://github.com/python/cpython/pull/23524 I just checked, it has a visual effect for readers. For example: """ BUILD_STRING(count) Concatenates count strings from the stack and pushes the resulting string onto the stack. New in

[issue38200] Adding itertools.pairwise to the standard library?

2020-11-28 Thread Raymond Hettinger
Change by Raymond Hettinger : Added file: https://bugs.python.org/file49633/pairwise.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-11-28 Thread Ned Deily
Ned Deily added the comment: I've installed the 11.1 beta (of 2020-11-17) on an Intel-64 virtual machine and installed and run the test suite for the recently released 3.9.1rc1 Universal2 binaries from python.org. The tests, including tkinter tests, run similarly to how they do on 11.0.1.

[issue42496] Don't change indentation of RST markup

2020-11-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: If this does have a visual effect for readers or if it breaks strict Sphinx requirement, let me know. -- ___ Python tracker ___

[issue42497] New pathlib.Path attribute

2020-11-28 Thread ThatXliner
New submission from ThatXliner : Add an attribute to pathlib.Path testing if a file/directory/symlink is executable or the user has executable permissions. I've been trying to find a pythonic way for this (preferably in pathlib.Path) but all I found was trips to the shell and back. This

[issue42499] python not correctly processing double quotes in command line args in windows

2020-11-28 Thread Eryk Sun
Eryk Sun added the comment: Python uses the Windows C runtime to parse the command line into an argument array. By the CRT rules [1], you need to escape the embedded double quotes using backslashes. For example: PS C:\> python -c 's = \"fn main() {\"; s += \"\n\".join(\"let x = 0;\" for