[issue11594] 2to3 does not preserve line endings

2018-04-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: I do still see the issue on Python 3.7b3: $ python ~/Dropbox/bin/scripts/which-line-ending onefile.py Line ending is '\n' $ python ~/Dropbox/bin/scripts/which-line-ending otherfile.py Line ending is '\r\n' $ python -V Python 3.7.0b3 $

[issue33282] Subprocess Popen communicate hung if stdin not given to Popen, even though script not expecting any input

2018-04-15 Thread Jatin Goel
New submission from Jatin Goel : Hi needed a small help related to the subprocess module I'm executing a powershell process using the subprocess module process = subprocess.Popen( [ 'powershell.exe', script ], stdout=subprocess.PIPE,

[issue33185] Python 3.7.0b3 fails in pydoc where b2 did not.

2018-04-15 Thread Nick Coghlan
Change by Nick Coghlan : -- pull_requests: +6177 ___ Python tracker ___ ___

[issue33131] Upgrade to pip 10 for Python 3.7

2018-04-15 Thread Nick Coghlan
Nick Coghlan added the comment: Merge to master and set the "needs backport to 3.7" label for the initial PR - the backport bot will then take care of creating the 3.7 PR. For the backport, all you then need to do is leave an Approve review, and the bot will automatically

[issue33185] Python 3.7.0b3 fails in pydoc where b2 did not.

2018-04-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +6176 stage: commit review -> patch review ___ Python tracker ___

[issue33185] Python 3.7.0b3 fails in pydoc where b2 did not.

2018-04-15 Thread miss-islington
miss-islington added the comment: New changeset d7ffa5820733a528d9ab87ee567738e2d3fd7126 by Miss Islington (bot) in branch '3.7': bpo-33185: Fix regression in pydoc CLI sys.path handling (GH-6419)

[issue33281] ctypes.util.find_library not working on macOS

2018-04-15 Thread Ned Deily
Change by Ned Deily : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker ___

[issue33131] Upgrade to pip 10 for Python 3.7

2018-04-15 Thread Paul Moore
Paul Moore added the comment: Pip 10 has now been released. I'll be getting a PR to put it into 3.7 in the next few days. One question on workflow - is the right approach to create a PR for master and request a backport to the 3.7 branch? Or is there something else I

[issue33261] inspect.isgeneratorfunction fails on hand-created methods

2018-04-15 Thread Nick Coghlan
Nick Coghlan added the comment: Terry, if you'd like to continue that discussion, please open a new enhancement request for 3.8+ against the inspect module asking for the affected introspection functions to recursively search for relevant attributes, the same way

[issue11594] 2to3 does not preserve line endings

2018-04-15 Thread Aaron Ang
Aaron Ang added the comment: I couldn't reproduce this issue. I tried reproducing this problem by extending the TestRefactoringTool class and creating two files: one file with LF line-endings and one file with CRLF line-endings. The changes that I made can be found here:

[issue33131] Upgrade to pip 10 for Python 3.7

2018-04-15 Thread Paul Moore
Paul Moore added the comment: Thanks Nick, that's what I thought for the workflow. And agreed with your understanding of the post-b4 question, but as you say Ned's the boss on that one :-) -- ___ Python tracker

[issue15443] datetime module has no support for nanoseconds

2018-04-15 Thread Eli_B
Change by Eli_B : -- nosy: +Eli_B ___ Python tracker ___ ___ Python-bugs-list

[issue33185] Python 3.7.0b3 fails in pydoc where b2 did not.

2018-04-15 Thread miss-islington
miss-islington added the comment: New changeset 986eaa86da7ebac4c71a09db88706eea6d89664c by Miss Islington (bot) in branch '3.7': bpo-33185: Improve wording and markup (GH-6477)

