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

2018-06-20 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Slightly off topic but while trying to look at the code I can see a space between function name and parenthesis as below. It's not an invalid syntax but it's mentioned as a pet peeve in PEP 8 to not to have space between function name and

[issue33924] In IDLE menudefs, change 'windows' to 'window'

2018-06-20 Thread miss-islington
miss-islington added the comment: New changeset 06deaf44d05471d9438502706cc09bb0e2ad3216 by Miss Islington (bot) in branch '3.6': bpo-33924: Change IDLE mainmenu.menudefs key 'windows' to 'window' (GH-7836) https://github.com/python/cpython/commit/06deaf44d05471d9438502706cc09bb0e2ad3216

[issue33924] In IDLE menudefs, change 'windows' to 'window'

2018-06-20 Thread miss-islington
miss-islington added the comment: New changeset e1f0dceb266ae66a3b8ea9d087266f3960c59b2d by Miss Islington (bot) in branch '3.7': bpo-33924: Change IDLE mainmenu.menudefs key 'windows' to 'window' (GH-7836) https://github.com/python/cpython/commit/e1f0dceb266ae66a3b8ea9d087266f3960c59b2d

[issue32500] PySequence_Length() raises TypeError on dict type

2018-06-20 Thread Vedran Čačić
Vedran Čačić added the comment: I don't believe this. Are you seriously saying that it is ok to tell the user "object of type 'dict' has no len()" when of course it does? Please change the error message so it does not so blatantly lie. Yes, I understand the underlying issue, but the common

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

2018-06-20 Thread Christopher Frederickson
Change by Christopher Frederickson : -- keywords: +patch pull_requests: +7448 stage: -> patch review ___ Python tracker ___ ___

[issue33924] In IDLE menudefs, change 'windows' to 'window'

2018-06-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +7447 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33924] In IDLE menudefs, change 'windows' to 'window'

2018-06-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +7446 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33924] In IDLE menudefs, change 'windows' to 'window'

2018-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 33c7420e7dd9d8e5b2aa15e98da6291bab6fcf33 by Terry Jan Reedy in branch 'master': bpo-33924: Change IDLE mainmenu.menudefs key 'windows' to 'window' (GH-7836) https://github.com/python/cpython/commit/33c7420e7dd9d8e5b2aa15e98da6291bab6fcf33

[issue33909] PyObject_CallFinalizerFromDealloc is not referenced in any documentation

2018-06-20 Thread INADA Naoki
INADA Naoki added the comment: I think I can describe what two function does/for. But I'm not good English writer. Would you write document instead? --- "Finalizer" is __del__ in Python and tp_finalize in C. Calling finalizer requires some tricks, including avoiding call twice. That is

[issue33924] In IDLE menudefs, change 'windows' to 'window'

2018-06-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +7445 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue33924] In IDLE menudefs, change 'windows' to 'window'

2018-06-20 Thread Terry J. Reedy
New submission from Terry J. Reedy : Some time ago, IDLE's main menu item 'Windows' was changed to 'Window'. The latter seems to be pretty standard for a list of open windows. Issue #33906 changed the implementation module name accordingly, from 'windows' to 'window'. This issue is about

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

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

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

2018-06-20 Thread miss-islington
miss-islington added the comment: New changeset 2839da4e51da5d66fa3d6e57eba4ba04f0641dab by Miss Islington (bot) in branch '3.6': bpo-33906: Rename idlelib.windows as window (GH-7833) https://github.com/python/cpython/commit/2839da4e51da5d66fa3d6e57eba4ba04f0641dab --

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

2018-06-20 Thread miss-islington
miss-islington added the comment: New changeset f9243a22da6a609143e27abf3ca37a4f63d5aae9 by Miss Islington (bot) in branch '3.7': bpo-33906: Rename idlelib.windows as window (GH-7833) https://github.com/python/cpython/commit/f9243a22da6a609143e27abf3ca37a4f63d5aae9 -- nosy:

