[issue34296] Speed up python startup by pre-warming the vm

2018-08-03 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34256] Python treats ASCII record separator ('\x1e') as a newline

2018-08-03 Thread Martin Panter
Martin Panter added the comment: What documentation were you looking at? I remember adding 0x1E and others to the list in Issue 12855. See : ‘‘‘ str.splitlines([keepends]) . . . This method splits on the following line

[issue34325] test_zipfile gets OverflowError in multiple buildbots

2018-08-03 Thread STINNER Victor
STINNER Victor added the comment: A possible enhancement is to mock os.stat() instead of really modifying the real filesystem modification time, it would allow to test the bug on any platform. But I'm not sure that it's worth it, and if anyone is interested, I would suggest to discuss on

[issue34325] test_zipfile gets OverflowError in multiple buildbots

2018-08-03 Thread STINNER Victor
STINNER Victor added the comment: The two buildbots are back to green. -- nosy: +vstinner resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue34097] ZIP does not support timestamps before 1980

2018-08-03 Thread STINNER Victor
STINNER Victor added the comment: > Tests are failed on some buildbots. See issue34325. Marcel Plch already fixed it: commit 7b41dbad78c6b03ca2f98800a92a1977d3946643. The two buildbots are back to green. -- ___ Python tracker

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

2018-08-03 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue34297] Windows py.exe launcher fail to handle quote correctly

2018-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified this much: F:\dev\37>py "-3" -m test.test_idle (null): can't open file '3 -m test.test_idle': [Errno 2] No such file or directory -- components: -Demos and Tools, Distutils nosy: +eryksun, terry.reedy -dstufft, eric.araujo stage: -> test

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

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thanks Victor, I don't know enough the API C-Python :/ -- ___ Python tracker ___ ___

[issue34296] Speed up python startup by pre-warming the vm

2018-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: We are aware that startup time is a issue, especially for quick scripts. I don't know if your ideas have been considered, so I added a couple of people who might. The python-ideas list would likely be a better place for discussion until there is some idea

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

2018-08-03 Thread STINNER Victor
STINNER Victor added the comment: Oh. Now I understand why I'm confused. _test_multiprocessing.py in master has not less than 5 methods with the same name: test_timeout()! -- ___ Python tracker

[issue34286] lib2to3 tests fail on the 3.7 branch (used to work with 3.7.0)

2018-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_lib2to3 passes for me on Win 10 for both installed 3.7.0 (in home directory) and repository 3.7 (in clone directory) compiled yesterday. -- nosy: +terry.reedy ___ Python tracker

[issue34331] Incorrectly pluralized abstract class error message

2018-08-03 Thread Eric V. Smith
Eric V. Smith added the comment: Actually, this one is probably easier to fix. In my opinion, #34127 is more important to fix, since it's seen much more often than the message about abstract base classes. I wouldn't necessarily object to fixing this one, I just personally think it's not

[issue34279] RFC: issue a warning in regrtest when no tests have been executed?

2018-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: A test file that runs no test functions should pass on the buildbots. (If it imports the target file, it is not completely empty. And I can think of a use case for WIP PRs that intentionally do not run anything.) But I also would like a visually

[issue34171] Lib/trace.cover not removed by the clean target

2018-08-03 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +patch pull_requests: +8161 stage: -> patch review ___ Python tracker ___ ___

[issue34170] Py_Initialize(): computing path configuration must not have side effect (PEP 432)

2018-08-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset d8078626770a8d358eb83d7928c12d75ff4e821a by Victor Stinner in branch 'master': bpo-34170: Fix pymain_run_file() (GH-8660) https://github.com/python/cpython/commit/d8078626770a8d358eb83d7928c12d75ff4e821a --

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

