[issue33839] IDLE tooltips.py: refactor and add docstrings and tests

2018-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: > if: versus try: The latter is faster if try: succeeds. On the other hand, we > could make the if: fail by mocking it. Since there is no except: or else: > code to test, it hardly seems worth it. A low priority item. Generalizing 'show calltip': Great ide

[issue33906] IDLE: rename windows.py as window.py

2018-06-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -7421 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue33839] IDLE tooltips.py: refactor and add docstrings and tests

2018-06-20 Thread Tal Einat
Tal Einat added the comment: >> If so, should it be possible for two tooltips to be shown at once, one for >> the mouse hover and one for the keyboard focus? > If we have different popup contents, I think 1 at a time would be fine. Consider the following example: A window with two buttons, e

[issue30411] git doesn't support "-C" args under 1.8.5 occurs in configure.ac

2018-06-20 Thread Xiang Zhang
Xiang Zhang added the comment: Encounter the same problem on centos7 and git version is 1.8.3. Instead of checking the version to use -C option, maybe we could just use --git-dir for the same purpose? --- a/configure +++ b/configure @@ -2749,9 +2749,9 @@ HAS_GIT=no-repository fi if test $H

[issue33904] IDLE: In rstrip, rename class RstripExtension as Rstrip

2018-06-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +7422 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33904] IDLE: In rstrip, rename class RstripExtension as Rstrip

2018-06-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +7423 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30811] A venv created and activated from within a virtualenv uses the outer virtualenv's site-packages rather than its own.

2018-06-20 Thread Vinay Sajip
Vinay Sajip added the comment: I'm closing this, as it's not a bug in the venv module. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker _

[issue33468] Add try-finally contextlib.contextmanager example

2018-06-20 Thread Matthias Bussonnier
Change by Matthias Bussonnier : -- keywords: +patch pull_requests: +7424 stage: needs patch -> patch review ___ Python tracker ___ _

[issue33468] Add try-finally contextlib.contextmanager example

2018-06-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It doesn't look as a good example. It is not always good to write a closing tag if an error was occurred while write an inner content. In many cases it is better to stop writing after error. -- nosy: +serhiy.storchaka _

[issue33909] PyObject_CallFinalizerFromDealloc is not referenced in any documentation

2018-06-20 Thread Eric Wieser
New submission from Eric Wieser : PEP 442 states that: > Two new C API functions are provided to ease calling of tp_finalize, > especially from custom deallocators. But it does not give the names of these functions, nor do any python docs I can discover. >From grepping for tp_finalize, it s

[issue33783] Use proper class markup for random.Random docs

2018-06-20 Thread Matthias Bussonnier
Change by Matthias Bussonnier : -- keywords: +patch pull_requests: +7425 stage: needs patch -> patch review ___ Python tracker ___ _

[issue33910] update random.Random 's parameter to have a proper name.

2018-06-20 Thread Matthias Bussonnier
New submission from Matthias Bussonnier : Docs of random.Random always refer to it with Random([seed]) (`lib/random.py`), tough the parameter is actually named `x` making it : - non obvious what it does. - hard to search for. - hard to remember when using kwargs. Obviously changing the nam

[issue33901] test_dbm_gnu.test_reorganize() failed on x86-64 High Sierra 3.x

2018-06-20 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7426 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33910] update random.Random 's parameter to have a proper name.

2018-06-20 Thread Matthias Bussonnier
Change by Matthias Bussonnier : -- keywords: +patch pull_requests: +7427 stage: -> patch review ___ Python tracker ___ ___ Python-b

[issue33901] test_dbm_gnu.test_reorganize() failed on x86-64 High Sierra 3.x

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: Oh, the test also fails on 2.7: x86-64 High Sierra 2.7 http://buildbot.python.org/all/#builders/140/builds/25 I backported the fix to 2.7: PR 7818. -- resolution: fixed -> status: closed -> open ___ Python tracke

[issue33901] test_dbm_gnu.test_reorganize() failed on x86-64 High Sierra 3.x

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset f2918881b7b2e13ed1091dad482aec2382358bcb by Victor Stinner in branch '2.7': bpo-33901: Fix test_gdbm for gdbm 1.15 (GH-7798) (GH-7818) https://github.com/python/cpython/commit/f2918881b7b2e13ed1091dad482aec2382358bcb -- __