[issue33922] Enforce 64bit Python by Launcher

2018-06-20 Thread Eryk Sun
Eryk Sun added the comment: Limiting to 64-bit is already implemented in the latest version of the launcher. For example, below I've renamed the registry key for 64-bit Python 3.5 to "xxx3.5" to prevent the launcher from finding it: C:\>py -3.5-64 Python 3.5-64 not found!

[issue33742] Unsafe memory access in PyStructSequence_InitType

2018-06-20 Thread Xiang Zhang
Change by Xiang Zhang : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

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

2018-06-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +7444 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-06-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +7443 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a361e89d5ae3daefe9e8b8a7e889cd2ad8c45b77 by Terry Jan Reedy in branch 'master': bpo-33906: Rename idlelib.windows as window (#7833) https://github.com/python/cpython/commit/a361e89d5ae3daefe9e8b8a7e889cd2ad8c45b77 --

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

2018-06-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +7442 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33923] py.ini cannot set 32/64bits for specific version

2018-06-20 Thread Robert
New submission from Robert : Currently py.ini allows to set default interpreters for python 3 and 2. i.e.: python3=3.6-32 python2=2.7-32 But it is not possible to set a default interpreter on a specific version. I.e. when running "py -3.6" it would be nice to set the default to 32bit. i.e.:

[issue33922] Enforce 64bit Python by Launcher

2018-06-20 Thread Robert
New submission from Robert : When using the Python Launcher "py.exe", it uses 64bit by default and I can enforce using 32bit. But there is no way to enforce 64bit. If I run "py -3.6" the actual called interpreter depends on the interpreter versions installed on my system. Thus "py

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

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: +def tearDown(self): +self.executor.shutdown(wait=True) +dt = time.time() - self.t1 +if test.support.verbose: +print("%.2fs" % dt, end=' ') +self.assertLess(dt, 60, "synchronization issue: test lasted too long")

[issue33921] Explain that '' can be used to bind to all interfaces for the AF_INET address family in the docs

2018-06-20 Thread John Hagen
New submission from John Hagen : The socket documentation (https://docs.python.org/3/library/socket.html#socket-families) does not list '' as a way to bind to all interfaces for the AF_INET/AF_INET6 address family. This is answered on SO here: https://stackoverflow.com/a/8034146 but it took

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

2018-06-20 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33903] Can't use lib2to3 with embeddable zip file

2018-06-20 Thread Steve Dower
Steve Dower added the comment: Oh, and issue24960 is not the same. That one is related primarily to having the entire standard library in a zip file. That may be the case for the embeddable distro, but the embeddable distro is also not intended to support installing packages itself, so it

[issue33903] Can't use lib2to3 with embeddable zip file

2018-06-20 Thread Steve Dower
Steve Dower added the comment: This is by design. If you want to install packages into a directory that includes the embeddable zip, you'll need either the matching full install of Python or the Nuget package and use the "--target" argument to pip to put the packages in your directory. See

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

2018-06-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Marking 2.7 for a search test. -- versions: +Python 2.7 ___ Python tracker ___ ___

[issue33917] Fix and document idlelib/idle_test/template.py

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

[issue33920] test_asyncio: test_run_coroutine_threadsafe_with_timeout() failed on AMD64 FreeBSD 10.x Shared 3.7

2018-06-20 Thread STINNER Victor
New submission from STINNER Victor : AMD64 FreeBSD 10.x Shared 3.7: http://buildbot.python.org/all/#/builders/124/builds/397 == FAIL: test_run_coroutine_threadsafe_with_timeout

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

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: > I think commit 4ffe9c2b251f6e027b26250b7a2618e78d4edd22 from bpo-33718 should > be backported IMO: ... Once PR 7735 will be merged, we can backport recent regrtest commits at once into 3.7, then backport the 3.7 change to 3.6 and 2.7. --

[issue33917] Fix and document idlelib/idle_test/template.py

