[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-29 Thread Steve Dower
Steve Dower added the comment: How far back does it need to be ported? Just to 3.5? -- stage: -> backport needed ___ Python tracker ___

[issue30805] asyncio: race condition with debug and subprocess

2017-06-29 Thread William Grzybowski
New submission from William Grzybowski: If a process is schedule to run in the event loop with debug disabled and debug is then enabled before the process finishes it will result in a traceback: debug_log undefined. [2017/06/29 14:39:13] (ERROR) asyncio.default_exception_handler():1261 - Ta sk

[issue29926] IDLE: in shell, time.sleep ignores _thread.interrupt_main()

2017-06-29 Thread Eryk Sun
Eryk Sun added the comment: Terry, I assume you ran IDLE via pyw.exe or pythonw.exe, which won't inherit the console of its parent. You have to use py.exe or python.exe. In this case you can also use sys.__stdout__.write('spam\n'). If you run via pythonw.exe or pyw.exe from a command prompt,

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-29 Thread Segev Finer
Segev Finer added the comment: All that remains is back porting https://github.com/python/cpython/pull/2375 and than this issue is fixed. -- ___ Python tracker

[issue29926] IDLE: in shell, time.sleep ignores _thread.interrupt_main()

2017-06-29 Thread Eryk Sun
Eryk Sun added the comment: > interrupt_main is now equivalent to the user having hit control-C. That's true on a POSIX system with pthread_kill, but not really for a Windows process that's attached to a console. A real Ctrl+C executes the registered control handlers for the process.

[issue27584] New addition of vSockets to the python socket module

2017-06-29 Thread Cathy Avery
Cathy Avery added the comment: The build and test bots failed but I don't understand why. The build could not find module _socket but that is not new and other modules failed. The test could not import fcntl which I did add but should not fail as I have run this test many time and other tests

[issue30772] If I make an attribute "

2017-06-29 Thread Nate Soares
Nate Soares added the comment: To be clear, the trouble I was trying to point at is that if foo.py didn't have __all__, then it would still have a BB attribute. But if the module is given __all__, the BB is normalized away into a B. This seems like pretty strange/counterintuitive behavior. For

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: David, would it be possible to have shell access to that machine? -- ___ Python tracker ___

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: x86 Tiger is fine too. -- ___ Python tracker ___ ___ Python-bugs-list

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, there's definitely something fishy here. Look at the elapsed times: 0:16:33 load avg: 0.93 [281/406] test_ossaudiodev skipped -- running: test_signal (874 sec) test_ossaudiodev skipped -- [Errno 2] No such file or directory: '/dev/dsp' 0:16:59 load avg:

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hmm, it's not 15 seconds, it's 15 minutes... -- ___ Python tracker ___ ___

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hmm, that function only sends 20 signals in a row. How can it timeout after 15 seconds? -- nosy: +db3l ___ Python tracker

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread STINNER Victor
STINNER Victor added the comment: http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/979/steps/test/logs/stdio test_stress_delivery_dependent (test.test_signal.StressTest) ... Timeout (0:15:00)! Thread 0x405acdc0 (most recent call first): File

[issue30804] bolen-dmg-3.x build-installer.py failed

2017-06-29 Thread STINNER Victor
New submission from STINNER Victor: It may be related to bpo-29585, see commits: - a8f8d5b4bd30dbe0828550469d98f12d2ebb2ef4 - b01c574ad6d796025152b5d605eceb7816e6f7a7 - 6b42eb17649bed9615b6e6cecaefdb2f46990b2c

[issue27584] New addition of vSockets to the python socket module

2017-06-29 Thread Cathy Avery
Cathy Avery added the comment: I also issued a pull request https://github.com/python/cpython/pull/2489 Let me know if I screwed it up. Thanks, Cathy -- ___ Python tracker

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: The stable buildbots seem fine now (problem fixed on FreeBSD 9, thank you Koobs!). -- ___ Python tracker ___

[issue27584] New addition of vSockets to the python socket module

2017-06-29 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +2548 ___ Python tracker ___

[issue30802] datetime.datetime.strptime('200722', '%Y%U')

2017-06-29 Thread Matthew Barnett
Matthew Barnett added the comment: Expected result is datetime.datetime(2017, 6, 25, 0, 0). -- nosy: +mrabarnett ___ Python tracker ___

[issue30647] CODESET error on AMD64 FreeBSD 10.x Shared 3.x caused by the PEP 538

2017-06-29 Thread Nick Coghlan
Nick Coghlan added the comment: I was able to fix the test_readline failure by restoring the locale based on the environment settings with `setlocale(LC_CTYPE, "")` rather than the return value from a preceding call to `setlocale(LC_CTYPE, NULL)`. That means we can leave the runtime coercion

[issue30647] CODESET error on AMD64 FreeBSD 10.x Shared 3.x caused by the PEP 538

2017-06-29 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 18974c35ad9d25ffea041dc0363dc01889f4a595 by Nick Coghlan in branch 'master': bpo-30647: Check nl_langinfo(CODESET) in locale coercion (GH-2374) https://github.com/python/cpython/commit/18974c35ad9d25ffea041dc0363dc01889f4a595 --

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset f7d090c165f6cd3d008fe60c78e5324caef53f80 by Antoine Pitrou in branch 'master': bpo-30796: Fix failures in signal delivery stress test (#2488) https://github.com/python/cpython/commit/f7d090c165f6cd3d008fe60c78e5324caef53f80 --

[issue13821] misleading return from isidentifier

2017-06-29 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: -haypo ___ Python tracker ___ ___

[issue13821] misleading return from isidentifier

2017-06-29 Thread R. David Murray
R. David Murray added the comment: IMO allow_non_nfkc=True that just returns False would be a bad idea, since as Benjamin points out it *is* a valid identifier, it's just not normalized (yet). Raising might work, that way you could tell the difference, but that would be a weird API for such

[issue30581] os.cpu_count() returns wrong number of processors on system with > 64 logical processors

2017-06-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> needs patch versions: +Python 3.5, Python 3.7 ___ Python tracker ___

[issue30302] Improve .__repr__ implementation for datetime.timedelta

2017-06-29 Thread STINNER Victor
STINNER Victor added the comment: > Between datetime.timedelta(0) and datetime.timedelta(seconds=0), I am > ambivalent but I prefer the latter for consistency with the other repr. I read your latest PR. Now I don't like seconds=0 anymore. I would prefer a datetime.timedelta(0) special case.

[issue30803] Truth value of sets not properly documented

2017-06-29 Thread Peter Thomassen
New submission from Peter Thomassen: The truth value of sets is not properly documented, in particular regarding whether an empty set is considered false or not. Ignoring primitive (such as numerals) as well as user-defined types, https://docs.python.org/3/library/stdtypes.html#truth says: >

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +2547 ___ Python tracker ___ ___

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Kubilay Kocak
Kubilay Kocak added the comment: @Antoine Happy to any time. PM me public key on IRC (freenode:koobs) and I'll reply with user@host:port -- ___ Python tracker

[issue30802] datetime.datetime.strptime('200722', '%Y%U')

2017-06-29 Thread winton Wang
winton Wang added the comment: the output: datetime.datetime(2017, 1, 1, 0, 0) I question about the week format if without the week of the weekday, the datetime should be the fist day of week as the default? -- ___ Python tracker

[issue30802] datetime.datetime.strptime('200722', '%Y%U')

2017-06-29 Thread winton Wang
New submission from winton Wang: datetime stiptime error according to "%U" format. Python version: 3.4.3, 2.7.13 ,3.6.0, 3.5.2 from datetime import datetime input: datetime.strptime('201726', '%Y%U') output: datetime.datetime(2007, 1, 1, 0, 0) -- components: Library (Lib)

[issue30602] [Windows] os.spawn*() tests of test_os leak references on Windows

2017-06-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset b78fbaaeab9df8cfbbdae3d5faf2d1537d73e43b by Victor Stinner in branch '3.6': bpo-30602: Fix refleak in os.spawnv() (#2212) (#2486) https://github.com/python/cpython/commit/b78fbaaeab9df8cfbbdae3d5faf2d1537d73e43b --

[issue24766] Subclass of property doesn't preserve instance __doc__ when using doc= argument

2017-06-29 Thread Erik Bray
Changes by Erik Bray : -- pull_requests: +2546 ___ Python tracker ___ ___

[issue27546] Integrate tkinter and asyncio (and async)

2017-06-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: -pitrou ___ Python tracker ___ ___ Python-bugs-list

[issue27546] Integrate tkinter and asyncio (and async)

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: If you're interesting in this, you should take a look at what Twisted has done, since they have a history of integrating with various GUI toolkits. You'll find everything in the "twisted.internet" package:

[issue30776] regrtest: change -R/--huntrleaks rule to decide if a test leaks references

2017-06-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset beeca6e1e5fd01531b1db7059498b13d07dca525 by Victor Stinner in branch 'master': bpo-30776: regrtest: reduce memleak false positive (#2484) https://github.com/python/cpython/commit/beeca6e1e5fd01531b1db7059498b13d07dca525 --

[issue30602] [Windows] os.spawn*() tests of test_os leak references on Windows

2017-06-29 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2545 ___ Python tracker ___ ___

[issue24412] setUpClass equivalent for addCleanup

2017-06-29 Thread Daryl Blanc
Changes by Daryl Blanc : -- nosy: +dablanc ___ Python tracker ___ ___ Python-bugs-list

[issue30801] shoutdown process error with python 3.4 and pyqt/PySide

2017-06-29 Thread alberfontan1
Changes by alberfontan1 : -- pull_requests: +2544 ___ Python tracker ___ ___

[issue30801] shoutdown process error with python 3.4 and pyqt/PySide

2017-06-29 Thread alberfontan1
New submission from alberfontan1: For a package applicaction with pyqt/PySide, Python 3.4 on Windows, appers a window fatal error when shoutdown process manager of multiprocessing -- components: Library (Lib) messages: 297261 nosy: alberfontan1 priority: normal severity: normal status:

[issue30776] regrtest: change -R/--huntrleaks rule to decide if a test leaks references

2017-06-29 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2543 ___ Python tracker ___ ___

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread STINNER Victor
STINNER Victor added the comment: The process is even killed. http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%203.x/builds/275/steps/test/logs/stdio Re-running test 'test_signal' in verbose mode test_enums (test.test_signal.GenericTests) ... ok test_itimer_exc

[issue30744] Local variable assignment is broken when combined with threads + tracing + closures

2017-06-29 Thread Nick Coghlan
Nick Coghlan added the comment: The problem I see with proxy objects for functions/coroutines/generators is that it *doesn't* match how locals() currently behaves in the absence of a tracing function - that gives you a "single shared snapshot" behaviour, where writes to the result of locals()

[issue29585] site.py imports relatively large `sysconfig` module.

2017-06-29 Thread INADA Naoki
Changes by INADA Naoki : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue29585] site.py imports relatively large `sysconfig` module.

2017-06-29 Thread INADA Naoki
INADA Naoki added the comment: New changeset 6b42eb17649bed9615b6e6cecaefdb2f46990b2c by INADA Naoki in branch 'master': bpo-29585: Fix sysconfig.get_config_var("PYTHONFRAMEWORK") (GH-2483) https://github.com/python/cpython/commit/6b42eb17649bed9615b6e6cecaefdb2f46990b2c --

[issue29585] site.py imports relatively large `sysconfig` module.

2017-06-29 Thread INADA Naoki
Changes by INADA Naoki : -- pull_requests: +2542 ___ Python tracker ___ ___

<    1   2