[issue33901] test_dbm_gnu.test_reorganize() failed on x86-64 High Sierra 3.x

2018-06-20 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed status: open -> closed versions: +Python 2.7, Python 3.6, Python 3.7 ___ Python tracker ___

[issue33910] update random.Random 's parameter to have a proper name.

2018-06-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33746] testRegisterResult in test_unittest fails in verbose mode

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset fd8fbce495c32b0cbc13f71a8e9d4eec6f48c844 by Victor Stinner in branch 'master': bpo-33746: Fix test_unittest.testRegisterResult() in verbose mode (GH-7799) https://github.com/python/cpython/commit/fd8fbce495c32b0cbc13f71a8e9d4eec6f48c844 --

[issue33746] testRegisterResult in test_unittest fails in verbose mode

2018-06-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +7428 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33746] testRegisterResult in test_unittest fails in verbose mode

2018-06-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +7429 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33746] testRegisterResult in test_unittest fails in verbose mode

2018-06-20 Thread miss-islington
miss-islington added the comment: New changeset 232add02418f0b061881501e4f2d1241a2404f5d by Miss Islington (bot) in branch '3.7': bpo-33746: Fix test_unittest.testRegisterResult() in verbose mode (GH-7799) https://github.com/python/cpython/commit/232add02418f0b061881501e4f2d1241a2404f5d ---

[issue33746] testRegisterResult in test_unittest fails in verbose mode

2018-06-20 Thread miss-islington
miss-islington added the comment: New changeset 2b7574213987ddcbc5e83c6798668c7d600b6608 by Miss Islington (bot) in branch '3.6': bpo-33746: Fix test_unittest.testRegisterResult() in verbose mode (GH-7799) https://github.com/python/cpython/commit/2b7574213987ddcbc5e83c6798668c7d600b6608 ---

[issue33911] [EASY] test_docxmlrpc fails when run with -Werror

2018-06-20 Thread STINNER Victor
Change by STINNER Victor : -- components: +Tests, XML ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue33911] [EASY] test_docxmlrpc fails when run with -Werror

2018-06-20 Thread STINNER Victor
New submission from STINNER Victor : Ok, but notice the two warnings: vstinner@apu$ ./python -m test test_docxmlrpc Run tests sequentially 0:00:00 load avg: 1.19 [1/1] test_docxmlrpc /home/vstinner/prog/python/master/Lib/xmlrpc/server.py:791: DeprecationWarning: `formatargspec` is deprecated s

[issue33912] [EASY] test_warnings: test_exec_filename() fails when run with -Werror

2018-06-20 Thread STINNER Victor
New submission from STINNER Victor : vstinner@apu$ ./python -W error -m test -v test_warnings == ERROR: test_exec_filename (test.test_warnings.CWarnTests) -- T

[issue33375] warnings: get filename from frame.f_code.co_filename

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: This change introduced a regression: bpo-33912 "[EASY] test_warnings: test_exec_filename() fails when run with -Werror". I consider that it's an easy issue, please don't fix it, but explain how to fix it and let a newcomer to fix it! https://mail.python.org/

[issue33912] [EASY] test_warnings: test_exec_filename() fails when run with -Werror

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: I consider that this issue is easy, core developers/long time contriubtors: please don't fix it, but explain how to fix it and let a newcomer to fix it! https://mail.python.org/pipermail/python-committers/2017-June/004564.html --

[issue33746] testRegisterResult in test_unittest fails in verbose mode

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: I tested manually: "./python -m test -v test_unittest" pass in 2.7, 3.6, 3.7 and master. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33746] testRegisterResult in test_unittest fails in verbose mode

2018-06-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Victor! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue33912] [EASY] test_warnings: test_exec_filename() fails when run with -Werror

2018-06-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +takluyver ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue33782] VSTS Windows-PR: internal error

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: Steve: hi! Any update on the Microsoft side? -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue33911] [EASY] test_docxmlrpc fails when run with -Werror

2018-06-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue33912] [EASY] test_warnings: test_exec_filename() fails when run with -Werror