2018-06-20 Thread miss-islington
miss-islington added the comment: New changeset 7c853d0620e1ea838f46642dbaa8ef142d80aa01 by Miss Islington (bot) in branch '3.6': bpo-33917: Fix and document idlelib/idle_test/template.py (GH-7830) https://github.com/python/cpython/commit/7c853d0620e1ea838f46642dbaa8ef142d80aa01 --

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

2018-06-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think commit4ffe9c2b251f6e027b26250b7a2618e78d4edd22 from bpo-33718 should be backported IMO: bpo-33718: regrtest: use format_duration() to display failed tests (GH-7686)

[issue33917] Fix and document idlelib/idle_test/template.py

2018-06-20 Thread miss-islington
miss-islington added the comment: New changeset a717c5646b36a42e4eb0ec4ae2a22520ff47d346 by Miss Islington (bot) in branch '3.7': bpo-33917: Fix and document idlelib/idle_test/template.py (GH-7830) https://github.com/python/cpython/commit/a717c5646b36a42e4eb0ec4ae2a22520ff47d346 --

[issue33918] Hooking into pause/resume of iterators/coroutines

2018-06-20 Thread Yury Selivanov
Yury Selivanov added the comment: > Imagine the context manager is mock.patch used in testing and you want to run > two tests in "parallel", each with a different mocked method. mock.patch > isn't aware of `await` so patching will be incorrect. That's still doable with contextvars. You just

[issue33917] Fix and document idlelib/idle_test/template.py

2018-06-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +7441 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33918] Hooking into pause/resume of iterators/coroutines

2018-06-20 Thread Liran Nuna
Liran Nuna added the comment: > You should try to use the contextvars module that was specifically created to > handle local context state (for tasks & coroutines). Yury, from my original report: > I'm aware that this particular problem could be solved with the new context > variables

[issue33917] Fix and document idlelib/idle_test/template.py

2018-06-20 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +7440 stage: commit review -> patch review ___ Python tracker ___ ___

[issue33917] Fix and document idlelib/idle_test/template.py

2018-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 87a927325e3856621790a39d8718ff24a19510aa by Terry Jan Reedy in branch 'master': bpo-33917: Fix and document idlelib/idle_test/template.py (GH-7830) https://github.com/python/cpython/commit/87a927325e3856621790a39d8718ff24a19510aa --

[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: There are two problems in test_semaphore_tracker_sigint. One of the problems is that if `should_die` is False, the code does not check that no warning is raised (and the warning is being raised, so this the error has pass silently.) The other problem

[issue33917] Fix and document idlelib/idle_test/template.py

2018-06-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: needs patch -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33917] Fix and document idlelib/idle_test/template.py

2018-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tal and Cheryl: I revised the template for IDLE tests, pulled it out of README.txt into template.py, and explained it in the readme. It has new code for cleaning up after instantiating EditorWindow in tests. Please follow for any new test file, including

[issue33918] Hooking into pause/resume of iterators/coroutines

2018-06-20 Thread Yury Selivanov
Yury Selivanov added the comment: You should try to use the contextvars module that was specifically created to handle local context state (for tasks & coroutines). -- ___ Python tracker

[issue33919] Expose _PyCoreConfig structure to Python

2018-06-20 Thread STINNER Victor
STINNER Victor added the comment: Is is still a secret seed if it's public? :) -- nosy: +vstinner ___ Python tracker ___ ___

[issue33917] Fix and document idlelib/idle_test/template.py

2018-06-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +7439 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue33919] Expose _PyCoreConfig structure to Python

2018-06-20 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jun 20, 2018, at 13:28, Christian Heimes wrote: > > Christian Heimes added the comment: > > hash_seed and use_hash_seed could be added to sys.hash_info. This would be > the first place I'd look for the information. After all I implemented it. :) That

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

2018-06-20 Thread Chris Jerdonek
Change by Chris Jerdonek : -- assignee: chris.jerdonek -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33919] Expose _PyCoreConfig structure to Python