[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst

2018-04-15 Thread Andrés Delfino
Andrés Delfino added the comment: IMHO, it's important to provide the link of the specific version of Tcl/Tk that Python actually uses. Otherwise, when 8.7 users might read the wrong documentation. Also, users might read the 8.5 man pages. Perhaps I didn't get your

[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst

2018-04-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +Tkinter ___ Python tracker ___ ___

[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst

2018-04-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I suggest to just remove the version suffix "8.6". -- nosy: +serhiy.storchaka, terry.reedy versions: +Python 2.7, Python 3.6, Python 3.7 ___ Python tracker

[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst

2018-04-15 Thread Andrés Delfino
Andrés Delfino added the comment: Replaces msg315327: IMHO, it's important to provide the link of the specific version of Tcl/Tk that Python actually uses. Otherwise, when 8.7 users might read the wrong documentation. Perhaps I didn't get your comment? --

[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-15 Thread Ned Deily
Change by Ned Deily : -- Removed message: https://bugs.python.org/msg315333 ___ Python tracker ___

[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-15 Thread Ned Deily
Ned Deily added the comment: (As a side note to Serhiy and others, as of 2.7.15, we no longer ship any python.org macOS binary installers that link with Tcl/Tk 8.4 and we also now ship at least one installer variant for 2.7.x and 3.6.x that provides Tcl/Tk 8.6. 3.7.0 will

[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-15 Thread Ned Deily
Ned Deily added the comment: (As a side note to Sehiy and others, as of 2.7.15, we no longer ship any python.org macOS binary installers that link with Tcl/Tk 8.4 and we also now ship at least one installer variant for 2.7.x and 3.6.x that provides Tcl/Tk 8.6. 3.7.0 will be

[issue33185] Python 3.7.0b3 fails in pydoc where b2 did not.

2018-04-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +6178 ___ Python tracker ___

[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The minimal supported version is 8.4 in 3.x and 8.3 in 2.7, which don't support PNG. -- components: +Tkinter nosy: +serhiy.storchaka, terry.reedy versions: +Python 2.7, Python 3.6, Python 3.7

[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-15 Thread Andrés Delfino
Andrés Delfino added the comment: I have updated the PR. Hopefully, it addreses Serhiy's comments. -- ___ Python tracker ___

[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst

2018-04-15 Thread Andrés Delfino
Andrés Delfino added the comment: Perhaps a comment in the lines of: --- You can find the relevant Tk man pages by checking what version is installed in your system: python -c "import tkinter; print(tkinter.TkVersion)" --- at the top of the page, and then removing all

[issue33284] Increase test coverage for numbers.py

2018-04-15 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +6180 stage: -> patch review ___ Python tracker ___

[issue33185] Python 3.7.0b3 fails in pydoc where b2 did not.

2018-04-15 Thread Ned Deily
Ned Deily added the comment: Thanks, Nick! -- priority: release blocker -> ___ Python tracker ___

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-04-15 Thread Ivan Pozdeev
Change by Ivan Pozdeev : Added file: https://bugs.python.org/file47536/TkinterHanders.py ___ Python tracker ___

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-04-15 Thread Ivan Pozdeev
Change by Ivan Pozdeev : Removed file: https://bugs.python.org/file47535/TkinterHanders.py ___ Python tracker ___

[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst

2018-04-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Different builds of Python can use different versions of Tcl/Tk (as well as other external libraries). Tkinter supports features added in versions newer than minimal. -- ___ Python

[issue31087] asyncio.create_subprocess_* should honor `encoding`

2018-04-15 Thread Adam
Adam added the comment: After reading the docs more carefully, it's now plain to me that text encoding is not supported yet, so actually it's not a bug :) However the docs should be improved (and then an assertion could be added too) to prevent people from falling into this

[issue33284] Increase test coverage for numbers.py

2018-04-15 Thread Barry Devlin
New submission from Barry Devlin : The __bool__ method in the complex class in numbers is not tested. -- components: Tests messages: 315337 nosy: Barry Devlin priority: normal severity: normal status: open title: Increase test coverage for numbers.py

[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-15 Thread Andrés Delfino
New submission from Andrés Delfino : PNG is supported since Tcl/Tk 8.6. Update the doc/source accordingly. -- assignee: docs@python components: Documentation messages: 315324 nosy: adelfino, docs@python priority: normal severity: normal status: open title: Mention

[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-15 Thread Andrés Delfino
Andrés Delfino added the comment: This brings the question: should the documentation follow what Python provides, or the minimum supported version? Maybe a compromise is to have a "requires Tcl/Tk 8.6" note? -- ___ Python

[issue33185] Python 3.7.0b3 fails in pydoc where b2 did not.

2018-04-15 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 1a5c4bdb6ecc6a8b19ff33bde323ab188ed60977 by Nick Coghlan in branch 'master': bpo-33185: Improve wording and markup (GH-6477) https://github.com/python/cpython/commit/1a5c4bdb6ecc6a8b19ff33bde323ab188ed60977 --

[issue33131] Upgrade to pip 10 for Python 3.7

2018-04-15 Thread Ned Deily
Ned Deily added the comment: The ensurepip blob is a bit of a special case regarding updates, that is, I think we can be a little more flexible about them since they are getting tested and a lot of exposure external to Python releases. Accepting a bugfix update for pip

[issue33185] Python 3.7.0b3 fails in pydoc where b2 did not.

2018-04-15 Thread Nick Coghlan
Change by Nick Coghlan : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-15 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6179 stage: -> patch review ___ Python tracker ___

[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, the minimal version of Tcl/Tk for supporting PNG should be mentioned. -- ___ Python tracker

[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst

2018-04-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg315327 ___ Python tracker ___

[issue32726] macOS installer and framework enhancements and changes for 3.7.0, 3.6.5, and 2.7.15

2018-04-15 Thread Ned Deily
Ned Deily added the comment: I've now backported the changes for 3.6.5 to 2.7.15. along with some long overdue changes made previously in 3.x. Besides the support for a 10.9+ 64-bit-only installer variant (with built-in Tcl/Tk 8.6.x) and other changes noted above,

[issue33270] tags for anonymous code objects should be interned

2018-04-15 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue17128] OS X system openssl deprecated - installer should build local libssl

2018-04-15 Thread Ned Deily
Ned Deily added the comment: As of 2.7.15 (finally!) all current python.org macOS installers now provide their own copies of OpenSSL: 1.0.2x for 3.6.x and 2.7.15. 1.1.0x for the upcoming 3.7.0 release. Until a better solution for root certificates is implemented, all of the

[issue11485] Default SDK value on MacOSX needs changing

2018-04-15 Thread Ned Deily
Ned Deily added the comment: Update: as of 3.6.5 and 2.7.15 and in the upcoming 3.7.0 release, macSO framework builds with --enable-universalsdk=/ no longer add -isysroot=/ to compiler and linker calls. They are not necessary and made it more difficult to attempt to

[issue19019] Investigate using Apple clang for building OS X installers

2018-04-15 Thread Ned Deily
Ned Deily added the comment: As of 3.6.5, 2.7.15, and the upcoming 3.7.0. the macOS installers now build with a generic 'gcc' specified, rather than the somewhat confusing 'gcc-4.2' and we also provide a new 10.9+ 64-bit-only installer variant that is built with clang. So I

[issue33285] pip upgrade runtime crash

2018-04-15 Thread Bram Borger-Johnson
New submission from Bram Borger-Johnson : I was using pip to install a package when I got a warning message that a new version of pip was available. I ran the prompted command and got the following back. E:\GitHub\discord_feedbot>pip install --upgrade pip Collecting pip

[issue33270] tags for anonymous code objects should be interned

2018-04-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Zackery. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33270] tags for anonymous code objects should be interned

2018-04-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f303639e3ac96cfe6c1438f1c594226941f46216 by Serhiy Storchaka (Zackery Spytz) in branch 'master': bpo-33270: Intern names for all anonymous code objects (#6472)

[issue14499] Extension module builds fail with Xcode 4.3 on OS X 10.7 due to SDK move

2018-04-15 Thread Ned Deily
Ned Deily added the comment: Update: as of 3.6.5 and 2.7.15 and in the upcoming 3.7.0 release, macSO framework builds with --enable-universalsdk=/ no longer add -isysroot=/ to compiler and linker calls. They are not necessary and made it more difficult to attempt to

[issue24414] MACOSX_DEPLOYMENT_TARGET set incorrectly by configure in Python 2.7

2018-04-15 Thread Ned Deily
Ned Deily added the comment: Thanks for your suggested patch and my apologies for not replying sooner. For Python 2.7.15, we have done some housecleaning of old macOS support issues and, as part of ee8e4b61d6181f5bfadf6ee3d229f0ebda8a6ae9 for Issue32726, I have backported

[issue15663] Investigate providing Tcl/Tk 8.6 with OS X installers

2018-04-15 Thread Ned Deily
Ned Deily added the comment: Update: as of 3.7.0b3, both 3.7.0 installer variants (10.9+ and 10.6+) provide a built-in Tcl/Tk 8.6.8. And 3.6.5 and 2.7.15 also provide a 10.9+ installer variant with the built-in Tcl/Tk 8.6.8. (For the moment, the 3.6.5 and 2.7.15 10.6+

[issue11594] 2to3 does not preserve line endings

2018-04-15 Thread Aaron Ang
Aaron Ang added the comment: @Jason R. Coombs You are right. I managed to reproduce the problem with a test. It only occurs when a fix is applied. Also, I figured out that the refactoring reads in the file using `open(file, 'r')`, which basically transforms all

[issue31947] names=None case is not handled by EnumMeta._create_ method

2018-04-15 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +6183 ___ Python tracker ___

[issue31947] names=None case is not handled by EnumMeta._create_ method

2018-04-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +6184 ___ Python tracker ___

[issue11594] 2to3 does not preserve line endings

2018-04-15 Thread Aaron Ang
Change by Aaron Ang : -- keywords: +patch pull_requests: +6181 stage: test needed -> patch review ___ Python tracker ___

[issue31947] names=None case is not handled by EnumMeta._create_ method

2018-04-15 Thread Ethan Furman
Ethan Furman added the comment: New changeset b8e21f12891382bc0aac5ccd13dcb4a990d65e0a by Ethan Furman (anentropic) in branch 'master': bpo-31947: remove None default for names param in Enum._create_ (GH-4288)