2018-08-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset d8078626770a8d358eb83d7928c12d75ff4e821a by Victor Stinner in branch 'master': bpo-34170: Fix pymain_run_file() (GH-8660) https://github.com/python/cpython/commit/d8078626770a8d358eb83d7928c12d75ff4e821a --

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Berker Peksag
Berker Peksag added the comment: New changeset 39fcd9949832323b672f7ff05fd1498b8844a329 by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-34329: Doc'd how to remove suffix of pathlib.Path() (GH-8655) https://github.com/python/cpython/commit/39fcd9949832323b672f7ff05fd1498b8844a329

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Berker Peksag
Berker Peksag added the comment: New changeset 764f9d09b03654d7cd70d59afafafd51d24f2750 by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-34329: Doc'd how to remove suffix of pathlib.Path() (GH-8655) https://github.com/python/cpython/commit/764f9d09b03654d7cd70d59afafafd51d24f2750

[issue32073] Add copy_directory_metadata parameter to shutil.copytree

2018-08-03 Thread desbma
desbma added the comment: copy2 always raises "OSError: [Errno 95] Operation not supported" here https://github.com/python/cpython/blob/9bb6fe52742340f6c92f0dda18599a4577a94e18/Lib/shutil.py#L258 but I can work around that by passing copy_function=shutil.copy to copytree as I did above.

[issue31908] trace module cli does not write cover files

2018-08-03 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +8160 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26818] trace CLI doesn't respect -s option

2018-08-03 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +8159 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32073] Add copy_directory_metadata parameter to shutil.copytree

2018-08-03 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: It's not clear where the exception originates from. Try to use copy2() instead of copytree(). -- ___ Python tracker ___

[issue34273] %f is confusingly associated with fixed point format

2018-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: The closest anchor is https://docs.python.org/3.8/library/string.html#format-specification-mini-language. The table title is "The available presentation types for floating point and decimal values are:". This is slightly confusing to me. Does this mean

[issue32773] distutils should NOT preserve timestamps

2018-08-03 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: I started a discussion at https://mail.python.org/mm3/archives/list/distutils-...@python.org/thread/4FHEGHZYWCDRWVPGYLAU5VUS5BAX73MO/ -- ___ Python tracker

[issue34333] Path.with_suffix() raises TypeError when doing %-formatting

2018-08-03 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +patch pull_requests: +8158 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue34333] Path.with_suffix() raises TypeError when doing %-formatting

2018-08-03 Thread Berker Peksag
New submission from Berker Peksag : import pathlib path = pathlib.Path('TR') with_suffix = path.with_suffix(('/', '.md')) The snippet I shared above will raise: TypeError: not all arguments converted during string formatting While we are relying on duck typing, I think this can be

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

2018-08-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset f0e3da8814259283e8f3d53ad3d9735ffc273e00 by Pablo Galindo in branch '3.6': bpo-30317: Fix multiprocessing test_timeout() (GH-8621) https://github.com/python/cpython/commit/f0e3da8814259283e8f3d53ad3d9735ffc273e00 --

[issue32073] Add copy_directory_metadata parameter to shutil.copytree

2018-08-03 Thread desbma
desbma added the comment: Note that in the examples above both copytree calls actually succeed (only metadata copy failed). The user can disable file metadata copy by passing 'copy_function=shutil.copy', but there is no way to do the same for directories and the directory copystat call

[issue32073] Add copy_directory_metadata parameter to shutil.copytree

2018-08-03 Thread desbma
desbma added the comment: Traceback is not very useful in that case: mkdir /tmp/a touch /tmp/a/b python Python 3.6.6 (default, Jun 27 2018, 13:11:40) [GCC 8.1.1 20180531] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import os, shutil >>> os.getcwd()

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +8157 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +8156 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Berker Peksag
Berker Peksag added the comment: New changeset 46dc4e34ed8005a688d7f3512844ef227a3465f4 by Berker Peksag (Stefan Otte) in branch 'master': bpo-34329: Doc'd how to remove suffix of pathlib.Path() (GH-8655) https://github.com/python/cpython/commit/46dc4e34ed8005a688d7f3512844ef227a3465f4

[issue34170] Py_Initialize(): computing path configuration must not have side effect (PEP 432)

2018-08-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5a953fd0ab4d0f792f4c1537616b2ce8ee40d976 by Victor Stinner in branch 'master': bpo-34170: _PyCoreConfig_Read() don't replace coerce_c_locale (GH-8658) https://github.com/python/cpython/commit/5a953fd0ab4d0f792f4c1537616b2ce8ee40d976

