[issue1721083] Add File - Reload

2020-07-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Recent edits to iomenu.IOBinding.loadfile were intended to preserve the option of reloading a non-empty editor. -- stage: patch review -> test needed ___ Python tracker _

[issue41411] Improve and consolidate f-strings docs

2020-07-27 Thread Ezio Melotti
Change by Ezio Melotti : -- keywords: +patch pull_requests: +20788 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/21552 ___ Python tracker

[issue41000] IDLE: only allow single instance

2020-07-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: We cannot prevent files being viewed and possibly modified by multiple programs and in general, should not. I often open a file in more than one python version. In any case, the proposed change would have a high chance on introducing bugs. I just finished

[issue41374] socket.TCP_* no longer available with cygwin 3.1.6+

2020-07-27 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 2.0 -> 3.0 pull_requests: +20789 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21649 ___ Python tracker

[issue41407] Tricky behavior of builtin-function map

2020-07-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: I concur with Jim and Steven, so we'll mark this a closed. If you want to go forward, consider bringing this up on python-ideas. If it gets a favorable reception, this can be re-opened. -- nosy: +rhettinger resolution: -> rejected stage: -> r

[issue41394] Document '_' in interpreter in shell tutorial

2020-07-27 Thread wyz23x2
Change by wyz23x2 : -- keywords: +patch pull_requests: +20790 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21650 ___ Python tracker ___

[issue41394] Document '_' in interpreter in shell tutorial

2020-07-27 Thread wyz23x2
wyz23x2 added the comment: Submmited PR 21650. Should we also mention it in: https://docs.python.org/3/tutorial/interpreter.html or https://docs.python.org/3/tutorial/appendix.html ? (Matching the title of the issue) -- ___ Python tracker

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread wyz23x2
Change by wyz23x2 : -- title: Document '_' in interpreter in shell tutorial -> Document '_' in interpreter tutorial ___ Python tracker ___

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread Eric V. Smith
Eric V. Smith added the comment: I think it should be mentioned in https://docs.python.org/3/tutorial/appendix.html#tut-interac, since that's the link that https://docs.python.org/3/tutorial/interpreter.html#interactive-mode uses for it's "for more information" link. This seems like a "more

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread wyz23x2
wyz23x2 added the comment: If no one wants to work on it, I'll pick up that patch. Should it be section 16.1.5? If not, what section should it fit into? -- ___ Python tracker

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread Eric V. Smith
Eric V. Smith added the comment: I think it should be in a new section. But I'd put it as a 16.1.2 and push the others down. It seems like a more important piece of information than shebangs and startup files in interactive mode. Or maybe I'd even put it first. That said, I'm not terribly gr

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread wyz23x2
wyz23x2 added the comment: I agree it's more important. Working. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread wyz23x2
Change by wyz23x2 : -- pull_requests: +20792 pull_request: https://github.com/python/cpython/pull/21651 ___ Python tracker ___ ___ P

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread wyz23x2
wyz23x2 added the comment: Submmited PR 21651. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue41413] IDLE: exit at input() prompt is not complete

2020-07-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Simpler test. Open IDLE Shell (only) from icon or (preferably) terminal. >>> input() # Close IDLE without giving input with Window (X), File => exit, or Control/Command-Q. Click OK in "Your program is still running" box (from PyShell) On Windows, IDLE clo

[issue41013] test_os.test_memfd_create() fails on AMD64 FreeBSD Shared 3.x

2020-07-27 Thread Kyle Evans
Kyle Evans added the comment: Hey koobs, Can you confirm that this is fine now after I implemented SHM_GROW_ON_WRITE? -- ___ Python tracker ___ __

[issue41409] deque.pop(index) is not supported

2020-07-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: This was an intentional decision. Deques designed for fast access at the end points. Also, pop() is a core deque operation that needs to be fast. Altering its signature with an optional argument would slow it down. Thank you for the suggestion, but we r

[issue18861] Problems with recursive automatic exception chaining

2020-07-27 Thread Martin Panter
Change by Martin Panter : -- nosy: +martin.panter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue41355] os.link(..., follow_symlinks=False) without linkat(3)

2020-07-27 Thread Eryk Sun
Eryk Sun added the comment: I'm trying to give os.link() and follow_symlinks the benefit of the doubt, but the implementation just seems buggy to me. POSIX says that "[i]f path1 names a symbolic link, it is implementation-defined whether link() follows the symbolic link, or creates a new li