2018-06-20 Thread Thomas Kluyver
Thomas Kluyver added the comment: Yes, this should be easy. I misunderstood how to use the catch_warnings context manager. I thought that catch_warnings itself set up the warnings filters you need. You actually need to do that with a separate call inside the with block, as shown here: https

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: It didn't see this super annoying failure recently, so it seems like it has been fixed for real. Great! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33733] Add utilities to get/set pipe and socket buffer sizes?

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: > Note that in my experience, socket systems treat the buffer sizes as more > like... rough guidelines. Oh. Now I'm scared. I succeeded to fix bpo-33532 and bpo-33353, so I no longer need this issue. Since it seems hard to have a portable and *reliable* beh

[issue31463] test_multiprocessing_fork hangs test_subprocess

2018-06-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- assignee: -> pablogsal nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue33613] test_multiprocessing_fork: test_semaphore_tracker_sigint() fails with -W error

2018-06-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- assignee: -> pablogsal nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: > Thanks. Agreed this should stay open, but it is blocked on a compiler fix. Do you want to have a different limit depending on the compiler and the compiler version? I'm not sure that it's worth it. I'm happy with the heuristic "use lower limit on Windows".

[issue33719] Test failures on Python 3.7 beta 5 and Windows 10

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: test test_tools failed -- Traceback (most recent call last): (...) optparse.BadOptionError: no such option: --slaveargs Ah, it's a known and old issue: bpo-25094. -- ___ Python tracker

[issue25094] [EASY][Windows] test_tools fails on Windows when passing

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: > I had no failures on 3.4.3. How do you run the test suite? The test fails when you pass option like -j0: python -m test -j0 test_tools. IMHO the fix is trivial: monkey-patch sys.argv using support.swap_attr(sys, 'argv', ...). (I didn't try the fix).

[issue33716] test_concurrent_futures.test_crash() failed on x86 Windows7 3.7

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: Hum, I guess that the fix is to use a timeout of 5 minutes instead of 1 minute. It's ok if the buildbot is slow. Moreover, it would be interesting to replace time.time() with time.monotonic(). -- ___ Python tracke

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: > http://buildbot.python.org/all/#/builders/132/builds/154 That's the AMD64 Windows8.1 Refleaks 3.7 buildbot. > bpo-33853 has been marked as a duplicate this bug. Copy of Pablo's message: The test `test_multiprocessing_spawn` is leaking memory according to

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

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: http://buildbot.python.org/all/#/builders/90/builds/414 == FAIL: test_timeout (test.test_multiprocessing_spawn.WithThreadsTestQueue) ---

[issue33913] test_multiprocessing_spawn random failures on x86 Windows7 3.6

2018-06-20 Thread STINNER Victor
New submission from STINNER Victor : http://buildbot.python.org/all/#/builders/90/builds/414 == FAIL: test_ipython_workaround (test.test_multiprocessing_main_handling.SpawnCmdLineTest) -

[issue33914] test_gdb fails for Python 2.7.15

2018-06-20 Thread Vibhuti
New submission from Vibhuti : == FAIL: test_down_at_bottom (test.test_gdb.StackNavigationTests) Verify handling of "py-down" at the bottom of the stack -- Trace

[issue33613] test_multiprocessing_fork: test_semaphore_tracker_sigint() fails with -W error

2018-06-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg320061 ___ Python tracker ___ ___ Python-bugs-list

[issue33613] test_multiprocessing_fork: test_semaphore_tracker_sigint() fails with -W error

2018-06-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I would like to work on this issue and on issue31463 -- ___ Python tracker ___ ___ Python-

[issue33613] test_multiprocessing_fork: test_semaphore_tracker_sigint() fails with -W error

2018-06-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I would like to work on this issue and on bpo31463 -- ___ Python tracker ___ ___ Python-bu

[issue33613] test_multiprocessing_fork: test_semaphore_tracker_sigint() fails with -W error

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: > I would like to work on this issue and on issue31463 Say it on issue31463 as well on that case ;-) -- ___ Python tracker ___ _

[issue31463] test_multiprocessing_fork hangs test_subprocess

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: Last time I was bitten by waitpid(): commit 11045c9d8a21dd9bd182a3939189db02815f9783 Author: Victor Stinner Date: Thu Oct 5 06:32:53 2017 -0700 bpo-31178: Mock os.waitpid() in test_subprocess (#3896) Fix test_exception_errpipe_bad_data() and t

[issue31463] test_multiprocessing_fork hangs test_subprocess

2018-06-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I would like to work on this issue -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue23224] LZMADecompressor object is only initialized in __init__

