[issue30843] [2.7] Lib/test/bisect.py conflicts with Lib/bisect.py when running tests

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3050987d85d7cf8cdd4b3c053e673d13cd8dfb12 by Victor Stinner in branch '2.7': bpo-30843: regrtest fixes sys.path, restore test.bisect (#2567) https://github.com/python/cpython/commit/3050987d85d7cf8cdd4b3c053e673d13cd8dfb12 -- ___

[issue30844] selectors: Add urgent data to read event

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: > "urgent data", "High-priority data" How is an application supposed to handle these data? Read them before any other data? The selectors API returns a list of (key, events) tuples. So an application has to iterate on this list twice? A first time to look for

[issue30319] Change socket.close() to ignore ECONNRESET

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: Antoine: FYI I abandonned my idea of ignoring errors on socket.shutdown(), since I agree with your rationale. An application may rely on shutdown() exception to trigger some events, and a socket can still be used after a shutdown(). -- __

[issue30319] Change socket.close() to ignore ECONNRESET

2017-07-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you Victor :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue30319] Change socket.close() to ignore ECONNRESET

2017-07-05 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs

[issue30843] [2.7] Lib/test/bisect.py conflicts with Lib/bisect.py when running tests

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: With the help of Nick Coghlan, I fixed regrtest.py to remove '' and Lib/test/ from sys.path, so multiprocessing should now pick Lib/bisect.py, and I was able to rename again Lib/test/bisectcmd.py to Lib/test/bisect.py. -- _

[issue30854] Compile error on Python/ceval.c

2017-07-05 Thread Masayuki Yamamoto
New submission from Masayuki Yamamoto: I found a syntax error when compiling without threads. In that place, the colon has been used instead of semicolon at end of statement. build commands and error log: $ uname -a Linux masayuki-P35-DS3 4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:25 UTC

[issue30759] [2.7] Fix python2 -m test --list-cases test_multibytecodec_support test_robotparser

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 668489a6d5a5b124aea35820ca90cb5e3b2b3ecd by Victor Stinner in branch '2.7': bpo-30759: Copy test_robotparser from master (#2546) https://github.com/python/cpython/commit/668489a6d5a5b124aea35820ca90cb5e3b2b3ecd -- __

[issue30703] Non-reentrant signal handler (test_multiprocessing_forkserver hangs)

2017-07-05 Thread Masayuki Yamamoto
Changes by Masayuki Yamamoto : -- pull_requests: +2652 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue30850] [2.7] bsddb3: test01_basic_replication() of test_bsddb3 fails randomly on AMD64 Windows8.1 Refleaks 2.7

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: "First at all replace self.assertTrue(time.time() ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/pytho

[issue30854] Compile error on Python/ceval.c

2017-07-05 Thread Masayuki Yamamoto
Changes by Masayuki Yamamoto : -- pull_requests: +2651 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue30854] Compile error on Python/ceval.c

2017-07-05 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

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

2017-07-05 Thread Utkarsh Upadhyay
Utkarsh Upadhyay added the comment: This case is explicitly mentioned in the documentation: https://docs.python.org/3/library/datetime.html#strftime-and-strptime-behavior > 7. When used with the strptime() method, %U and %W are only used in > calculations when the day of the week and the cale

[issue30759] [2.7] Fix python2 -m test --list-cases test_multibytecodec_support test_robotparser

2017-07-05 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2653 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30759] [2.7] Fix python2 -m test --list-cases test_multibytecodec_support test_robotparser

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: Hum, it still doesn't work. With my latest PR, "./python -m test --list-cases" now work on all tests of Python 2.7: https://github.com/python/cpython/pull/2582 -- ___ Python tracker

[issue30854] Compile error on Python/ceval.c

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0c3116309307ad2c7f8e2d2096612f4ab33cbb62 by Victor Stinner (Masayuki Yamamoto) in branch 'master': bpo-30854: Fix compile error when --without-threads (#2581) https://github.com/python/cpython/commit/0c3116309307ad2c7f8e2d2096612f4ab33cbb62

[issue30759] [2.7] Fix python2 -m test --list-cases test_multibytecodec_support test_robotparser

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8767de2f776e0c8c7404680cdacad83e5d902955 by Victor Stinner in branch '2.7': bpo-30759: regrtest: list_cases() now unload modules (#2582) https://github.com/python/cpython/commit/8767de2f776e0c8c7404680cdacad83e5d902955 -- __

[issue30759] [2.7] Fix python2 -m test --list-cases test_multibytecodec_support test_robotparser

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: Ok, this one is now fixed ;-) -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue30854] Compile error on Python/ceval.c without threads

