[issue30565] PEP 538: silence locale coercion and compatibility warnings by default?

2017-06-16 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +inada.naoki ___ Python tracker ___ ___

[issue30671] dict: improve lookup function

2017-06-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I totally concur with Tim. Your script test all hash codes in range(1<

[issue30681] email.utils.parsedate_to_datetime() should return None when date cannot be parsed

2017-06-16 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Thanks for all the great detailed background, and the suggested approaches. I think there are a couple of constraints that would be good to resolve. * parsedate_to_datetime() is documented as "performing the same function as parsedate()" with an explicit

[issue30038] Race condition in how trip_signal writes to wakeup fd

2017-06-16 Thread Ned Deily
Ned Deily added the comment: New changeset 6a98a04e21fc3209b2170c3930ce4488e89680e3 by Ned Deily in branch 'master': bpo-30038: add Misc/NEWS entry. (#2258) https://github.com/python/cpython/commit/6a98a04e21fc3209b2170c3930ce4488e89680e3 -- ___

[issue30038] Race condition in how trip_signal writes to wakeup fd

2017-06-16 Thread Ned Deily
Changes by Ned Deily : -- pull_requests: +2308 ___ Python tracker ___ ___ Python-bugs-list

[issue30625] Documentation is unclear how "y*" and "y#" format units vary

2017-06-16 Thread Martin Panter
Martin Panter added the comment: Issue 24009 proposes deprecating y# (among other units). IMO the documentation and error message aren’t specific enough regarding the reference to “bytes-like”. -- nosy: +martin.panter ___ Python tracker

[issue30038] Race condition in how trip_signal writes to wakeup fd

2017-06-16 Thread Ned Deily
Changes by Ned Deily : -- pull_requests: +2307 ___ Python tracker ___ ___ Python-bugs-list

[issue23894] lib2to3 doesn't recognize rb'...' and f'...' in Python 3.6

2017-06-16 Thread Ned Deily
Ned Deily added the comment: New changeset ceb817dcfe8bf99725de033cce16a6f4cbced6ba by Ned Deily in branch 'master': bpo-23894: add Misc/NEWS entry. (#2256) https://github.com/python/cpython/commit/ceb817dcfe8bf99725de033cce16a6f4cbced6ba -- ___

[issue23894] lib2to3 doesn't recognize rb'...' and f'...' in Python 3.6

2017-06-16 Thread Ned Deily
Changes by Ned Deily : -- pull_requests: +2306 ___ Python tracker ___ ___ Python-bugs-list

[issue23894] lib2to3 doesn't recognize rb'...' and f'...' in Python 3.6

2017-06-16 Thread Ned Deily
Ned Deily added the comment: New changeset b7c59f0d05bde0d4dd2d7bffc1b8af72c25d3f71 by Ned Deily in branch '3.6': bpo-23894: add Misc/NEWS entry. (#2255) https://github.com/python/cpython/commit/b7c59f0d05bde0d4dd2d7bffc1b8af72c25d3f71 -- ___

[issue23894] lib2to3 doesn't recognize rb'...' and f'...' in Python 3.6

2017-06-16 Thread Ned Deily
Changes by Ned Deily : -- pull_requests: +2305 ___ Python tracker ___ ___ Python-bugs-list

[issue18140] urlparse, urlsplit confused when password includes fragment (#), query (?)

2017-06-16 Thread Martin Panter
Changes by Martin Panter : -- dependencies: +[security] urllib connects to a wrong host ___ Python tracker ___

[issue30681] email.utils.parsedate_to_datetime() should return None when date cannot be parsed

2017-06-16 Thread Tim Bell
Tim Bell added the comment: Thanks for the feedback. I've made a new pull request which addresses the points raised. -- ___ Python tracker ___

[issue30670] pprint for dict in sorted order or insert order?

2017-06-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> later stage: -> resolved status: open -> closed ___ Python tracker ___

[issue30667] IDLE: revise doc subsection 'Completions'

2017-06-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: IDLE: revise doc subsections 'Completions' -> IDLE: revise doc subsection 'Completions' ___ Python tracker

[issue30637] Syntax error reported on compile(...), but not on compile(..., ast.PyCF_ONLY_AST)

2017-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Python grammar is constrained to be, I believe, LL(1). Whatever the constraint is, there are a few syntax rules that either cannot be written or would be difficult to write within the constraint. So they are checked during compilation. Can you suggest a

[issue30681] email.utils.parsedate_to_datetime() should return None when date cannot be parsed

2017-06-16 Thread Tim Bell
Changes by Tim Bell : -- pull_requests: +2304 ___ Python tracker ___ ___

[issue30420] Clarify kwarg handing for subprocess convenience APIs

2017-06-16 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +2303 ___ Python tracker ___ ___

[issue30630] Missing MSI files

2017-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unless you are experimenting, you only need 3.6.1. 3.0 is deprecated in the sense that it was not meant for production use. This tracker is for developing the next releases of CPython. If you have any more questions, try python-list. -- nosy:

[issue30629] lower() is called twice

2017-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: This appears to be your first CPython contribution. Welcome. We hope it is not the last. If you prepare a PR to add yourself to Misc/ACKS, in appropriate alphabetical position, I will merge it. Just suggest me as a reviewer. -- resolution: ->

[issue30629] lower() is called twice

2017-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 3358d589fb51372a56ddcfffa277855e5661c4c0 by terryjreedy (Motoki Naruse) in branch 'master': bpo-30629: Remove second call of str.lower() in html.parser.parse_endtag. (#2099)

[issue30671] dict: improve lookup function

2017-06-16 Thread Tim Peters
Tim Peters added the comment: Yes, any scheme whatsoever that guarantees to visit every int in range(2**i) meets the "correctness" part. But I concur with Inada: "head arguments" aren't compelling here, not even if I understood what they were saying ;-) If you implement it and demonstrate

[issue30674] IDLE: add docstrings to grep.py

2017-06-16 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks, Terry. It seems that it *is* the hidden placement algorithm and I just never noticed it before. I opened a bunch of terminal windows and they opened top left, bottom left, top right, bottom right, then continuing to follow a pattern. IDLE did the

[issue30619] typing.Union doc incoherence in case a class and its subclass are present

2017-06-16 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Yes, you are right. Could you please make a PR at https://github.com/python/cpython/pulls ? -- nosy: +levkivskyi ___ Python tracker

[issue30687] build.bat should locate msbuild.exe rather than vcvarsall.bat

2017-06-16 Thread Steve Dower
New submission from Steve Dower: Due to how installation of Visual Studio 2017 has changed, it's very possible to end up with a valid install of the build tools without vcvarsall.bat being valid. We only require MSBuild.exe to build, so we should find that tool and invoke it, rather than

[issue30687] build.bat should locate msbuild.exe rather than vcvarsall.bat

2017-06-16 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +2302 ___ Python tracker ___ ___

[issue30674] IDLE: add docstrings to grep.py

2017-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since all three search boxes call the same open, they use the same hidden placement algorithm. On Windows, the last position when closed is re-used for the next open for the duration of the IDLE session. When IDLE is closed and reopened, the initial

[issue24813] Redesign Help => About IDLE, make it non-modal

2017-06-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy stage: -> test needed title: Idle Help dialogs shouldn't be modal -> Redesign Help => About IDLE, make it non-modal versions: +Python 3.7 -Python 2.7, Python 3.5 ___ Python

[issue30686] make `make install` faster

2017-06-16 Thread INADA Naoki
New submission from INADA Naoki: Currently, `make install` doesn't use -jN option of compileall.py My idea is: * Use os.cpu_count() for -j0. * Use the option in Makefile -- components: Build messages: 296216 nosy: inada.naoki priority: normal severity: normal status: open title: make

[issue694339] IDLE: Dedenting with Shift+Tab

2017-06-16 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- nosy: +csabella ___ Python tracker ___ ___

[issue30681] email.utils.parsedate_to_datetime() should return None when date cannot be parsed

2017-06-16 Thread R. David Murray
R. David Murray added the comment: OK, I think I've reloaded my brain at least partially on this topic. I think my original reason for having prasedate_to_datetime raise errors is that it was my opinion that that is the way it should work, and that parsedate should work the same way (raise

[issue29097] datetime.fromtimestamp(t) when 0 <= t <= 86399 fails on Python 3.6

2017-06-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > I just ran the following script to check if there are any folds from > timestamps [0, 86399] in any timezone. Ammar, I am not sure pytz timezones support PEP 495 conventions. Can you repeat your experiment using the latest dateutil.tz or

[issue30682] f-string assert is too restrictive

2017-06-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- type: behavior -> crash ___ Python tracker ___

[issue30684] datetime.fromtimestamp raises OSError on first day after epoch on Windows

2017-06-16 Thread R. David Murray
R. David Murray added the comment: This appears to be a duplicate of issue 29097. -- nosy: +r.david.murray resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> datetime.fromtimestamp(t) when 0 <= t <= 86399 fails on Python 3.6

[issue30682] f-string assert is too restrictive

2017-06-16 Thread Eric V. Smith
Eric V. Smith added the comment: Terry: The eval is important. The bug was in evaluating an f-string that consisted of two bytes: a backslash followed by a newline. And just as: eval("'\\\n'") == '' # len == 0 so should eval("f'\\\n'") == '' # len == 0 It's the second one that was throwing

[issue30674] IDLE: add docstrings to grep.py

2017-06-16 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks. It seems like my windows pop-up all over the place. It's probably a Ubuntu thing. I was used to looking at help_about and textview, which cascade over the current window (I think because of self.geometry) and that's what prompted my initial

[issue30685] Multiprocessing Send to Manager Fails for Large Payload

2017-06-16 Thread Max Ehrlich
New submission from Max Ehrlich: On line 393 of multiprocessing/connection.py, the size of the payload to be sent is serialized as an integer. This fails for sending large payloads. It should probably be serialized as a long or better yet a long long. -- components: Library (Lib)

[issue30540] regrtest: add --matchfile option

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset 46e299c1536da541b9dbf76c0cb909bf8c79f589 by Victor Stinner in branch '3.5': [3.5] bpo-30540, bpo-30523: Add --matchfile and --list-cases options to regrtest (#2250)

[issue30523] regrtest: add --list-cases option to only display test case identifiers

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset 46e299c1536da541b9dbf76c0cb909bf8c79f589 by Victor Stinner in branch '3.5': [3.5] bpo-30540, bpo-30523: Add --matchfile and --list-cases options to regrtest (#2250)

[issue30523] regrtest: add --list-cases option to only display test case identifiers

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: On Python 2.7, listing *all* test cases with "./python -m test --list-cases" fails on the following test files: * test_multibytecodec_support * test_robotparser * test_xpickle regrtest of Python 2.7 uses the test_main() function of each test file, if the

[issue30674] IDLE: add docstrings to grep.py

2017-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Are you two using different Linux distributions with different graphics managers? Could tk act different on different distributions? -- ___ Python tracker

[issue30683] Enhance doctest support in regrtest --list-cases

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: > Note that --match (and --matchfile) is ignored by doctests, so technically, > it seems that it's doable ;-) In test_os, --match works on doctest tests: haypo@selma$ ./python -m test -v test_builtin --match=builtins.hex (...) 0:00:00 load avg: 0.28 [1/1]

[issue30683] Enhance doctest support in regrtest --list-cases

2017-06-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Note that --match (and --matchfile) is ignored by doctests. I think this can cause a problem for bisect feature. After making --match working with doctests we can found a way to name doctests and list them. -- nosy: +serhiy.storchaka

[issue30682] f-string assert is too restrictive

2017-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Before the patch, eval("f'\\\n'") gives me the same assertion failure, with an IDLE freeze instead of core dump equivalent, but is seems that the string should be of length 2. >>> len('\\\n') 2 >>> len(f'\\\n') 2 -- nosy: +terry.reedy stage: ->

[issue30523] regrtest: add --list-cases option to only display test case identifiers

2017-06-16 Thread STINNER Victor
Changes by STINNER Victor : -- title: unittest: add --list-tests option to only display the list of test names, don't run tests -> regrtest: add --list-cases option to only display test case identifiers ___ Python tracker

[issue30540] regrtest: add --matchfile option

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset 24c2c20873dc800c99d1dabf26419b40cadfe627 by Victor Stinner in branch '2.7': bpo-30540, bpo-30523: Add --matchfile and --list-cases options to regrtest (#2249) https://github.com/python/cpython/commit/24c2c20873dc800c99d1dabf26419b40cadfe627

[issue30523] unittest: add --list-tests option to only display the list of test names, don't run tests

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset 24c2c20873dc800c99d1dabf26419b40cadfe627 by Victor Stinner in branch '2.7': bpo-30540, bpo-30523: Add --matchfile and --list-cases options to regrtest (#2249) https://github.com/python/cpython/commit/24c2c20873dc800c99d1dabf26419b40cadfe627

[issue30540] regrtest: add --matchfile option

2017-06-16 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2300 ___ Python tracker ___ ___

[issue30523] unittest: add --list-tests option to only display the list of test names, don't run tests

2017-06-16 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2301 ___ Python tracker ___ ___

[issue30674] IDLE: add docstrings to grep.py

2017-06-16 Thread Louie Lu
Louie Lu added the comment: On Linux, it stick to the top-right of the IDLE, that says I can't reproduce the bump-out at the bottom :( -- nosy: +louielu ___ Python tracker

[issue30674] IDLE: add docstrings to grep.py

2017-06-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> commit review versions: +Python 3.6 ___ Python tracker ___

[issue30674] IDLE: add docstrings to grep.py

2017-06-16 Thread Terry J. Reedy
New submission from Terry J. Reedy: On PR 2213, Cheryl said "One other question -- when I run this, the dialog box always opens way on the bottom of my screen. Has anyone requested a change to this before? Or would it be worth mentioning on idle-dev?" Louie sees top left on Mac, I see same

[issue30484] Garbage Collector can cause Segfault whilst iterating dictionary items

2017-06-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Larry, does it worth to fix this issue in 3.4? -- assignee: -> larry ___ Python tracker ___

[issue30523] unittest: add --list-tests option to only display the list of test names, don't run tests

2017-06-16 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2299 ___ Python tracker ___ ___

[issue30540] regrtest: add --matchfile option

2017-06-16 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2298 ___ Python tracker ___ ___

[issue30484] Garbage Collector can cause Segfault whilst iterating dictionary items

2017-06-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 2248 backports the issue27945 patch to 3.4. Seems it fixes this issue. -- stage: -> patch review ___ Python tracker

[issue30484] Garbage Collector can cause Segfault whilst iterating dictionary items

2017-06-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2297 ___ Python tracker ___ ___

[issue27945] Various segfaults with dict

2017-06-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2296 ___ Python tracker ___ ___

[issue30684] datetime.fromtimestamp raises OSError on first day after epoch on Windows

2017-06-16 Thread Eryk Sun
Eryk Sun added the comment: This is due to computing the PEP 495 fold in the function datetime_from_timet_and_us in Modules/_datetimemodule.c. It computes the local time for (timet - max_fold_seconds), which is negative for timestamps less than max_fold_seconds (86400). It's documented that

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-16 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker

[issue30176] curses attribute constants list is incomplete

2017-06-16 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 304a96e5868c1b38a87692668f297aaf041e6e67 by Mariatta in branch '3.6': bpo-30176: Add missing curses cell attributes constants (GH-1302). (GH-2241) https://github.com/python/cpython/commit/304a96e5868c1b38a87692668f297aaf041e6e67 --

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-16 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset e9f4d8db5f30a9603fa0c005382bff78aa1ce232 by Mariatta in branch '3.6': [email] bpo-29478: Fix passing max_line_length=None from Compat32 policy (GH-595) (GH-2233) https://github.com/python/cpython/commit/e9f4d8db5f30a9603fa0c005382bff78aa1ce232

[issue30682] f-string assert is too restrictive

2017-06-16 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 2eca5b465f7404cc8484457b7966f828f434ec20 by ericvsmith (Serhiy Storchaka) in branch '3.6': [3.6] bpo-30682: Removed a too-strict assertion that failed for certain f-strings. (GH-2232) (#2242)

[issue29606] urllib FTP protocol stream injection

2017-06-16 Thread Dong-hee Na
Dong-hee Na added the comment: Yeah, I agree about your approach. I will update it for this weekend. -- ___ Python tracker ___

[issue30684] datetime.fromtimestamp raises OSError on first day after epoch on Windows

2017-06-16 Thread Christoph Reiter
New submission from Christoph Reiter: I'm not sure this is a bug since the docs says raising OSError is allowed, but it looks weird to me. On Windows. Using Python 3.4: >>> datetime.datetime.fromtimestamp(0) datetime.datetime(1970, 1, 1, 1, 0) Using Python 3.6.1: >>>

[issue30258] [2.7] regrtest: handle child process crash

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset a0ccc54e6dffacf9e7c06f2a3e9056d2d35d21eb by Victor Stinner in branch '3.6': Synchronize libregrtest from master to 3.6 (#2244) https://github.com/python/cpython/commit/a0ccc54e6dffacf9e7c06f2a3e9056d2d35d21eb --

[issue30523] unittest: add --list-tests option to only display the list of test names, don't run tests

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset a0ccc54e6dffacf9e7c06f2a3e9056d2d35d21eb by Victor Stinner in branch '3.6': Synchronize libregrtest from master to 3.6 (#2244) https://github.com/python/cpython/commit/a0ccc54e6dffacf9e7c06f2a3e9056d2d35d21eb --

[issue30284] Build CPython out of tree with a read-only source tree

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset a0ccc54e6dffacf9e7c06f2a3e9056d2d35d21eb by Victor Stinner in branch '3.6': Synchronize libregrtest from master to 3.6 (#2244) https://github.com/python/cpython/commit/a0ccc54e6dffacf9e7c06f2a3e9056d2d35d21eb --

[issue30263] regrtest: log the system load?

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset a0ccc54e6dffacf9e7c06f2a3e9056d2d35d21eb by Victor Stinner in branch '3.6': Synchronize libregrtest from master to 3.6 (#2244) https://github.com/python/cpython/commit/a0ccc54e6dffacf9e7c06f2a3e9056d2d35d21eb --

[issue30540] regrtest: add --matchfile option

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset a0ccc54e6dffacf9e7c06f2a3e9056d2d35d21eb by Victor Stinner in branch '3.6': Synchronize libregrtest from master to 3.6 (#2244) https://github.com/python/cpython/commit/a0ccc54e6dffacf9e7c06f2a3e9056d2d35d21eb --

[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset f50a3b1e7a74f3132d6b5e1afc793ace6de7e631 by Victor Stinner in branch '3.5': Revert "bpo-30673: test.bat: add -t option (timeout) (#2211) (#2226)" (#2247) https://github.com/python/cpython/commit/f50a3b1e7a74f3132d6b5e1afc793ace6de7e631

[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2d98c5354239e600cc4f799feabc9cb44666118e by Victor Stinner in branch 'master': Revert "bpo-30673: test.bat: add -t option (timeout) (#2211)" (#2245) https://github.com/python/cpython/commit/2d98c5354239e600cc4f799feabc9cb44666118e --

[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset 085a57a8d63b3c8057b5f793518e3d04179710a1 by Victor Stinner in branch '3.6': Revert "bpo-30673: test.bat: add -t option (timeout) (#2211) (#2225)" (#2246) https://github.com/python/cpython/commit/085a57a8d63b3c8057b5f793518e3d04179710a1

[issue30625] Documentation is unclear how "y*" and "y#" format units vary

2017-06-16 Thread Stefan Krah
Stefan Krah added the comment: Okay thanks, it's good to hear what others think about the docs. > So I have no clue why "y#" is refusing such an object. "y#" is refusing memoryview(bytes) because "y#" only allows objects without a releasebufferproc and memoryview itself always has one. I

[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-16 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2294 ___ Python tracker ___ ___

[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: > Oh wait, it seems like I misunderstood how Tools/buildbot/test.bat works: > unknown parameters as passed as if to regrtest. So it wasn't needed to add a > new -t option, using --timeout should just work. Right, --timeout already worked... I just checked the

[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-16 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2293 ___ Python tracker ___ ___

[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-16 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2295 ___ Python tracker ___ ___

[issue30683] Enhance doctest support in regrtest --list-cases

2017-06-16 Thread STINNER Victor
New submission from STINNER Victor: bpo-30523 added a new --list-cases command to regrtest to list test methods. It is able to list doctest tests in test_builtins, but not in test_extcall. test_builtin doctest tests: haypo@selma$ ./python -m test test_builtin --list-cases|grep ^builtins

[issue30523] unittest: add --list-tests option to only display the list of test names, don't run tests

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-30683: Enhance doctest support in regrtest --list-cases. -- ___ Python tracker ___

[issue30263] regrtest: log the system load?

2017-06-16 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2292 ___ Python tracker ___ ___

[issue30258] [2.7] regrtest: handle child process crash

2017-06-16 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2291 ___ Python tracker ___ ___

[issue30523] unittest: add --list-tests option to only display the list of test names, don't run tests

2017-06-16 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2288 ___ Python tracker ___ ___

[issue30540] regrtest: add --matchfile option

2017-06-16 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2290 ___ Python tracker ___ ___

[issue30284] Build CPython out of tree with a read-only source tree

2017-06-16 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2289 ___ Python tracker ___ ___

[issue30678] Widget variable binding does not work if mainloop is called from a different function

2017-06-16 Thread Javier Dehesa
Javier Dehesa added the comment: With the additional hint of garbage collection I have found now a number of examples of this behaviour (e.g. https://stackoverflow.com/questions/7439432/python-themed-tkinter-entry-variable-will-not-set). However, I haven't found actual documentation warning of

[issue30523] unittest: add --list-tests option to only display the list of test names, don't run tests

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset b0c58d3c569d1b9060248e665857b5df94817340 by Victor Stinner (Louie Lu) in branch 'master': bpo-30523: Add --list-cases unittest (#2243) https://github.com/python/cpython/commit/b0c58d3c569d1b9060248e665857b5df94817340 --

[issue30523] unittest: add --list-tests option to only display the list of test names, don't run tests

2017-06-16 Thread Louie Lu
Changes by Louie Lu : -- pull_requests: +2287 ___ Python tracker ___ ___ Python-bugs-list

[issue30523] unittest: add --list-tests option to only display the list of test names, don't run tests

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: Ah something else: doctests are not fully supported. ./python -m test test_extcall --list-cases This command has not output, whereas Lib/test/test_extcall.py contains doctests. test_builtins works because it uses: def load_tests(loader, tests, pattern):

[issue30523] unittest: add --list-tests option to only display the list of test names, don't run tests

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: Yeah, Louie fixed most issues! > I concur with Julien, the result should be printed to stdout. Done by Louie. The code now uses a simple print(). > I tried: > > $ ./python -m unittest test.test_builtin --list-tests > doctest.DocTestCase.runTest >

[issue30682] f-string assert is too restrictive

2017-06-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2286 ___ Python tracker ___ ___

[issue30682] f-string assert is too restrictive

2017-06-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 11e97f2f80bf65cc828c127eafc95229df35d403 by Serhiy Storchaka (ericvsmith) in branch 'master': bpo-30682: Removed a too-strict assertion that failed for certain f-strings. (#2232)

[issue30675] test_zipfile leaks references on Python 3.5 on the wo Refleaks buildbots (Gentoo, Windows)

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8bb0863e0282c71d21bc2c1b5184d05d8f3a0988 by Victor Stinner in branch '2.7': bpo-30675: Fix refleak hunting in regrtest (#2227) https://github.com/python/cpython/commit/8bb0863e0282c71d21bc2c1b5184d05d8f3a0988 --

[issue30678] Widget variable binding does not work if mainloop is called from a different function

2017-06-16 Thread Javier Dehesa
Javier Dehesa added the comment: I see what you mean. Looking at TkDocs (not sure if this is an "official" or "officially endorsed" source or not), one of the Python examples in the "Tk Concepts" section (http://www.tkdocs.com/tutorial/concepts.html) says: > Whether or not you save the widget

[issue30678] Widget variable binding does not work if mainloop is called from a different function

2017-06-16 Thread Paul Moore
Paul Moore added the comment: I suspect that the problem is somehow related to garbage collection - in your failing example you don't keep any references to v or cb. I don't know what references tkinter keeps internally, it may be that this is OK because the root window is guaranteed to keep

[issue30678] Widget variable binding does not work if mainloop is called from a different function

2017-06-16 Thread Javier Dehesa
Javier Dehesa added the comment: Yeah is quite subtle, I should have pointed it out... The difference is that `root.mainloop()` is called inside `make_var_cb(root)` in the first example and under `if __name__ == '__main__'` in the second one. I have experience the problem on Windows 10, and

[issue30523] unittest: add --list-tests option to only display the list of test names, don't run tests

2017-06-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset a49c935cfd6b4f8ea1f750888dd9260bbf5b9980 by Victor Stinner (mlouielu) in branch 'master': bpo-30523: regrtest: Add --list-cases option (#2238) https://github.com/python/cpython/commit/a49c935cfd6b4f8ea1f750888dd9260bbf5b9980 --

[issue30678] Widget variable binding does not work if mainloop is called from a different function

2017-06-16 Thread Louie Lu
Louie Lu added the comment: Sorry, but I can't see the different between your first and second code. On my Linux, it all set to check the box when it run up. Do I miss anything? -- nosy: +louielu ___ Python tracker

[issue30682] f-string assert is too restrictive

2017-06-16 Thread Eric V. Smith
Changes by Eric V. Smith : -- pull_requests: +2285 ___ Python tracker ___ ___

[issue30678] Widget variable binding does not work if mainloop is called from a different function

2017-06-16 Thread Javier Dehesa
Javier Dehesa added the comment: Note, this is not something specific to check buttons, the same happens with other widgets such as entries. -- ___ Python tracker

  1   2   >