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

2017-07-05 Thread Dima Tisnek
Dima Tisnek added the comment: My 2c: Pau's concern seems valid, in a sense that stream should work like TCP. That's what most users would assume -- read out data until the end, only then you can see what the actual error was (socket closed, or timeout or hard error) However, I suspect the dev

[issue20042] Python Launcher, Windows, fails on scripts w/ non-latin names

2017-07-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue30779] IDLE: configdialog -- factor out Changes class

2017-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Comments on difficulties and questions. D1. I will look at test changes where there is a PR to run. I wrote what you changed, but might not have considered what you did. D2. Moot for the moment. D3. Ditto. D4. If not needed, skip for now. D5. I will be more co

[issue30814] Import dotted name as alias breaks with concurrency

2017-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 03b0e8374b2ea93adf8fb6a48db2916f3b0388cc by Serhiy Storchaka in branch '3.6': [3.6] bpo-30814: Fixed a race condition when import a submodule from a package. (GH-2580). (#2598) https://github.com/python/cpython/commit/03b0e8374b2ea93adf8fb6a48d

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

2017-07-05 Thread Sergey Fedoseev
Changes by Sergey Fedoseev : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue30814] Import dotted name as alias breaks with concurrency

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

[issue30779] IDLE: configdialog -- factor out Changes class

2017-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: To get moving and unblock other issues, I decided to start with the simplest not-bad change that will work. The factored out code belongs in config.py. This will separate integration with ConfigDialog into 2 steps. 1. Add code and tests to config and test_conf

[issue30858] Keyword can't be an expression?

2017-07-05 Thread Vedran Čačić
Vedran Čačić added the comment: I agree it's more _correct_. But it's also more confusing. As far as I can tell, when writing error messages, we tend to minimize confusion, not maximize correctness. Of course, it would be great to have both. Your "keyword argument name" seems pretty good. --

[issue30814] Import dotted name as alias breaks with concurrency

2017-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b4baacee1adc06edbe30ac7574d17a8cd168e2e0 by Serhiy Storchaka in branch 'master': bpo-30814: Fixed a race condition when import a submodule from a package. (#2580) https://github.com/python/cpython/commit/b4baacee1adc06edbe30ac7574d17a8cd168e2e0

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

2017-07-05 Thread Joe Jacobs
Joe Jacobs added the comment: So, with the feedback, i uninstalled everything and tried installing again, but in the %appdata% folder for both users and everything worked fine. Both users have python installed. If i run the web launcher, the first time it installs on the second account and s

[issue20042] Python Launcher, Windows, fails on scripts w/ non-latin names

2017-07-05 Thread Konstantin Zemlyak
Konstantin Zemlyak added the comment: Terry J. Reedy wrote: > Is this still relevant or should it be closed? Should be closed. > On Win10, I created a short script юникод.py using Save As from IDLE. > > py -2 юникод.py produces > C:\Programs\Python27\python.exe: can't open file '??.py': [E

[issue30858] Keyword can't be an expression?

2017-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Issue29951. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue30862] parent logger should also check the level

2017-07-05 Thread R. David Murray
R. David Murray added the comment: I will let Vinay answer definitively, but this is working as designed. This allows you to set 'debug' level on a sub-logger without getting debug output for every logger in your system, which is what you would get otherwise as the default logging level is NO

[issue30858] Keyword can't be an expression?

2017-07-05 Thread R. David Murray
R. David Murray added the comment: I think the current error message is more informative than your suggestion, myself. However, the message could say "keyword argument name" instead of just "keyword", which I think would be quite a bit clearer. I seem to remember another discussion where I su

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

2017-07-05 Thread R. David Murray
R. David Murray added the comment: Probably. Figure out a protocol to inject them into linecache, perhaps. But I'm not sure such a thing would be accepted. If you can figure out a way to make it work at least theoretically, it would probably be best to talk about it on python-ideas first.

[issue30862] parent logger should also check the level

2017-07-05 Thread Ned Deily
Changes by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue30840] Contrary to documentation, relative imports cannot pass through the top level

