[issue34105] test_socket.test_host_resolution_bad_address fails on Mac OS X 10.13.6

2018-08-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is not expected, but I don't know where the problem is. On my machine I get: >>> socket.gethostbyname('0.1.1.~1') Traceback (most recent call last): File "", line 1, in socket.gaierror: [Errno 8] nodename nor servname provided, or not known This is

[issue34319] Clarify pathlib.Path("filepath").read_text()

2018-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: How about if we add "The file is opened and then closed." before "The optional parameters have the same meaning as in open()." -- nosy: +terry.reedy stage: -> needs patch versions: +Python 3.6, Python 3.7, Python 3.8

[issue34105] test_socket.test_host_resolution_bad_address fails on Mac OS X 10.13.6

2018-08-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: Note that the test itself has the following comment: def test_host_resolution_bad_address(self): # These are all malformed IP addresses and expected not to resolve to # any result. But some ISPs, e.g. AWS, may successfully resolve these

[issue34105] test_socket.test_host_resolution_bad_address fails on Mac OS X 10.13.6

2018-08-02 Thread Ronald Oussoren
Change by Ronald Oussoren : -- assignee: -> ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue27419] Bugs in PyImport_ImportModuleLevelObject

2018-08-02 Thread Berker Peksag
Berker Peksag added the comment: The workaround was removed in https://github.com/berkerpeksag/cpython/commit/133138a284be1985ebd9ec9014f1306b9a425d98 Can this issue be closed now? -- ___ Python tracker __

[issue34323] False timeout log message on proactor close

2018-08-02 Thread John Nelson
New submission from John Nelson : Repro: 1. Run the attached script ('repro.py') Expected output: 2018-07-31 16:39:57,069 - asyncio - DEBUG - Using proactor: IocpProactor 2018-07-31 16:39:57,084 - root - INFO - Starting 2018-07-31 16:39:58,100 - root - INFO - Sleep done 2018-07-31 16:39:58,10

[issue34323] False timeout log message on proactor close

2018-08-02 Thread John Nelson
John Nelson added the comment: I *suspect* the issue is down to a discrepancy between: - IocpProactor.close(), and - IocpProactor._poll() When the former calls the latter, it seems to be expecting a truth value response from _poll() to indicate that no timeout occurred. However, the latter o

[issue34105] test_socket.test_host_resolution_bad_address fails on Mac OS X 10.13.6

2018-08-02 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: When running the terminal command host '0.1.1.~1' I get the following output: 0.1.1.~1 has address 62.138.239.45 0.1.1.~1 has address 62.138.238.45 Host 0.1.1.~1 not found: 3(NXDOMAIN) Host 0.1.1.~1 not found: 3(NXDOMAIN) If I ping the above IP address 62

[issue34324] Doc README wrong directory name for vent

2018-08-02 Thread Lysandros Nikolaou
New submission from Lysandros Nikolaou : In the Doc README there is the following sentence after the make venv command: Assuming the virtual environment was created in the env directory (the default; configurable with the VENVDIR variable) Should't it be venv directory instead? In the makefile

[issue34324] Doc README wrong directory name for venv

2018-08-02 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- title: Doc README wrong directory name for vent -> Doc README wrong directory name for venv ___ Python tracker ___ __

[issue34325] test_zipfile gets OverflowError in multiple buildbots

2018-08-02 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : test_zipfile gets OverflowError in multiple buildbots: https://buildbot.python.org/all/#/builders/106/builds/1374 https://buildbot.python.org/all/#/builders/106/builds/1375 https://buildbot.python.org/all/#/builders/106/builds/1376 Example error log:

[issue32046] 2to3 fix for operator.isCallable()

2018-08-02 Thread Berker Peksag
Berker Peksag added the comment: > I suppose stable branches should be left alone? We do backport lib2to3 PRs to maintenance branches, but since this is already in 3.7 and 3.6 is four months away from being in security-fix-only mode, I think we can close this as 'fixed' now. -- nosy

[issue34325] test_zipfile gets OverflowError in multiple buildbots

2018-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: More failures on x86 Gentoo Installed with X 3.x: https://buildbot.python.org/all/#/builders/103/builds/1240 https://buildbot.python.org/all/#/builders/103/builds/1241 https://buildbot.python.org/all/#/builders/103/builds/1242 -- _

