[issue21120] PyArena type is used in headers from the limited API

2019-07-06 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +14448 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14634 ___ Python tracker ___

[issue37516] buid error - test_asyncio fails during make

2019-07-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +asyncio nosy: +asvetlov, yselivanov ___ Python tracker ___ ___

[issue37478] Specify possible exceptions for os.chdir()

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Spinoff issues should be separate. -- title: Docs: Method os.chdir() does not mention errors that can be raised -> Specify possible exceptions for os.chdir() ___ Python tracker

[issue37478] Docs: Method os.chdir() does not mention errors that can be raised

2019-07-06 Thread Kyle Stanley
Kyle Stanley added the comment: Exceptions for os.chdir() have been added to the docs. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37517] Improve error messages for Windows reserved file names

2019-07-06 Thread Eryk Sun
Eryk Sun added the comment: > Perhaps Windows builds can check for reserved file names and give a > more descriptive error message in the event of IO error? An operation on a reserved DOS device name can also succeed with unexpected results. For example, a script may unintentionally write to

[issue37478] Docs: Method os.chdir() does not mention errors that can be raised

2019-07-06 Thread miss-islington
miss-islington added the comment: New changeset e414aa9cb002427a39dfd157cdad156336f93ca9 by Miss Islington (bot) in branch '3.8': bpo-37478: Add missing 'and'. (GH-14631) https://github.com/python/cpython/commit/e414aa9cb002427a39dfd157cdad156336f93ca9 --

[issue37478] Docs: Method os.chdir() does not mention errors that can be raised

2019-07-06 Thread miss-islington
miss-islington added the comment: New changeset e841a54206c65770aeb2b936cdc830dd4ed8bf9e by Miss Islington (bot) in branch '3.7': bpo-37478: Add missing 'and'. (GH-14631) https://github.com/python/cpython/commit/e841a54206c65770aeb2b936cdc830dd4ed8bf9e -- nosy: +miss-islington

[issue37478] Docs: Method os.chdir() does not mention errors that can be raised

2019-07-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +14447 pull_request: https://github.com/python/cpython/pull/14633 ___ Python tracker ___

[issue37478] Docs: Method os.chdir() does not mention errors that can be raised

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a9b40e4546ca631e5ab41376b5b72e8f296f557d by Terry Jan Reedy in branch 'master': bpo-37478: Add missing 'and'. (GH-14631) https://github.com/python/cpython/commit/a9b40e4546ca631e5ab41376b5b72e8f296f557d --

[issue37478] Docs: Method os.chdir() does not mention errors that can be raised

2019-07-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +14446 pull_request: https://github.com/python/cpython/pull/14632 ___ Python tracker ___

[issue37518] Python-2.7.16 fails to build with --enable-shared

2019-07-06 Thread Willie Lopez
New submission from Willie Lopez : When building Python-2.7.16 on CentOS-7.4, building with --enable-shared through ./configure will cause Python to fail its build without errors and will install python-2.7.5, the wrong version. If Python is built without --enable-shared, other compilations

[issue37478] Docs: Method os.chdir() does not mention errors that can be raised

2019-07-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +14445 pull_request: https://github.com/python/cpython/pull/14631 ___ Python tracker ___

[issue37478] Docs: Method os.chdir() does not mention errors that can be raised

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 1dd65075955337183ba2f78cb11a1eec2466dc74 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.7': bpo-37478: Specify possible exceptions for os.chdir() (GH-14611) (GH-14630)

[issue37478] Docs: Method os.chdir() does not mention errors that can be raised

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 4e6bfc4c605d92d2395fbcded9cf45cdd1ced810 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.8': bpo-37478: Specify possible exceptions for os.chdir() (GH-14611) (GH-14629)

[issue37478] Docs: Method os.chdir() does not mention errors that can be raised

2019-07-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +14443 stage: commit review -> patch review pull_request: https://github.com/python/cpython/pull/14629 ___ Python tracker ___