[issue34331] Incorrectly pluralized abstract class error message

2018-08-03 Thread ppperry
ppperry added the comment: No, this isn't causing me an actual problem, however the related issue34127 was accepted, and this one should be no harder to fix. -- ___ Python tracker

[issue34170] Py_Initialize(): computing path configuration must not have side effect (PEP 432)

2018-08-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8154 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-08-03 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +8155 stage: -> patch review ___ Python tracker ___ ___

[issue34331] Incorrectly pluralized abstract class error message

2018-08-03 Thread Eric V. Smith
Eric V. Smith added the comment: I'm not sure the effort and code is justified for a trivial fix to an error message. Is this causing some actual problem? -- nosy: +eric.smith type: -> behavior ___ Python tracker

[issue34247] PYTHONOPTIMZE ignored in 3.7.0 when using custom launcher

2018-08-03 Thread STINNER Victor
STINNER Victor added the comment: I tested manually attached t.c with PR 8659: I get optimize=2 as expected. Full output: sys.flags(debug=0, inspect=0, interactive=0, optimize=2, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0,

[issue34321] mmap.mmap() should not necessarily clone the file descriptor

2018-08-03 Thread Josh Rosenberg
Josh Rosenberg added the comment: Why would it "cause an issue if the file is closed before accessing the mmapped region"? As shown in your own link, the constructor performs the mmap call immediately after the descriptor is duplicated, with the GIL held; any race condition that could close

[issue34247] PYTHONOPTIMZE ignored in 3.7.0 when using custom launcher

2018-08-03 Thread STINNER Victor
STINNER Victor added the comment: I first proposed to backport all code from master: https://mail.python.org/pipermail/python-dev/2018-July/154882.html But I'm not sure that it's a good idea, since I made *many* changes in the master branch since 3.7... I even added more files, and the

[issue34247] PYTHONOPTIMZE ignored in 3.7.0 when using custom launcher

2018-08-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8153 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34126] Profiling certain invalid calls crashes Python

2018-08-03 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34170] Py_Initialize(): computing path configuration must not have side effect (PEP 432)

2018-08-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8152 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34327] test_subprocess fails

2018-08-03 Thread Berker Peksag
Change by Berker Peksag : -- superseder: -> test_subprocess.POSIXProcessTestCase fails in AMD64 Ubuntu 3.x ___ Python tracker ___

[issue34332] Suggestion for a new loop type

2018-08-03 Thread Zachary Ware
Zachary Ware added the comment: Ideas like this are better sent to the python-id...@python.org mailing list for discussion rather than immediately opening an issue. Note though that I think this has a low chance of acceptance; there's a very high bar to clear to add syntax, even higher for

[issue34256] Python treats ASCII record separator ('\x1e') as a newline

2018-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: A database record is equivalent to a logical line, possible wrapped onto multiple physical lines. So it is plausible. The 7643 in the test name refers to issue #7643, What is a Unicode line break character?" It contains this: " > We may add some words to

[issue34332] Suggestion for a new loop type

2018-08-03 Thread Happy Fakeboulder
New submission from Happy Fakeboulder : A "while-except" loop, in which it acts like a do-while loop from other languages, except the condition is "did an exception occur during the execution of the iteration". One could specify a type of exception at the top, similar to an except block

[issue34253] Tkinter- On windows, calling filedialog or messagebox before the window is drawn causes focus issues

2018-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: You only need to run .update_idletasks(), as there are no pending events to process. This is not a tkinter issue. It is a known fact that there are undocumented annoying differences in tk behavior on different systems and even different versions thereof.

[issue33161] Refactor of pathlib's _WindowsBehavior.gethomedir

2018-08-03 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the PR, but we usually avoid unnecessary churn in Python codebase. Both versions look fine, and deciding which one to use is just a matter of personal taste. -- components: -Windows nosy: +berker.peksag -paul.moore, steve.dower,

[issue34211] Cygwin build broken due to use of _Type in static declaration in _abc module

2018-08-03 Thread Erik Bray
Erik Bray added the comment: > What makes functions different from variables? Aren't they essentially just > pointers? You're on the right track by noting a difference between functions and data variables. I can tell you off the bat that when it comes to data imported from DLLs,