2018-06-20 Thread Christian Heimes
Christian Heimes added the comment: hash_seed and use_hash_seed could be added to sys.hash_info. This would be the first place I'd look for the information. After all I implemented it. :) -- nosy: +christian.heimes ___ Python tracker

[issue33875] Allow dynamic password evaluation in pypirc configuration file.

2018-06-20 Thread Ned Deily
Change by Ned Deily : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33894] tempfile.tempdir cannot be unset

2018-06-20 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +7437 stage: -> patch review ___ Python tracker ___ ___

[issue33919] Expose _PyCoreConfig structure to Python

2018-06-20 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : The _PyCoreConfig structure in pystate.h has some interesting fields that I don't think are exposed anywhere else to Python-land. I was particularly interested recently in hash_seed and use_hash_seed. I'm thinking that it may be useful to expose this

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

2018-06-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +7436 stage: -> patch review ___ Python tracker ___ ___

[issue33903] Can't use lib2to3 with embeddable zip file

2018-06-20 Thread Brett Cannon
Change by Brett Cannon : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___

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

2018-06-20 Thread Kenneth Hoste
Kenneth Hoste added the comment: Fully agreed that this is not something that should be fixed in the Python code base. Moreover, the problem has been fixed in Intel compilers 2018 update 3 as far as I can tell (tested with both Python 3.6.4 and 3.7.0rc1). I can't reproduce the problem

[issue33918] Hooking into pause/resume of iterators/coroutines

2018-06-20 Thread Liran Nuna
Liran Nuna added the comment: I would like to stress this issue happens with iterators as well, and this isn't a unique issue to asyncio only. I would like to propose four new magic methods for context managers to solve this: __pause__, __resume__, __apause__ and __aresume__ which will be

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

2018-06-20 Thread Ned Deily
Ned Deily added the comment: Thanks for all the investigate work and thanks for the finding what appears to be an easy workaround, @boegel. Clearly, though, this is not a Python problem and, with an external workaround (e.g. increasing the process stack size via ulimit), there is no need

[issue33917] Fix and document idlelib/idle_test/template.py

2018-06-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +ned.deily versions: +Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___

[issue33917] Fix and document idlelib/idle_test/template.py

2018-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I wrote it intentionally the way it is, for #33855, as it made it maximally easily to use to complete the test suite. Since it caused a problem, I added a valid dummy name to be replaced, and fixed the other syntax error. The file now compiles, runs, and

[issue33918] Hooking into pause/resume of iterators/coroutines

2018-06-20 Thread Ned Deily
Change by Ned Deily : -- components: +asyncio -Interpreter Core nosy: +asvetlov, yselivanov versions: -Python 3.4, Python 3.5 ___ Python tracker ___

[issue33855] IDLE: Minimally test every non-startup module.

2018-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: #33917 is about fixing and documenting template.py. -- dependencies: +idlelib/idle_test/template.py has invalid syntax ___ Python tracker

[issue33918] Hooking into pause/resume of iterators/coroutines

2018-06-20 Thread Liran Nuna
New submission from Liran Nuna : An interesting property of async programming is that execution order is nondeterministic and async function "pause" and "resume" execution as events come in. This can play havok with context managers, especially ones that wrap a global state change. I can

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

2018-06-20 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[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

[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) ...

[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 ___ ___

[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

[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 ___ ___

[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 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 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 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 Zackery Spytz
Zackery Spytz added the comment: Have a look at #23224 and PR 7822. -- nosy: +ZackerySpytz ___ 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 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

[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

[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 Pander
Pander added the comment: Since June 2018, Unicode version 11.0 is out. Perhaps that could help move this forward. -- ___ Python tracker ___

[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

[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 =

[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 ___

[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 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

[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 ___

[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 Steve Dower
Change by Steve Dower : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[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

[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

[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:

[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

[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()

[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 ___

[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

[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

[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).

[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:

[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: +7432 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[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:

[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

  1   2   >