2017-07-05 Thread Masayuki Yamamoto
Changes by Masayuki Yamamoto : -- pull_requests: +2654 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue30854] Compile error on Python/ceval.c without threads

2017-07-05 Thread STINNER Victor
Changes by STINNER Victor : -- title: Compile error on Python/ceval.c -> Compile error on Python/ceval.c without threads ___ Python tracker ___ _

[issue30850] [2.7] bsddb3: test01_basic_replication() of test_bsddb3 fails randomly on AMD64 Windows8.1 Refleaks 2.7

2017-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Can you please propose a PR for that Serhiy, please? Will do. -- ___ Python tracker ___ ___ Pyt

[issue30844] selectors: Add urgent data to read event

2017-07-05 Thread Pim Klanke
Pim Klanke added the comment: > "The selectors API returns a list of (key, events) tuples. So an application > has to iterate on this list twice?" No. "urgent data" means 'urgent' towards other events for thís key (key being the file object), not towards events for other file objects. AFAIK

[issue30844] selectors: Add urgent data to read event

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: Pim Klanke: "(...) IMO there is no need to handle urgent data events of all file objects, before handling other events." Hum, ok. So no need to extend the selectors API for that. I also understand that it's better to let applications decide how to prioritize t

[issue30854] Compile error on Python/ceval.c without threads

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset e3a0ff0d76b9e7a994afa7f2c54b19a63f1bb57d by Victor Stinner (Masayuki Yamamoto) in branch '3.6': [3.6] bpo-30854: Fix compile error when --without-threads (GH-2581) (#2583) https://github.com/python/cpython/commit/e3a0ff0d76b9e7a994afa7f2c54b19a63f

[issue30847] asyncio: selector_events: add_urgent() for urgent data to read, 3rd argument of select.select()

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: In the selectors issue, we discussed how an application should prioritize "urgent" events: http://bugs.python.org/issue30844#msg297707 While I now agree that it's not the role of selectors to decide, I would like to discuss the plan for asyncio. Let's say tha

[issue30854] Compile error on Python/ceval.c without threads

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: Thanks Masayuki Yamamoto for your fixes! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue30850] [2.7] bsddb3: test01_basic_replication() of test_bsddb3 fails randomly on AMD64 Windows8.1 Refleaks 2.7

2017-07-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2655 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue10141] SocketCan support

2017-07-05 Thread Riccardo Magliocchetti
Riccardo Magliocchetti added the comment: I have an issue related to this while trying to compile statically Python 3.6.1 against a static musl. The problem is that i have AF_CAN defined because it's defined in linux/socket.h but by not having HAVE_LINUX_CAN_H defined in pyconfig.h the header

[issue30850] [2.7] bsddb3: test01_basic_replication() of test_bsddb3 fails randomly on AMD64 Windows8.1 Refleaks 2.7

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2b92cd3b16ba83aaaf11a91a19845ca6804663d9 by Victor Stinner (Serhiy Storchaka) in branch '2.7': bpo-30850: Use specialized assert methods in bsddb tests. (#2584) https://github.com/python/cpython/commit/2b92cd3b16ba83aaaf11a91a19845ca6804663d9 --

[issue30855] test_use() of test_tkinter.test_widgets randomly fails with "integer value too large to represent" on with AMD64 Windows8 3.5

2017-07-05 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/AMD64%20Windows8%203.5/builds/323/steps/test/logs/stdio == ERROR: test_use (tkinter.test.test_tkinter.test_widgets.ToplevelTest) ---

[issue30855] [3.5] test_tk: test_use() of test_tkinter.test_widgets randomly fails with "integer value too large to represent" on with AMD64 Windows8 3.5

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: This bug looks similar to issue25263. -- title: test_use() of test_tkinter.test_widgets randomly fails with "integer value too large to represent" on with AMD64 Windows8 3.5 -> [3.5] test_tk: test_use() of test_tkinter.test_widgets randomly fails with

[issue30855] [3.5] test_tk: test_use() of test_tkinter.test_widgets randomly fails with "integer value too large to represent" on with AMD64 Windows8 3.5

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: The compile step mentions Tk version 8.6.4.2: "tk-8.6.4.2 already exists, skipping." http://buildbot.python.org/all/builders/AMD64%20Windows8%203.5/builds/323/steps/compile/logs/stdio -- ___ Python tracker

[issue30855] [3.5] test_tk: test_use() of test_tkinter.test_widgets randomly fails with "integer value too large to represent" on with AMD64 Windows8 3.5

2017-07-05 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2656 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30855] [3.5] test_tk: test_use() of test_tkinter.test_widgets randomly fails with "integer value too large to represent" on with AMD64 Windows8 3.5