2018-06-20 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +7430 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mai

[issue31463] test_multiprocessing_fork hangs test_subprocess

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: See also the now hopefully fixed bpo-31509 "test_subprocess hangs randomly on AMD64 Windows10 3.x". -- ___ Python tracker ___ __

[issue31463] test_multiprocessing_fork hangs test_subprocess

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: Another old (now fixed) issue of test_subprocess: bpo-31173 "test_subprocess: test_child_terminated_in_stopped_state() leaks a zombie process". -- ___ Python tracker __

[issue31463] test_multiprocessing_fork hangs test_subprocess

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: Antoine: "Let's take another look at the issue: why does test_subprocess need to know about all child processes, rather than those that were launched during test_subprocess?" It seems like this bug has been fixed by bpo-31178, commit 11045c9d8a21dd9bd182a39

[issue23224] LZMADecompressor object is only initialized in __init__

2018-06-20 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue33468] Add try-finally contextlib.contextmanager example

2018-06-20 Thread Nick Coghlan
Nick Coghlan added the comment: Right, the HTML example was always a bit cutesy (hence the disclaimer in the header), but it's hard to come up with a good illustrative example that isn't already a native context manager in the standard library. Perhaps it would make sense to change the examp

[issue33499] Environment variable to set alternate location for pycache tree

2018-06-20 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 16eb3bcdb22be4d82dc597b92b7154fcb11c6479 by Nick Coghlan in branch 'master': bpo-33499: PYTHONPYCACHEPREFIX What's New entry (GH-7749) https://github.com/python/cpython/commit/16eb3bcdb22be4d82dc597b92b7154fcb11c6479 --

[issue33742] Unsafe memory access in PyStructSequence_InitType

2018-06-20 Thread Xiang Zhang
Xiang Zhang added the comment: I don't think here is a problem. It crashes because you preallocate the type object in a wrong way. You should not just does a malloc and then passes it to the API. In this way, you are able to crash many APIs. For example, malloc a dictobject and then pass it

[issue33915] VSTS: Initialize phase: failed

2018-06-20 Thread STINNER Victor
New submission from STINNER Victor : Just one example: VSTS: Linux-PR — Linux-PR_20180620.24 failed: https://python.visualstudio.com/cpython/cpython%20Team/_build/results?buildId=9&view=logs "Initialize phase: failed" """ 2018-06-20T12:20:59.9720705Z ##[section]Starting: Expand phase phase

[issue33915] VSTS: Initialize phase: failed

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-33782 "VSTS Windows-PR: internal error". -- ___ Python tracker ___ ___ Python-bugs-l

[issue33716] test_concurrent_futures.test_crash() failed on x86 Windows7 3.7

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: Recent failure (fail then pass): http://buildbot.python.org/all/#/builders/58/builds/1031 == FAIL: test_crash (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) -

[issue31774] [RFE] tarfile: add an option to change the "blocking factor"

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: Extract of tartest.py: tarfile.open(name=_tmp_tar, mode='w', bufsize=EXPECTED_SIZE) Hum, the bufsize argument only applies to the "...|compression" modes (ex: "w|gz"). Moreover, it shouldn't change the size of the tarfile, it only changes the size of parame

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2018-06-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +7431 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2018-06-20 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7432 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: I created backports to 2.7, 3.6 and 3.7 branches: do you see any reason to not fix python-gdb.py in these branches? (Any reason to not add -g to $LTOFLAGS?) -- nosy: +inada.naoki, pitrou ___ Python tracker

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2018-06-20 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7433 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33873] False positives when running leak tests with -R 1:1

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: Once PR 7735 will be merged, it may be worth it to backport the enhancements to other branches. See maybe bpo-33718 to check if there are other changes that should be backportd. It can help to backport the change to 2.7 (which is very different). --

[issue31731] [2.7] test_io: race condition in test_interrupted_write_text() (test_io hangs on x86 Gentoo Refleaks 2.7)