2017-07-05 Thread Nick Coghlan
Nick Coghlan added the comment: That part of the PEP was never implemented - relative imports have never been allowed to cross package boundaries in practice (which is also why "from . import sys" doesn't work as an equivalent to "import sys" at the interactive prompt or in a top level module)

[issue10141] SocketCan support

2017-07-05 Thread R. David Murray
R. David Murray added the comment: This issue is closed. Please open a new issue for your problem and proposal. -- nosy: +r.david.murray ___ Python tracker ___ _

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

2017-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue29881. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailin

[issue23835] configparser does not convert defaults to strings

2017-07-05 Thread R. David Murray
R. David Murray added the comment: I'm guessing we can only do something here in 3.7, for backward compatibility reasons, but maybe I'm wrong. Hopefully Lukasz will notice the activity on the issue and have time to take a look. -- nosy: +r.david.murray versions: +Python 3.6, Python 3.

[issue30840] Contrary to documentation, relative imports cannot pass through the top level

2017-07-05 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> docs@python components: +Documentation nosy: +brett.cannon, docs@python, eric.snow, ncoghlan versions: +Python 3.6, Python 3.7 ___ Python tracker __

[issue20042] Python Launcher, Windows, fails on scripts w/ non-latin names

2017-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is this still relevant or should it be closed? On Win10, I created a short script юникод.py using Save As from IDLE. py -2 юникод.py produces C:\Programs\Python27\python.exe: can't open file '??.py': [Errno 22] Invalid argument If the patch fixes 2.7 and l

[issue30862] parent logger should also check the level

2017-07-05 Thread TaoQingyun
New submission from TaoQingyun: ``` import logging logging.basicConfig(level=logging.ERROR) l = logging.getLogger("test") l.setLevel(logging.DEBUG) l.debug("Hello world") ``` it will print 'Hello world' -- ___ Python tracker

[issue30862] parent logger should also check the level

2017-07-05 Thread TaoQingyun
Changes by TaoQingyun <845767...@qq.com>: -- components: Library (Lib) nosy: qingyunha priority: normal severity: normal status: open title: parent logger should also check the level type: behavior ___ Python tracker

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

2017-07-05 Thread Martin Panter
Martin Panter added the comment: Thanks for handling this Victor. To answer some of your earlier questions, this is my understanding of the Free BSD behaviour (although I don't have Free BSD to experiment with): When writing to TCP sockets, I believe the data is buffered by the local OS (as w

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

2017-07-05 Thread Guido van Rossum
Guido van Rossum added the comment: The Redis example doesn't sound valid to me, as (IIUC) it closes the connection immediately? -- ___ Python tracker ___ __

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

2017-07-05 Thread Joe Jacobs
Joe Jacobs added the comment: I checked, there are no install logs. Just realized, maybe an issue with the web installer rather than the base installer. python-3.6.1-amd64-webinstall Had downloaded this file and tried to run it. I wouldn't even get to the screen that asks you to do a standa

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

2017-07-05 Thread pfreixes
pfreixes added the comment: One of the disadvantages with the Exception is that you are relying on how the events are being succeeded, and this is something that you can't predict. With just a different delay between the data and the RST packet and you might get the data in two different ways, ei

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

2017-07-05 Thread Eryk Sun
Eryk Sun added the comment: In Windows 10, I have 32-bit 3.6.1 installed for both an administrator and a standard user, both per-user installations. Maybe the logs from the failed attempt will help clarify what went wrong. If they still exist in the account's %temp% folder, please zip them up

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

2017-07-05 Thread Yury Selivanov
Yury Selivanov added the comment: > But IMHO the example it's just that an example, if the connection at some point was not broken/closed/... and some data came into the buffer, this data should be put available for the user. In my experience, you never want to recover any data from broken conne

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

2017-07-05 Thread pfreixes
pfreixes added the comment: Yeps, I have an example related to Redis [1], the server warns that the connection will be closed because you reached out the maximum number of connections. But IMHO the example it's just that an example, if the connection at some point was not broken/closed/... and

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

2017-07-05 Thread Guido van Rossum
Guido van Rossum added the comment: Do you have a specific use case where it's important to access the remaining data? ISTM that this is happening when the connection is lost and then it shouldn't matter how much of the data you read or not -- the connection was broken before the remote side c

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

[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

[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

[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

[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

[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

[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

[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 : -- Removed message: http://bugs.python.org/msg297741 ___ Python tracker ___ ___ Python-bugs-list mailing l

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

[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

[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

[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

[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

[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

[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

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

[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

[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

[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

[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

[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

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

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

[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

[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

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

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

[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

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

[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

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

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

[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

[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

[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
Changes by Vitor Pereira : -- pull_requests: +2659 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

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

[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

[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

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

[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

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

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

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

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

[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

[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

[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

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

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

[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 STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2658 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[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

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

[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

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

[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
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
Changes by STINNER Victor : -- pull_requests: +2656 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

  1   2   >