[issue31904] Python should support VxWorks RTOS

2020-07-27 Thread Jim Jewett
Jim Jewett added the comment: Is it safe to say that there is an now intent to support VxWorks within the main tree, with Wind River agreeing to be primary support? And this ticket has become a tracking ticket for the status on getting it there, small PR by small PR plus buildbot? -

[issue41415] duplicated signature of dataclass in help()

2020-07-27 Thread Sergey Fedoseev
New submission from Sergey Fedoseev : In [191]: import dataclasses, pydoc In [192]: @dataclass ...: class C: ...: pass ...: In [193]: print(pydoc.render_doc(C)) Python Library Documentation: class C in module __main__ class C(builtins.object) | C() -> None | | C() |

[issue41415] duplicated signature of dataclass in help()

2020-07-27 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- keywords: +patch pull_requests: +20793 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21652 ___ Python tracker ___

[issue41391] Make test_unicodedata pass when running without network

2020-07-27 Thread Jim Jewett
Jim Jewett added the comment: Looks Good To Me -- nosy: +Jim.Jewett ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue41013] test_os.test_memfd_create() fails on AMD64 FreeBSD Shared 3.x

2020-07-27 Thread Kubilay Kocak
Kubilay Kocak added the comment: @Kyle Yes, msg373597 freebsd CURRENT buildbot passes, but freebsd 12/stable does not (cannot, since stable/12 wont get the syscall) That means the Python memfd functions and tests need to account for this -- ___ Py

[issue19016] autospecced namedtuples should be truthy by default

2020-07-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue41409] deque.pop(index) is not supported

2020-07-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, the relationship between a concrete class and an ABC is normative with respect to core capabilities but isn't 100% strict. Concrete classes can vary in small respects when it makes sense. For example, the __or__ and __and__ methods for collections

[issue41328] In unittest doc, replace Hudson CI with Travis and Appveyor

2020-07-27 Thread Dmytro Litvinov
Change by Dmytro Litvinov : -- keywords: +patch pull_requests: +20794 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/21653 ___ Python tracker _

[issue41328] In unittest doc, replace Hudson CI with Travis and Appveyor

2020-07-27 Thread Dmytro Litvinov
Dmytro Litvinov added the comment: Hi Terry, Seems like link to Academic Free License v. 2.1(https://www.python.org/psf/contrib/) does not work. That link is mentioned at https://www.python.org/psf/contrib/ that you gave me. Also, I have signed CLA before submitting PR as you wrote. From CL

[issue41345] Remote end closed connection without response

2020-07-27 Thread Martin Panter
Martin Panter added the comment: Previous report about Requests to the Python bug tracker: Issue 33620. I suspect this is an unavoidable race condition with trying a POST (or other non-idempotent) request on an idle HTTP connection. I think it has to be up to the higher-level application or

[issue40841] Provide mimetypes.sniff API as stdlib

2020-07-27 Thread Jim Jewett
Jim Jewett added the comment: There are a zillion reasons a filename could be wrong -- but the standard says to trust the filesystem. So if it sniffs based on contents, it isn't quite following the standard. It is probably still a useful tool, but it won't be the One Right Way, and it isn't e

[issue41405] python 3.9.0b5 test

2020-07-27 Thread Jim Jewett
Jim Jewett added the comment: Then I suspect they also exist in even earlier versions, and are actually tied to your development setup. That should still be fixed, but it is probably not in Python's own code. It might be in python's build process, which is still on us. Or it might be in y

[issue31904] Python should support VxWorks RTOS

2020-07-27 Thread Peixing Xin
Peixing Xin added the comment: @Jim.Jewett Yes. We have got most modules passed testing locally. Now we want to get the patches upstream. So VxWorks platform can be officially supported. -- ___ Python tracker

[issue41416] Restore default implementation of __ne__ in mixins Set and Mapping

2020-07-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +20795 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21628 ___ Python tracker ___

[issue41416] Restore default implementation of __ne__ in mixins Set and Mapping

2020-07-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: -20795 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue41416] Restore default implementation of __ne__ in mixins Set and Mapping

2020-07-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : According to the documentation [1] abstract classes collections.abc.Set and collections.abc.Mapping provide mixin method __ne__. But implementations of __ne__ in these classes were removed in 3.4 (see issue21408), so the default implementation is inherit

<    1   2