[issue37478] Docs: Method os.chdir() does not mention errors that can be raised

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 0717b4d9b3899c5c2ca13031e4ff619a15a4d368 by Terry Jan Reedy (Kyle Stanley) in branch 'master': bpo-37478: Specify possible exceptions for os.chdir() (GH-14611) https://github.com/python/cpython/commit/0717b4d9b3899c5c2ca13031e4ff619a15a4d368

[issue37478] Docs: Method os.chdir() does not mention errors that can be raised

2019-07-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +1 pull_request: https://github.com/python/cpython/pull/14630 ___ Python tracker ___

[issue37517] Improve error messages for Windows reserved file names

2019-07-06 Thread Steven D'Aprano
Change by Steven D'Aprano : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37480] add ptpython to list of alternate interpreters

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: My problems with this chapter are that it mostly ignores Windows, omits IDLE which has most of the 'advanced features' discussed, and some others (I could fix this), confuses a bit 'interpreter' as code executor versus 'interactive interpreter' as interface

[issue37517] Improve error messages for Windows reserved file names

2019-07-06 Thread Steven D'Aprano
New submission from Steven D'Aprano : See #37515. Perhaps Windows builds can check for reserved file names and give a more descriptive error message in the event of IO error? (Eryksun also mentions two reserved names which Microsoft apparently does not document: "CONIN$" and "CONOUT$".)

[issue37515] `open("aux.txt", "w")` fails unexpectedly with FileNotFoundError on Windows