2017-07-05 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2657 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30855] [3.5] test_tk: test_use() of test_tkinter.test_widgets randomly fails with "integer value too large to represent" on with AMD64 Windows8 3.5

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: It seems like the test never fails on 3.6, while 3.6 contains the fix b9d672491d5082c541bf267eb7bb99fdc6529324. Let's try to backport this change to 3.5 and 2.7 branches. -- ___ Python tracker

[issue30855] [3.5] test_tk: test_use() of test_tkinter.test_widgets randomly fails with "integer value too large to represent" on with AMD64 Windows8 3.5

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-16840. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue30849] test_stress_delivery_dependent() of test_signal randomly fails on AMD64 Debian root 3.6

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: Another fail. The test pass when run again later. http://buildbot.python.org/all/builders/AMD64%20Debian%20root%203.6/builds/538/steps/test/logs/stdio == FAIL: test_stress_delivery_dependent (t

[issue29759] Deadlock in multiprocessing.pool.Pool on terminate

2017-07-05 Thread Michael
Michael added the comment: If `task_handler._state = TERMINATE` is done before call to _help_stuff_finish(), then the following loop `while task_handler.is_alive() and inqueue._reader.poll()` in that function won't work as `is_alive()` will obviously return False. --

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: It's not just a matter of making test_datetime "faster". I see it as a regression, since now it fails randomly on slow buildbots. Maybe we should revert the change until a solution is found. http://buildbot.python.org/all/builders/ARMv7%20Ubuntu%203.x/builds/1

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-05 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2658 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29759] Deadlock in multiprocessing.pool.Pool on terminate

2017-07-05 Thread Michael
Michael added the comment: I found a couple of other cases when deadlock still occurs. 1. _help_stuff_finish may remove sentinels from the queue. Some of the workers will then never get a signal to terminate. 2. worker handler thread may be terminated too late, so it may spawn new workers whi

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Another solution -- disable "cpu" and "tzdata" resources on slow buildbots (see issue30417). -- ___ Python tracker ___ __

[issue30855] [3.5] test_tk: test_use() of test_tkinter.test_widgets randomly fails with "integer value too large to represent" on with AMD64 Windows8 3.5

2017-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for backporting the fix. Seems I just forgot about this. -- nosy: +serhiy.storchaka ___ Python tracker ___ _

[issue30844] selectors: Add urgent data to read event

2017-07-05 Thread Pim Klanke
Pim Klanke added the comment: I'm confused about the wrapper method around winsock select and curious to why this is necessary. I have send an email to neologix to share some light on the subject. -- ___ Python tracker

[issue30772] Normalise non-ASCII variable names in __all__

2017-07-05 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: > I think that the names in __all__ should have the same NFKC normalisation > applied as the identifiers. Does it make sens to add to this issue : Ensure that all elements of __all__ are str ? (At least emit a warning ?) I have encounter a small number