[issue32797] Tracebacks from Cython modules no longer work

2018-08-03 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon, eric.snow, ncoghlan, petr.viktorin ___ Python tracker ___ ___ Python-bugs-list

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

2018-08-03 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34252] Bunch of path leaks on Python 3.7 on Release

2018-08-03 Thread Eric Fahlgren
Eric Fahlgren added the comment: I believe that the CL command line switch is /FC, not /FP: https://msdn.microsoft.com/en-us/library/027c4t2s.aspx -- nosy: +eric.fahlgren ___ Python tracker

[issue34325] test_zipfile gets OverflowError in multiple buildbots

2018-08-03 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 7b41dbad78c6b03ca2f98800a92a1977d3946643 by Petr Viktorin (Marcel Plch) in branch 'master': bpo-34325: Skip zipfile test for large timestamps when filesystem don't support them. (GH-8656)

[issue34331] Incorrectly pluralized abstract class error message

2018-08-03 Thread ppperry
New submission from ppperry : >>> class abstract(abc.ABC): ... @abc.abstractmethod ... def meth(): ... pass ... >>> x() Traceback (most recent call last): File "", line 1, in TypeError: Can't instantiate abstract class x with abstract methods meth Error should be "Can't

[issue31908] trace module cli does not write cover files

2018-08-03 Thread Zackery Spytz
Zackery Spytz added the comment: This change causes test_trace to leave a trace.cover file in the Lib directory (see #34171). -- nosy: +ZackerySpytz ___ Python tracker ___

[issue34171] Lib/trace.cover not removed by the clean target

2018-08-03 Thread Zackery Spytz
Zackery Spytz added the comment: It seems that this file is left by test_trace after commit 47ab15470d72367694d7758004067313ae022f0e. -- nosy: +ZackerySpytz ___ Python tracker

[issue34330] The decode_header function does not always work correctly.

2018-08-03 Thread Влад К
New submission from Влад К : The decode_header function does not always work correctly. me@Serv:~$ python3 Python 3.6.5 (default, Apr 1 2018, 05:46:30) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from email.header import decode_header >>> s =

[issue32073] Add copy_directory_metadata parameter to shutil.copytree

2018-08-03 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: What function raises ENOTSUPP exactly (traceback would be welcome)? -- ___ Python tracker ___

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Berker Peksag
Berker Peksag added the comment: This seems like a reasonable request. The feature was added in https://github.com/python/cpython/commit/e50dafcd636ba32db890600164698bb070d40d97 (issue 20639) in Python 3.4. I'd normally suggest adding a ".. versionchanged:: 3.4" marker, but since the

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: It's the same thing for everything, for example, in Karate, you will start with the white belt and with practice, you will get the black belt. Thank you again for your contribution. -- ___ Python tracker

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Stefan Otte
Stefan Otte added the comment: No problem, I'm just excited to contribute to python (as small as the contribution might be) :) -- ___ Python tracker ___

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: yep, it's a manual modification in b.p.o but after that, we can check your PR. thank you for your patience. -- ___ Python tracker ___

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Stefan Otte
Stefan Otte added the comment: I'm waiting for the CLA to be accepted. I'll get back to you ASAP. -- ___ Python tracker ___ ___

[issue34301] Add _PyInterpreterState_Get() helper function

2018-08-03 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34301] Add _PyInterpreterState_Get() helper function

2018-08-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset caba55b3b735405b280273f7d99866a046c18281 by Victor Stinner in branch 'master': bpo-34301: Add _PyInterpreterState_Get() helper function (GH-8592) https://github.com/python/cpython/commit/caba55b3b735405b280273f7d99866a046c18281 --

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Good catch, thank you. Could you sign the CLA, without the CLA, we can't process your PR. Thank you -- nosy: +matrixise ___ Python tracker

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

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Pablo, the main issue comes after this commit, you can strace the call for example ./python -m unittest test.test_subprocess.POSIXProcessTestCase.test_pass_fds on this test function and you will see than there is a opened file descriptor. I tried to

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