2019-07-06 Thread Steven D'Aprano
Steven D'Aprano added the comment: For future reference, please don't post screen shots of plain text, as they make it unnecessarily difficult for blind or visually impaired developers to contribute (and yes, they do exist, I've worked with some, and at least one core developer). Copy the

[issue37491] IndexError in get_bare_quoted_string

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: An Python exception is not a crash; a crash is the program stopping without an exception and proper cleanup. If s is a string (rather than, for instance, None), s and (s[0] == char) is equivalent to s[0:1] == char -- nosy: +terry.reedy type: crash

[issue37516] buid error - test_asyncio fails during make

2019-07-06 Thread Gordon R. Burgess
Gordon R. Burgess added the comment: I got excited prematurely - this is farther down in the log on the second build: ... 0:16:09 load avg: 0.84 [341/423] test_sys_settrace unhandled exception during asyncio.run() shutdown task: ()> exception=RuntimeError("can't send non-None value to a

[issue37516] buid error - test_asyncio fails during make

2019-07-06 Thread Gordon R. Burgess
Gordon R. Burgess added the comment: Ran this on a different laptop (Debian 9.9, Lenovo w540) and it passed, so (as I'd expect) this is an intermittent issue. (The ticket was opened with an error on a Lenovo w510) Both systems have been reimaged in the last 6-8 months. 0:00:34 load avg:

[issue37456] FAQ says positional arguments aren't a thing

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 90631f9bc5f78ec6cdc2096d5c5ae26e41e5f150 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.8': bpo-37456: Slash ('/') is now part of syntax. (GH-14627) (GH-14628)

[issue37478] Docs: Method os.chdir() does not mention errors that can be raised

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please ask your questions about doc conventions, both about exceptions and function/method. Either someone will point to something in the devguide, or we might get a discussion about something that should be added. I would not merge more extensive changes

[issue37456] FAQ says positional arguments aren't a thing

2019-07-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +14442 pull_request: https://github.com/python/cpython/pull/14628 ___ Python tracker ___

[issue37456] FAQ says positional arguments aren't a thing

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 6f2a8c08573c71b78d2f6e2bfaf31641a0cd092b by Terry Jan Reedy in branch 'master': bpo-37456: Slash ('/') is now part of syntax. (GH-14627) https://github.com/python/cpython/commit/6f2a8c08573c71b78d2f6e2bfaf31641a0cd092b --

[issue37487] PyList_GetItem() document: index can be 0

2019-07-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37487] PyList_GetItem() document: index can be 0

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset dd3862e167d573b6e9a3348c365229ca958d1f1f by Terry Jan Reedy (Miss Islington (bot)) in branch '2.7': bpo-37487: Fix PyList_GetItem index description. (GH-14623) (GH-14626)

[issue37487] PyList_GetItem() document: index can be 0

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 9c930d076a7225694b369d30636a29acb556c2be by Terry Jan Reedy (Miss Islington (bot)) in branch '3.7': bpo-37487: Fix PyList_GetItem index description. (GH-14623) (GH-14625)

[issue37487] PyList_GetItem() document: index can be 0

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ad3720359faa933d04bde3d3222fd54e73ee7feb by Terry Jan Reedy (Miss Islington (bot)) in branch '3.8': bpo-37487: Fix PyList_GetItem index description. (GH-14623) (GH-14624)

[issue37456] FAQ says positional arguments aren't a thing

2019-07-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +14441 stage: commit review -> patch review pull_request: https://github.com/python/cpython/pull/14627 ___ Python tracker

[issue37456] FAQ says positional arguments aren't a thing

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I will remove the sentence. -- assignee: docs@python -> terry.reedy nosy: +terry.reedy stage: -> commit review type: -> behavior versions: +Python 3.9 ___ Python tracker

[issue37487] PyList_GetItem() document: index can be 0

2019-07-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +14440 pull_request: https://github.com/python/cpython/pull/14626 ___ Python tracker ___

[issue37487] PyList_GetItem() document: index can be 0

2019-07-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +14439 pull_request: https://github.com/python/cpython/pull/14625 ___ Python tracker ___

[issue37487] PyList_GetItem() document: index can be 0

2019-07-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +14438 stage: commit review -> patch review pull_request: https://github.com/python/cpython/pull/14624 ___ Python tracker ___

[issue37487] PyList_GetItem() document: index can be 0

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset f8709e804d16ec5d44b1d2f00d59a0f78df7b792 by Terry Jan Reedy in branch 'master': bpo-37487: Fix PyList_GetItem index description. (GH-14623) https://github.com/python/cpython/commit/f8709e804d16ec5d44b1d2f00d59a0f78df7b792 --

[issue37487] PyList_GetItem() document: index can be 0

2019-07-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: docs@python -> terry.reedy stage: patch review -> commit review title: PyList_GetItem() document regarding index -> PyList_GetItem() document: index can be 0 versions: +Python 2.7, Python 3.7, Python 3.8, Python 3.9 -Python 3.5

[issue37487] PyList_GetItem() document regarding index

2019-07-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +14437 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14623 ___ Python tracker ___

[issue37516] buid error - test_asyncio fails during make

2019-07-06 Thread Gordon R. Burgess
New submission from Gordon R. Burgess : 0:02:03 load avg: 3.08 [ 26/423] test_asyncio Unknown child process pid 30234, will report returncode 255 Child watcher got an unexpected pid: 30234 Traceback (most recent call last): File

[issue37510] argparse removing more "--" than it should

2019-07-06 Thread Jorge L. Martinez
Jorge L. Martinez added the comment: Maybe I can find the time to make a patch this weekend (either today or tomorrow). I hope I'm not underestimating this somehow, but I don't think this would take too long. The only issue I can foresee is in disagreement of what the correct behavior

[issue37507] multiprocessing: Add a stop() method to ForkServer

2019-07-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: There is no reason to expose "stop the forkserver" to users. How the forkserver process works, what tasks it handles, is an implementation detail. If users start "stopping the forkserver" in their applications for no good to reason, they might get bugs now

[issue37515] `open("aux.txt", "w")` fails unexpectedly with FileNotFoundError on Windows

2019-07-06 Thread Eryk Sun
Eryk Sun added the comment: DOS device names are reserved in the final component of DOS drive-letter paths. "AUX" (plus an optional colon, spaces, or extension) becomes "\\.\AUX", which is "\??\AUX" in the NT object namespace. By default, "\??\AUX" is a link to "\??\COM1", which, if it

[issue37515] `open("aux.txt", "w")` fails unexpectedly with FileNotFoundError on Windows

2019-07-06 Thread Carsten
Carsten added the comment: This is a good explanation. Indeed Windows complains if I manually want to create a file "aux.txt" ("This device name is not allowed"). If I want to copy-paste such a file from within a zip-file (Windows Explorer can open zip files) I get an "Unexpected Error".

[issue37515] `open("aux.txt", "w")` fails unexpectedly with FileNotFoundError on Windows

2019-07-06 Thread SilentGhost
SilentGhost added the comment: aux is one of the reserved filenames on windows: https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions I don't think Python can do anything about that. -- components: +Windows -IO nosy: +SilentGhost, paul.moore,

[issue37510] argparse removing more "--" than it should

2019-07-06 Thread paul j3
paul j3 added the comment: I looked at this issue way back, in 2013: https://bugs.python.org/issue13922 I probably shouldn't have tacked this on to a closed issue. -- ___ Python tracker

[issue37515] `open("aux.txt", "w")` fails unexpectedly with FileNotFoundError on Windows

2019-07-06 Thread Carsten
New submission from Carsten : I maintain a package which includes a package named "aux.py". I could not install it on my windows machine via pip and others had the same problem also with windows. I tracked down the problem to `io.open`. On my Windows 7 System with Python 3.7.1 from Anaconda,

[issue37510] argparse removing more "--" than it should

2019-07-06 Thread Jorge L. Martinez
Jorge L. Martinez added the comment: > to remove the "--" present in arg_strings *to remove the first "--" present... -- ___ Python tracker ___

[issue37510] argparse removing more "--" than it should

2019-07-06 Thread Jorge L. Martinez
Jorge L. Martinez added the comment: > There are earlier bug/issues about the '--'. Yes, there are: https://bugs.python.org/issue9571 https://bugs.python.org/issue3 https://bugs.python.org/issue14364 But this one seems separate. Though they're related, they don't seem like duplicates,

[issue37514] french translation Spelling mistake on datetime python's library documentation online

2019-07-06 Thread Paul Ganssle
Paul Ganssle added the comment: @Lanteri If you'd like you can make a pull request against the French documentation here: https://github.com/python/python-docs-fr The relevant file is library/datetime.po It also seems like the French documentation has its own issue tracker, here:

[issue37514] french translation Spelling mistake on datetime python's library documentation online

2019-07-06 Thread SilentGhost
Change by SilentGhost : -- nosy: +mdk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37514] french translation Spelling mistake on datetime python's library documentation online

2019-07-06 Thread Lanteri Jérôme
New submission from Lanteri Jérôme : "Un objet avisé est utilisé pour représenté un moment" corrected should be: "Un objet avisé est utilisé pour représenter un moment" Comment for help French translator: Vous pouvez tester en remplaçant le verbe suspecté par un verbe du troisième groupe, tel

[issue26806] IDLE not displaying RecursionError tracebacks and hangs

2019-07-06 Thread Tal Einat
Change by Tal Einat : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue26806] IDLE not displaying RecursionError tracebacks and hangs