[issue30764] regrtest: Add --fail-env-changed option

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 by Victor Stinner in branch 'master': Revert "bpo-30822: Fix testing of datetime module." (#2588) https://github.com/python/cpython/commit/8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 --

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 by Victor Stinner in branch 'master': Revert "bpo-30822: Fix testing of datetime module." (#2588) https://github.com/python/cpython/commit/8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 -- nosy: +haypo

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 by Victor Stinner in branch 'master': Revert "bpo-30822: Fix testing of datetime module." (#2588) https://github.com/python/cpython/commit/8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 --

[issue21624] Idle: Improve htests

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 by Victor Stinner in branch 'master': Revert "bpo-30822: Fix testing of datetime module." (#2588) https://github.com/python/cpython/commit/8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 -- nosy: +haypo

[issue30845] [3.5] test_first_completed_some_already_completed() of test_concurrent_futures.ProcessPoolWaitTests: time.sleep() fails with "sleep length must be non-negative" in setUp() on x86 Tiger 3.

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 by Victor Stinner in branch 'master': Revert "bpo-30822: Fix testing of datetime module." (#2588) https://github.com/python/cpython/commit/8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 --

[issue30319] Change socket.close() to ignore ECONNRESET

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 by Victor Stinner in branch 'master': Revert "bpo-30822: Fix testing of datetime module." (#2588) https://github.com/python/cpython/commit/8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 --

[issue30854] Compile error on Python/ceval.c without threads

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 by Victor Stinner in branch 'master': Revert "bpo-30822: Fix testing of datetime module." (#2588) https://github.com/python/cpython/commit/8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 --

[issue30832] Remove own implementation for thread-local storage

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 by Victor Stinner in branch 'master': Revert "bpo-30822: Fix testing of datetime module." (#2588) https://github.com/python/cpython/commit/8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 --

[issue29293] Missing parameter "n" on multiprocessing.Condition.notify()

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 by Victor Stinner in branch 'master': Revert "bpo-30822: Fix testing of datetime module." (#2588) https://github.com/python/cpython/commit/8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 -- nosy: +haypo

[issue29464] Specialize FASTCALL for functions with positional-only parameters

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 by Victor Stinner in branch 'master': Revert "bpo-30822: Fix testing of datetime module." (#2588) https://github.com/python/cpython/commit/8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 --

[issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 by Victor Stinner in branch 'master': Revert "bpo-30822: Fix testing of datetime module." (#2588) https://github.com/python/cpython/commit/8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 --

[issue6691] Support for nested classes and function for pyclbr

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 by Victor Stinner in branch 'master': Revert "bpo-30822: Fix testing of datetime module." (#2588) https://github.com/python/cpython/commit/8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 -- nosy: +haypo

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: I reverted the change to repair buildbots and get more time to find a proper fix: https://github.com/python/cpython/pull/2588#issuecomment-313092304 -- ___ Python tracker

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: > Another solution -- disable "cpu" and "tzdata" resources on slow buildbots > (see issue30417). I didn't read test_datetime. How test_datetime can spend 20 minutes to test timestamps? Does it spawn subprocesses? Why is it so slow? -- ___

[issue30553] Add HTTP Response code 421

2017-07-05 Thread Vitor Pereira
Changes by Vitor Pereira : -- pull_requests: +2659 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue30855] [3.5] test_tk: test_use() of test_tkinter.test_widgets randomly fails with "integer value too large to represent" on with AMD64 Windows8 3.5

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: Serhiy Storchaka added the comment: > Thank you for backporting the fix. Seems I just forgot about this. The bug wasn't notice before since test_tk fails once, but then pass when run again... It fails randomly. But I noticed a warning on a build, and so saw the

[issue30553] Add HTTP Response code 421

2017-07-05 Thread Vitor Pereira
Vitor Pereira added the comment: I just submitted a PR, feel free to take a look. -- nosy: +vmsp ___ Python tracker ___ ___ Python-bug

[issue30856] unittest.TestResult.addSubTest should be called immediately after subtest finishes

2017-07-05 Thread Sergey Fedoseev
New submission from Sergey Fedoseev: Currently TestResult.addSubTest() is called just before TestResult.stopTest(), but docs says that addSubTest is "Called when a subtest finishes". IMO that means that it will be called immediately after subtest finishes, but not after indefinite time. Test

[issue30855] [3.5] test_tk: test_use() of test_tkinter.test_widgets randomly fails with "integer value too large to represent" on with AMD64 Windows8 3.5

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset c48a000c74b48586742c4b7eb42bba93f15953a9 by Victor Stinner in branch '3.5': [3.5] bpo-30855: Trying to fix test_use on Windows. (#2585) https://github.com/python/cpython/commit/c48a000c74b48586742c4b7eb42bba93f15953a9 -- ___

[issue30857] test_bsddb3 hangs longer than 37 minutes on x86 Tiger 2.7

2017-07-05 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/x86%20Tiger%202.7/builds/227/steps/test/logs/stdio ... running: test_bsddb3 (2204 sec), test_itertools (30 sec) 0:50:54 [394/403] test_itertools passed (42 sec) -- running: test_bsddb3 (2217 sec) 0:51:00 [395/403] test_

[issue30857] test_bsddb3 hangs longer than 37 minutes on x86 Tiger 2.7

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-30850 " [2.7] bsddb3: test01_basic_replication() of test_bsddb3 fails randomly on AMD64 Windows8.1 Refleaks 2.7 " and bpo-30778 " test_bsddb3 crash on x86 Windows XP 2.7 ". -- ___ Python tracker

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-05 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > Why is it so slow? The tests enabled by "-utzdata" check UTC to local and back conversions at several points around *every* time transition in *every* timezone. On systems with a complete installation of IANA tzdata, this is a lot of test points. Thes

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

2017-07-05 Thread Steve Dower
Steve Dower added the comment: I hope you notice I'm not against this particular change. I'm just voicing a general belief that suppressing an entire category of warnings for a whole project is not necessarily an improvement. In future, and when applied to our own project files, expect me to p

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: > These tests were supposed to be exhaustive and I did not expect them to be > run by default. that's why I introduced the -utzdata flag in the first place. Buildbots use "-u all" and so enables tzdata tests. Is it useful to run all these tests on all branches

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Two timezones (America/New_York and Asia/Tehran) are picked for testing independently from the -utzdata flag. -- ___ Python tracker ___ _

[issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two

2017-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: How is this related to datetime module? I hope you didn't reverted too much? -- ___ Python tracker ___ ___

[issue30847] asyncio: selector_events: add_urgent() for urgent data to read, 3rd argument of select.select()

2017-07-05 Thread Guido van Rossum
Guido van Rossum added the comment: How do you define "urgent data"? Is this just the third category of select(), Read, Write, Exceptional? I don't know if that should be considered urgent, it's just "out of band" IIRC. -- ___ Python tracker

[issue30838] re \w does not match some valid Unicode characters

2017-07-05 Thread David Lord
David Lord added the comment: After thinking about it more, I guess I misunderstood what \w was doing compared to isidentifier. Since Python just relies on the Unicode database, there's not much to be done anyway. Closing this. For anyone interested, we ended up with a hybrid approach for lexi

[issue30857] test_bsddb3 hangs longer than 37 minutes on x86 Tiger 2.7

2017-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: On http://buildbot.python.org/all/builders/AMD64%20Windows8.1%20Refleaks%202.7/builds/41/steps/test/logs/stdio test_bsddb3 is passed but takes more than 2 hours. It is the slowest test. -- nosy: +serhiy.storchaka ___

[issue12920] inspect.getsource only works for objects loaded from files, not interactive session

2017-07-05 Thread Vitor Pereira
Vitor Pereira added the comment: So, what would be the right approach here? Store the interactive session's input text in memory? -- nosy: +vmsp ___ Python tracker ___ _

[issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: I'm sorry for the spam. It was the first time that I really used the [Revert] button: even if the revert change is correct, the *commit message* is completely wrong :-/ https://mail.python.org/pipermail/python-committers/2017-July/004674.html -- ___

[issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: > How is this related to datetime module? I hope you didn't reverted too much? I'm sorry for the spam. It was the first time that I really used the [Revert] button: even if the revert change is correct, the *commit message* is completely wrong :-/ https://mail.p

[issue30835] AttributeError when parsing multipart email with invalid non-decodable Content-Transfer-Encoding

2017-07-05 Thread R. David Murray
R. David Murray added the comment: There's a deeper problem here involving how Header is used in compat32 that I've been aware of for a while but haven't had time to try to think through a fix for (there may not be one, given the history of the compat32 code). In the meantime, the proposed fi

[issue30835] AttributeError when parsing multipart email with invalid non-decodable Content-Transfer-Encoding

2017-07-05 Thread R. David Murray
Changes by R. David Murray : -- versions: -Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue30858] Keyword can't be an expression?

2017-07-05 Thread Vedran Čačić
New submission from Vedran Čačić: Look at this (from https://www.quora.com/Is-end1-a-keyword-in-Python-3-6-1): print(end1 + end2 + end3 + end4 + end5 + end6 + end=' ') ^ SyntaxError: keyword can't be an expression Wouldn't it be better if the message said "keyword for an argument must

[issue30838] re \w does not match some valid Unicode characters

2017-07-05 Thread Matthew Barnett
Matthew Barnett added the comment: Python identifiers match the regex: [_\p{XID_Start}]\p{XID_Continue}* The standard re module doesn't support \p{...}, but the third-party "regex" module does. -- ___ Python tracker

[issue30828] Out of bounds write in _asyncio_Future_remove_done_callback

2017-07-05 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 833a3b0d3707200daeaccdd218e8f18a190284aa by Yury Selivanov in branch 'master': bpo-30828: Fix out of bounds write in `asyncio.CFuture.remove_done_callback() (#2569) https://github.com/python/cpython/commit/833a3b0d3707200daeaccdd218e8f18a190284aa

[issue30828] Out of bounds write in _asyncio_Future_remove_done_callback

2017-07-05 Thread Yury Selivanov
Changes by Yury Selivanov : -- pull_requests: +2660 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30828] Out of bounds write in _asyncio_Future_remove_done_callback

2017-07-05 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset aaa4f991518611d101fba1ef3ecb18d7b385ad5b by Yury Selivanov in branch '3.6': [3.6] bpo-30828: Fix out of bounds write in `asyncio.CFuture.remove_done_callback() (GH-2569) (#2590) https://github.com/python/cpython/commit/aaa4f991518611d101fba1ef3ec

[issue30859] Can't install Python for Windows 3.6.1 on multiple profiles

2017-07-05 Thread Joe Jacobs
New submission from Joe Jacobs: Windows 7 Ultimate: SP1. Fully pathed as of July 4th, 2017 My Windows 7 install has multiple user accounts. The main install account is set up with "Administrator" privledges. Some point in the past I had installed Python 3.6.1 on the main account. Did not i

[issue30819] Linking with 'ld -b' fails with 64-bit using Itanium HP compiler

2017-07-05 Thread Robert Boehne
Changes by Robert Boehne : -- pull_requests: +2661 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue30532] email.policy.SMTP.fold() mangles long headers

2017-07-05 Thread Joel Hillacre
Changes by Joel Hillacre : -- pull_requests: +2662 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue30532] email.policy.SMTP.fold() mangles long headers

2017-07-05 Thread Joel Hillacre
Changes by Joel Hillacre : -- pull_requests: +2663 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue6691] Support for nested classes and function for pyclbr

2017-07-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg297751 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue6691] Support for nested classes and function for pyclbr

2017-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unlinked bogus revert message. I checked the file and it has the new function. -- ___ Python tracker ___ ___

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-07-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg297741 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unlinked bogus revert message. configdialog still has new docstrings. -- ___ Python tracker ___ ___

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-07-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue21624] Idle: Improve htests

2017-07-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg297740 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue30839] Larger and/or configurable _MAX_LENGTH for unittest messages

2017-07-05 Thread R. David Murray
R. David Murray added the comment: Yes, setting _MAX_LENGTH can be an independent feature request. The default will not be changed, however, since it is the most useful default given that assertEquals in general produces a much more useful diff output in addition to the one-line summary. Yo

[issue30860] Consolidate stateful C globals under a single struct.

2017-07-05 Thread Eric Snow
New submission from Eric Snow: CPython's C code makes extensive use of global variables. The globals fall into one of several categories: * (effectively) constants (incl. static types) * freelists, caches, and counters * used exclusively in main or in REPL * process-global state * module state

[issue30861] StreamReader does not return reamaing and ready data buffer before raise the Exeption

2017-07-05 Thread pfreixes
New submission from pfreixes: Current implementation of StreamReader does not take care of the status of the buffer, once an exception has been set via `set_exception` any call to the read methods won't be able to get the missing data still pending to be processed. >From the point of view of t

[issue30861] StreamReader does not return reamaing and ready data buffer before raise the Exeption

2017-07-05 Thread pfreixes
Changes by pfreixes : -- pull_requests: +2664 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue30860] Consolidate stateful C globals under a single struct.

2017-07-05 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +2665 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue30860] Consolidate stateful C globals under a single struct.

2017-07-05 Thread Eric Snow
Eric Snow added the comment: One thing I'd like to also try is to use a freelist embedded in _PyRuntimeState for the PyInterpreterState and PyThreadState linked lists. -- ___ Python tracker ___

  1   2   >