[issue34326] test_subprocess.POSIXProcessTestCase fails in AMD64 Ubuntu 3.x

2018-08-02 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : test_subprocess.POSIXProcessTestCase fails in AMD64 Ubuntu 3.x buildbots: https://buildbot.python.org/all/#/builders/154/builds/104 It seems that it has some problems with (unclosed?) file descriptors: test_terminate_dead (test.test_subprocess.Win32

[issue34326] test_subprocess.POSIXProcessTestCase fails in AMD64 Ubuntu 3.x

2018-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This also happens on x86-64 High Sierra 3.x buildbot: https://buildbot.python.org/all/#/builders/145/builds/265 -- ___ Python tracker ___

[issue30317] test_timeout() of test_multiprocessing_spawn.WithManagerTestBarrier fails randomly on x86 Windows7 3.x buildbot

2018-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Seems the same issue as in: https://buildbot.python.org/all/#/builders/58/builds/1181 test_fd_transfer (test.test_multiprocessing_spawn.WithThreadsTestConnection) ... skipped 'only makes sense with processes' Timeout (0:15:00)! Thread 0x08d4 (most

[issue34326] test_subprocess.POSIXProcessTestCase fails in AMD64 Ubuntu 3.x

2018-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: More failures on AMD64 Debian PGO 3.x: https://buildbot.python.org/all/#/builders/47/builds/1362 test_terminate (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' test test_subprocess failed test_terminate_dead (test.test

[issue30317] test_timeout() of test_multiprocessing_spawn.WithManagerTestBarrier fails randomly on x86 Windows7 3.x buildbot

2018-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 5640d030e100aade54210034828b711c3b506b18 by Pablo Galindo (Victor Stinner) in branch 'master': bpo-30317: Fix multiprocessing test_timeout() (GH-8621) https://github.com/python/cpython/commit/5640d030e100aade54210034828b711c3b506b18 ---

[issue30317] test_timeout() of test_multiprocessing_spawn.WithManagerTestBarrier fails randomly on x86 Windows7 3.x buildbot

2018-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +8141 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30317] test_timeout() of test_multiprocessing_spawn.WithManagerTestBarrier fails randomly on x86 Windows7 3.x buildbot

2018-08-02 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +8142 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue30317] test_timeout() of test_multiprocessing_spawn.WithManagerTestBarrier fails randomly on x86 Windows7 3.x buildbot

2018-08-02 Thread miss-islington
miss-islington added the comment: New changeset 50d78677899d315c17dc9a14d2f94a013046c71a by Miss Islington (bot) in branch '3.7': bpo-30317: Fix multiprocessing test_timeout() (GH-8621) https://github.com/python/cpython/commit/50d78677899d315c17dc9a14d2f94a013046c71a -- ___

[issue34327] CPython make test crash