2019-07-06 Thread miss-islington
miss-islington added the comment: New changeset d666217b26c373784761e3a84f243f02682bccb1 by Miss Islington (bot) in branch '3.7': bpo-26806: add 30 to the recursion limit in IDLE's shell (GH-13944) https://github.com/python/cpython/commit/d666217b26c373784761e3a84f243f02682bccb1 --

[issue26806] IDLE not displaying RecursionError tracebacks and hangs

2019-07-06 Thread miss-islington
miss-islington added the comment: New changeset d4af55391f56286ab8d478591017174a5a0a5ce2 by Miss Islington (bot) in branch '3.8': bpo-26806: add 30 to the recursion limit in IDLE's shell (GH-13944) https://github.com/python/cpython/commit/d4af55391f56286ab8d478591017174a5a0a5ce2 --

[issue26806] IDLE not displaying RecursionError tracebacks and hangs

2019-07-06 Thread Tal Einat
Tal Einat added the comment: New changeset fcf1d003bf4f0100c9d0921ff3d70e1127ca1b71 by Tal Einat in branch 'master': bpo-26806: add 30 to the recursion limit in IDLE's shell (GH-13944) https://github.com/python/cpython/commit/fcf1d003bf4f0100c9d0921ff3d70e1127ca1b71 --