2018-06-20 Thread STINNER Victor
Change by STINNER Victor : -- title: [2.7] test_io hangs on x86 Gentoo Refleaks 2.7 -> [2.7] test_io: race condition in test_interrupted_write_text() (test_io hangs on x86 Gentoo Refleaks 2.7) ___ Python tracker

[issue11697] Unsigned type in mmap_move_method

2018-06-20 Thread Zackery Spytz
Zackery Spytz added the comment: This was fixed in commit cd04db03debaead0abd1bff149389445284f88e2 (the commit didn't have an associated BPO issue). -- nosy: +ZackerySpytz ___ Python tracker ___

[issue11697] Unsigned type in mmap_move_method

2018-06-20 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ __

[issue33507] Improving the html rendered by cgitb.html

2018-06-20 Thread Stéphane Blondon
Stéphane Blondon added the comment: I added the optional parameter to cgitb.html() function and removed the hardcoded css from the html code. I think there are still several improvements to do: - add documentation for the new parameter of cgitb.html() - add the same parameter to cgitb.enable()

[issue33910] update random.Random 's parameter to have a proper name.

2018-06-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the suggestion. You are right about *x*, *n*, or *a* being the best possible parameter name. That said, it doesn't seem to have ever caused a problem in practice (this API has been around for a very long time), so I'm reluctant to create any

[issue18174] Make regrtest with --huntrleaks check for fd leaks

2018-06-20 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7434 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33891] ntpath join doesnt check whether path variable None or not

2018-06-20 Thread Xiang Zhang
Xiang Zhang added the comment: This is not a bug in ntpath. Raising a TypeError is a normal behavior when passed a wrong argument and I think the error message tells good info. You should figure out why pipenv passes a None to os.path.join. -- nosy: +xiang.zhang resolution: -> not a

[issue33915] VSTS: Initialize phase: failed

2018-06-20 Thread Steve Dower
Steve Dower added the comment: Considering all we can do is pass the reports onto the team (which I've been doing), there's no point repeatedly opening new issues for the same problem. -- resolution: -> duplicate superseder: -> VSTS Windows-PR: internal error __

[issue33915] VSTS: Initialize phase: failed

2018-06-20 Thread Steve Dower
Change by Steve Dower : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue33782] VSTS Windows-PR: internal error

2018-06-20 Thread Steve Dower
Steve Dower added the comment: It appears to be a known issue when a PR is retriggered (due to new commits) early enough in the CI run. I haven't got any info about when it'll be fixed. -- ___ Python tracker __

[issue33915] VSTS: Initialize phase: failed

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: Oh, you think that it's the same bug? The result page looked different, so I opened a different bug report. -- ___ Python tracker ___ __

[issue33904] IDLE: In rstrip, rename class RstripExtension as Rstrip

2018-06-20 Thread miss-islington
miss-islington added the comment: New changeset b0f352680e73a374748994d383f591f2e4702669 by Miss Islington (bot) in branch '3.7': bpo-33904: In IDLE's rstrip, rename class RstripExtension as Rstrip (GH-7811) https://github.com/python/cpython/commit/b0f352680e73a374748994d383f591f2e4702669

[issue33904] IDLE: In rstrip, rename class RstripExtension as Rstrip

2018-06-20 Thread miss-islington
miss-islington added the comment: New changeset b41dc5682c596258d1489a1409fad2d65b5dffd9 by Miss Islington (bot) in branch '3.6': bpo-33904: In IDLE's rstrip, rename class RstripExtension as Rstrip (GH-7811) https://github.com/python/cpython/commit/b41dc5682c596258d1489a1409fad2d65b5dffd9

[issue33904] IDLE: In rstrip, rename class RstripExtension as Rstrip

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

[issue33916] test_lzma: test_refleaks_in_decompressor___init__() leaks 100 handles on Windows

2018-06-20 Thread STINNER Victor
New submission from STINNER Victor : Using my PR 7827, I saw that test_refleaks_in_decompressor___init__() of test_lzma leaks 100 handles on Windows. Extract of the code: @support.refcount_test def test_refleaks_in_decompressor___init__(self): gettotalrefcount = support.get_at

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: It seems like the lzma fix is incomplete: bpo-33916, "test_lzma: test_refleaks_in_decompressor___init__() leaks 100 handles on Windows". -- nosy: +vstinner ___ Python tracker _