2018-08-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Maybe we can strace a failing test and cross check the opens and the closes to see which one is not being closed. Or monitor /proc/PID/fd while the test runs. I can investigate later today myself. -- ___

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

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I think there is an issue with pymain_run_file, in the new code of Victor, a file descriptor is not closed but I don't know why. -- ___ Python tracker

[issue34325] test_zipfile gets OverflowError in multiple buildbots

2018-08-03 Thread Marcel Plch
Change by Marcel Plch : -- keywords: +patch pull_requests: +8151 stage: -> patch review ___ Python tracker ___ ___

[issue24218] Also support SMTPUTF8 in smtplib's send_message method.

2018-08-03 Thread Jens Troeger
Jens Troeger added the comment: So that’s interesting. I thought that setting `international = True` (see line https://github.com/python/cpython/blob/master/Lib/smtplib.py#L947) would be a neat workaround, but the opposite. When delivering those emails to Gmail I started seeing Failed

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Stefan Otte
Change by Stefan Otte : -- keywords: +patch pull_requests: +8150 stage: -> patch review ___ Python tracker ___ ___

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

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I continue to work on this issue -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Stefan Otte
New submission from Stefan Otte : Hello folks! I didn't realize that you can remove a suffix with the `with_suffix` function of the `Path` class of `pathlib` and I always used a little utility function that I wrote. I wanted to add that functionality (removing of a suffix) and submit a PR

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

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: When I try to find the issue with git bisect, I have one commit. 72ec3193b5118a2ccc8be8bf03d7b74691c6a264 is the first bad commit commit 72ec3193b5118a2ccc8be8bf03d7b74691c6a264 Author: Victor Stinner Date: Thu Aug 2 19:34:20 2018 +0200 bpo-34170:

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

2018-08-03 Thread Vlad Tudorache
Vlad Tudorache added the comment: I was telling only that I've seen myself the issues with some Tcl/Tk versions. As I often build Tcl/Tk on macOS, I can confirm that on 8.6.8 I didn't see issues (those were effectively present in (ActiveState or not) Tcl 8.5.18, 8.5.19, 8.6.6, 8.6.7. The

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

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: same problem here: linux: https://python.visualstudio.com/8e426817-76c0-4b99-ba9e-a48a1e4bd5db/_build/index?buildId=21241 macOS: https://python.visualstudio.com/8e426817-76c0-4b99-ba9e-a48a1e4bd5db/_build/index?buildId=21242 --

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-08-03 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Same issue with my builds : * Linux -> https://python.visualstudio.com/cpython/_build/results?buildId=21273=logs * macOS -> https://python.visualstudio.com/cpython/_build/results?buildId=21274=logs -- nosy: +matrixise, vstinner

[issue34207] test_cmd_line test_utf8_mode test_warnings fail in all FreeBSD 3.x (3.8) buildbots

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: xtreak in this case, it's an issue on the buildbot cluster, we have to be sure that we don't have this error again. and for that, we have to find the origin of the crash on buildbot. -- nosy: +matrixise ___

[issue34207] test_cmd_line test_utf8_mode test_warnings fail in all FreeBSD 3.x (3.8) buildbots

2018-08-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I tried the tests on FreeBSD 11.x and FreeBSD 10.x digitalocean droplets with master branch and the tests pass. Adding information that might be helpful. # FreeBSD 11.2-RELEASE root@freebsd-s-1vcpu-1gb-blr1-01:~/cpython # uname -a FreeBSD

[issue34323] False timeout log message on proactor close

2018-08-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi johnboy2, thank you for your issue, but could you send us more information about your platform? thank you -- nosy: +matrixise ___ Python tracker

[issue34325] test_zipfile gets OverflowError in multiple buildbots

2018-08-03 Thread Petr Viktorin
Change by Petr Viktorin : -- nosy: +Dormouse759 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34325] test_zipfile gets OverflowError in multiple buildbots

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

[issue34324] Doc README wrong directory name for venv

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

[issue34324] Doc README wrong directory name for venv

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

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

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

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

2018-08-03 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

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

2018-08-03 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

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

2018-08-03 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

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

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

[issue34327] test_subprocess fails

2018-08-03 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 ___

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

2018-08-03 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. --

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

2018-08-03 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

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

2018-08-03 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