[issue26806] IDLE not displaying RecursionError tracebacks and hangs

2019-07-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +14435 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14621 ___ Python tracker ___

[issue26806] IDLE not displaying RecursionError tracebacks and hangs

2019-07-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +14436 pull_request: https://github.com/python/cpython/pull/14622 ___ Python tracker ___

[issue37512] Error in the documentation about string concatenation

2019-07-06 Thread Dmitriy
Dmitriy added the comment: Yes, optimization is really not working in case of prepending. In case of multiple references I couldn't get quadratic time grow. Concerning the Windows, yes, the optimization may be not always efficient: >>> timeit('a+="a"', setup='a=""', number=1)

[issue37149] link to official documentation tkinter failed !!!

2019-07-06 Thread miss-islington
miss-islington added the comment: New changeset 55270d09c212654c4f1bc9ebf9a0081c169a6d12 by Miss Islington (bot) in branch '2.7': bpo-37149: Replace dead link for online Tkinter reference (GH-14616) https://github.com/python/cpython/commit/55270d09c212654c4f1bc9ebf9a0081c169a6d12

[issue37149] link to official documentation tkinter failed !!!

2019-07-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +14434 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14620 ___ Python tracker ___

[issue37149] link to official documentation tkinter failed !!!

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 2.7 backport shows a clean 2.7 diff, Travis merged and passed it, but required Appveyor just says 'non-mergeable' with no details, and no way to discover why or to cleanly retry. I will try close and open once. --

[issue37149] link to official documentation tkinter failed !!!

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, PR-14616 replaces a dead link to the most important online Tkinter reference. Please consider cherry-picking the 3.7 backport (already merged) into the upcoming 3.7.4. Many people are lost without the reference, as they find reading the tcl/tk

[issue37149] link to official documentation tkinter failed !!!

2019-07-06 Thread miss-islington
miss-islington added the comment: New changeset ea9c8caa13977561787bf2de430f18c2031dde0d by Miss Islington (bot) in branch '3.8': bpo-37149: Replace dead link for online Tkinter reference (GH-14616) https://github.com/python/cpython/commit/ea9c8caa13977561787bf2de430f18c2031dde0d

[issue37149] link to official documentation tkinter failed !!!

2019-07-06 Thread miss-islington
miss-islington added the comment: New changeset d2c5677a4f3be7de572def0a914b96385d7982b0 by Miss Islington (bot) in branch '3.7': bpo-37149: Replace dead link for online Tkinter reference (GH-14616) https://github.com/python/cpython/commit/d2c5677a4f3be7de572def0a914b96385d7982b0

[issue37149] link to official documentation tkinter failed !!!

2019-07-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +14433 pull_request: https://github.com/python/cpython/pull/14619 ___ Python tracker ___

[issue37149] link to official documentation tkinter failed !!!

2019-07-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +14432 pull_request: https://github.com/python/cpython/pull/14618 ___ Python tracker ___

[issue37149] link to official documentation tkinter failed !!!

2019-07-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +14431 pull_request: https://github.com/python/cpython/pull/14617 ___ Python tracker ___

[issue37149] link to official documentation tkinter failed !!!

2019-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 45bc61b97178b27ae05bd3eb95481bf0325795bb by Terry Jan Reedy in branch 'master': bpo-37149: Replace dead link for online Tkinter reference (GH-14616) https://github.com/python/cpython/commit/45bc61b97178b27ae05bd3eb95481bf0325795bb --

[issue37149] link to official documentation tkinter failed !!!

2019-07-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +14430 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14616 ___ Python tracker ___

[issue36085] Enable better DLL resolution

2019-07-06 Thread Eryk Sun
Eryk Sun added the comment: Steve, in what's new and the installer, you've referenced KB2533625 instead of KB2533623. Do we have to open a new issue for this minor search and replace fix? -- ___ Python tracker