2018-08-02 Thread Asher Mancinelli
New submission from Asher Mancinelli : Cloned master (v3.8) from github. os: Arch x86_64, kernel: 4.14.56-1-lts. successfully ran `./configure --enable-optimizations` and `make`, but failed with this error message when running `make test` ``` =

[issue34327] test_subprocess fails

2018-08-02 Thread ppperry
Change by ppperry : -- components: +Tests -Build title: CPython make test crash -> test_subprocess fails type: crash -> behavior ___ Python tracker ___

[issue34299] argparse description formatting

2018-08-02 Thread paul j3
Change by paul j3 : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue34313] IDLE crashes with Tk-related error on macOS with ActiveTcl 8.6

2018-08-02 Thread Kevin Walzer
Kevin Walzer added the comment: The crash reported by the OP did show up at times in recent releases of Tk 8.6.x, but a lot of work went into refactoring memory management in 8.6.8 and those problems do not seem present in the current release (8.6.7 is a year old). I'd try updating to 8.6.8

[issue34275] Problems with tkinter and tk8.6 on MacOS

2018-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified for my machine also that adding .update_idletasks(), as in calltips_2-2.diff works for my 3.7.0 installation. I will assume until someone says otherwise that this is generally sufficient. I am preparing a PR with the patch and will separately dea

[issue34275] Problems with tkinter and tk8.6 on MacOS

2018-08-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +8143 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34275] IDLE: no calltips on MacOS with tk 8.6

2018-08-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: -Tkinter title: Problems with tkinter and tk8.6 on MacOS -> IDLE: no calltips on MacOS with tk 8.6 ___ Python tracker ___ __

[issue34317] Improve docstring Environment variables in Windows NT

2018-08-02 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 46ebe61c7f3511b97268b44d5373a9e9cf0b5cc7 by Mariatta (HiyashiChuka) in branch 'master': bpo-34317: Fix a dead url to Windows documentation (GH-8622) https://github.com/python/cpython/commit/46ebe61c7f3511b97268b44d5373a9e9cf0b5cc7 --

[issue34317] Improve docstring Environment variables in Windows NT

2018-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +8144 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34275] IDLE: no calltips on MacOS with tk 8.6

2018-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +8146 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34275] IDLE: no calltips on MacOS with tk 8.6

2018-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +8145 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34317] Improve docstring Environment variables in Windows NT

2018-08-02 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue34275] IDLE: no calltips on MacOS with tk 8.6

2018-08-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +8147 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34317] Improve docstring Environment variables in Windows NT

2018-08-02 Thread miss-islington
miss-islington added the comment: New changeset 34f59a7a7843d8e2c1922c830a99b5b7a022f4be by Miss Islington (bot) in branch '3.7': bpo-34317: Fix a dead url to Windows documentation (GH-8622) https://github.com/python/cpython/commit/34f59a7a7843d8e2c1922c830a99b5b7a022f4be -- nosy: +

[issue34275] IDLE: no calltips on MacOS with tk 8.6

2018-08-02 Thread miss-islington
miss-islington added the comment: New changeset 363105e546709339e3419ada9daf5efa0b3b1e18 by Miss Islington (bot) in branch '3.6': bpo-34275: Make IDLE calltips always visible on Mac. (GH-8639) https://github.com/python/cpython/commit/363105e546709339e3419ada9daf5efa0b3b1e18 -- nosy

[issue34275] IDLE: no calltips on MacOS with tk 8.6

2018-08-02 Thread miss-islington
miss-islington added the comment: New changeset ffd6364745dbeb7269c0e4376b63bf76bc44bcc6 by Miss Islington (bot) in branch '3.7': bpo-34275: Make IDLE calltips always visible on Mac. (GH-8639) https://github.com/python/cpython/commit/ffd6364745dbeb7269c0e4376b63bf76bc44bcc6 -- ___

[issue34275] IDLE: no calltips on MacOS with tk 8.6

2018-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 24a54da9452efb21d30dc56c6b9d0977d08ae452 by Terry Jan Reedy in branch '2.7': [2.7] bpo-34275: Make IDLE calltips always visible on Mac. (GH-8639) (GH-8644) https://github.com/python/cpython/commit/24a54da9452efb21d30dc56c6b9d0977d08ae452

[issue34275] IDLE: no calltips on MacOS with tk 8.6

2018-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you again, Kevin. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue34327] test_subprocess fails

2018-08-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Related issue : https://bugs.python.org/issue34326 Thanks -- nosy: +xtreak ___ Python tracker ___

[issue33782] VSTS Windows-PR: internal error

2018-08-02 Thread Steve Dower
Steve Dower added the comment: > A quick follow-up commit can happen if one uses the web editor to edit more > than one file I hadn't thought of that one. Hopefully they'll just fix their bug though :) I spent a bit of time at the EuroPython sprints making the changes to quickly finish the

[issue34326] test_subprocess.POSIXProcessTestCase fails in AMD64 Ubuntu 3.x

2018-08-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Some of VSTS Mac OS and Linux builds also have the same failure Sample Linux : https://python.visualstudio.com/cpython/_build/results?buildId=21154&view=logs Sample Mac OS : https://python.visualstudio.com/cpython/_build/results?buildId=21155&view

[issue34319] Clarify pathlib.Path("filepath").read_text()

2018-08-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +8148 stage: needs patch -> patch review ___ Python tracker ___

[issue34312] Allow str.endswith and str.startswith to accept an iterable

2018-08-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Teammate of mine tripped up against this because he tried to use a list. Then, I recommend we close this. Accepting a list would have encouraged inefficient code (a tuple of constants can be peephole optimized but a list of constants is rebuilt on ever

[issue27419] Bugs in PyImport_ImportModuleLevelObject

2018-08-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think it can. Thanks Berker for reminder. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue34325] test_zipfile gets OverflowError in multiple buildbots

2018-08-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is the result of issue34097. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-

[issue34097] ZIP does not support timestamps before 1980

2018-08-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Tests are failed on some buildbots. See issue34325. -- ___ Python tracker ___ ___ Python-bugs-l

[issue34328] Question Incorrect URL for the Visual C++ Build Tools

2018-08-02 Thread sakamotoaya
New submission from sakamotoaya : I try "python setup.py". The following issue has occurred. Excerpt from Error ー reading manifest template 'MANIFEST.in' writing manifest file 'scikit_learn.egg-info\SOURCES.txt' running build_ext No module named 'numpy.distutils._msvccompile

[issue34328] Incorrect URL for the Visual C++ Build Tools

2018-08-02 Thread sakamotoaya
Change by sakamotoaya : -- title: Question Incorrect URL for the Visual C++ Build Tools -> Incorrect URL for the Visual C++ Build Tools ___ Python tracker ___

[issue34325] test_zipfile gets OverflowError in multiple buildbots

2018-08-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34105] test_socket.test_host_resolution_bad_address fails on Mac OS X 10.13.6

2018-08-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: For some reason your system resolves invalid names, likely due to some upstream nameserver misbehaving. Is your Internet provider T-Online in Germany? The address 62.138.239.45 is registered to that company, the IP address also appears to host some kind of

[issue34328] Incorrect URL for the Visual C++ Build Tools

2018-08-02 Thread sakamotoaya
Change by sakamotoaya : -- nosy: +CuriousLearner, ncoghlan, serhiy.storchaka, xtreak ___ Python tracker ___ ___ Python-bugs-list mai

[issue34328] Incorrect URL for the Visual C++ Build Tools

2018-08-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: This message is generated by setuptools (in module setuptools.msvc). The GitHub repository for setuptools is at , please contact the developers there. -- nosy: +ronaldoussoren resolution: -> third party stage:

[issue34328] Incorrect URL for the Visual C++ Build Tools

2018-08-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Upstream issue was resolved : https://github.com/pypa/setuptools/issues/1394 Thanks -- status: pending -> open ___ Python tracker

[issue34328] Incorrect URL for the Visual C++ Build Tools

2018-08-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Ah sorry, I don't know why it opened this bug while adding a comment. Feel free to change the status. Thanks -- ___ Python tracker __

[issue34312] Allow str.endswith and str.startswith to accept an iterable

2018-08-02 Thread Tal Einat
Tal Einat added the comment: I tend to agree. ISTM that for users, understanding the error message and passing a tuple is trivial, while realizing the performance benefit of using a tuple rather than a list or set here is certainly non-trivial. -- __

[issue34327] test_subprocess fails

2018-08-02 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: It's a duplicate of this issue: https://bugs.python.org/issue34326 I close this issue. Thank you for your feedback. -- nosy: +matrixise resolution: -> duplicate stage: -> resolved status: open -> closed ___ Pyth

[issue34328] Incorrect URL for the Visual C++ Build Tools

2018-08-02 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34328] Incorrect URL for the Visual C++ Build Tools

2018-08-02 Thread sakamotoaya
sakamotoaya added the comment: Everyone Thank you. That was really helpful. Problem already been resolved. I change status Pending to close. -- status: pending -> closed ___ Python tracker __

[issue34312] Allow str.endswith and str.startswith to accept an iterable

2018-08-02 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I also agree with the problem of performance, tuple and str are immutables and from that, we can optimize the generation of the bytecode. Raymond, @Brett & @Serhiy, Can we close this issue? -- nosy: +matrixise ___

[issue34319] Clarify pathlib.Path("filepath").read_text()

2018-08-02 Thread Thomas Nyberg
Thomas Nyberg added the comment: For what it's worth as the original opener of the bug report, I think Terry's recommendation clarifies things quite well. -- ___ Python tracker _

[issue34314] Like __hash__, allow setting MyClass.__init__ to None to prevent it being called by type.__call__

2018-08-02 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue34324] Doc README wrong directory name for venv

2018-08-02 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I just pushed a PR. -- nosy: +matrixise ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34324] Doc README wrong directory name for venv

2018-08-02 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +8149 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue34325] test_zipfile gets OverflowError in multiple buildbots

2018-08-02 Thread Petr Viktorin
Change by Petr Viktorin : -- nosy: +petr.viktorin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

<    1   2