[issue16684] Unicode property value abbreviated names and long names

2018-06-20 Thread Pander
Pander added the comment: Since June 2018, Unicode version 11.0 is out. Perhaps that could help move this forward. -- ___ Python tracker ___ _

[issue6331] Add unicode script info to the unicode database

2018-06-20 Thread Pander
Pander added the comment: Since June 2018, Unicode version 11.0 is out. Perhaps that could help move this forward. -- ___ Python tracker ___ __

[issue16684] Unicode property value abbreviated names and long names

2018-06-20 Thread Ned Deily
Change by Ned Deily : -- nosy: +benjamin.peterson versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mail

[issue33916] test_lzma: test_refleaks_in_decompressor___init__() leaks 100 handles on Windows

2018-06-20 Thread INADA Naoki
INADA Naoki added the comment: In _lzmamodule.c self->lock = PyThread_allocate_lock(); This seems leak some resource. But I'm not sure this lock contains refcnt on Windows. -- nosy: +inada.naoki ___ Python tracker

[issue6331] Add unicode script info to the unicode database

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: > Since June 2018, Unicode version 11.0 is out. Perhaps that could help move > this forward. Python 3.7 has been upgrade to Unicode 11. -- ___ Python tracker __

[issue33916] test_lzma: test_refleaks_in_decompressor___init__() leaks 100 handles on Windows

2018-06-20 Thread Zackery Spytz
Zackery Spytz added the comment: Have a look at #23224 and PR 7822. -- nosy: +ZackerySpytz ___ Python tracker ___ ___ Python-bugs-l

[issue33916] test_lzma: test_refleaks_in_decompressor___init__() leaks 100 handles on Windows

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: > This seems leak some resource. But I'm not sure this lock contains refcnt on > Windows. PR 7827 checks for leaks of Windows handles, this issue is about Windows handles, not Python reference leaks. But a Windows lock may use a Windows handle internally,

[issue33916] test_lzma: test_refleaks_in_decompressor___init__() leaks 100 handles on Windows

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: It seems like test_bz2 has the same issue, but I'm not sure: https://github.com/python/cpython/pull/7827#issuecomment-398810849 -- ___ Python tracker ___

[issue33916] test_lzma: test_refleaks_in_decompressor___init__() leaks 100 handles on Windows

2018-06-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +Tests nosy: +serhiy.storchaka versions: +Python 3.6, Python 3.7 ___ Python tracker ___

[issue33916] test_lzma: test_refleaks_in_decompressor___init__() leaks 100 handles on Windows

2018-06-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I four times tried to update this issue, and only the forth one was successful. Other attempts was failed because "Edit Error: someone else has edited this issue (nosy, components, versions)." This is an extreme case of race condition in real life. --

[issue33916] test_lzma: test_refleaks_in_decompressor___init__() leaks 100 handles on Windows

2018-06-20 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +7435 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue15533] subprocess.Popen(cwd) documentation: Posix vs Windows

2018-06-20 Thread Jan Lachnitt
Jan Lachnitt added the comment: Nobody responds yet, so I will. I think that the basic proposal was made by Chris Jerdonek in msg171692 already on 2012-10-01: First document both behaviors and then discuss the possible harmonization. I think the proposal was good and further discussion has

[issue8557] subprocess PATH semantics and portability

2018-06-20 Thread Jan Lachnitt
Jan Lachnitt added the comment: A related issue exists with cwd: #15533. -- nosy: +pepalogik ___ Python tracker ___ ___ Python-bugs-

[issue33917] idlelib/idle_test/template.py has invalid syntax

2018-06-20 Thread Matthias Klose
New submission from Matthias Klose : Seen with the 3.6 branch and the 3.7 branch at least. This file is installed by default, so should be valid syntax? If it's supposed to be that way, maybe call the template like template.py.in? Unpacking libpython3.6-testsuite (3.6.6~rc1-3) ... Setti

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-06-20 Thread Kenneth Hoste
Kenneth Hoste added the comment: After a bit of back and forth, we have figured out the underlying cause for the problem with the Intel compiler: if the stack limit is not set to a specific value (see output of "ulimit -s"), the Intel compilers fail with a segfault or Interal Compiler Error

  1   2   >