[issue34154] Tkinter __init__ documentations sometimes missing valid keyword values

2018-07-20 Thread Creation Elemental
Creation Elemental added the comment: Ah, yes. That is what I meant to say. The doc string printed by help(widget) -- ___ Python tracker ___ __

[issue34154] Tkinter __init__ documentations sometimes missing valid keyword values

2018-07-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The official Tk documentation is not always correct. OPTIONS attributes in tests should contain full lists of supported options, and running tests produces warnings for missed options, like: ListboxTest.OPTIONS doesn't contain "justify". -- _

[issue34136] Del on class __annotations__ regressed, failing test

2018-07-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, I missed that this issue is about the test from the CPython testsuite. I thought it is about the Numba specific tests. It is strange that this test is passed when run as ./python -m test test_opcodes but is failed when run as ./python -m test

[issue34149] Behavior of the min/max with key=None

2018-07-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Repeating my comment on the Github PR, "I'm persuaded by your idea that min(), max(), nsmallest(), nlargest(), sorted(), and itertools.groupby() should ideally have the same API for key functions. Syncing of those APIs would be a minor improvement. As Ser

[issue34169] itertools.repeat does not accept None as an explicit count

2018-07-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: > we should let users through documentation know that this code is just > pseudo-code We already modified the docs to specifically say that the provided code is just a rough equivalent. Thanks for the suggestion, but I'm going to decline. There doesn't

[issue34136] Del on class __annotations__ regressed, failing test

2018-07-20 Thread Guido van Rossum
Guido van Rossum added the comment: (Serhiy: I think you meant Nuitka, not numba -- Nuitka is a Python-to-C++ compiler, and Kay is its author. Somehow he managed to confuse us all. :-) I suspect that the way `python3 -m test` runs the tests whose name you pass on the command line causes ther

[issue34136] Del on class __annotations__ regressed, failing test

2018-07-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry for my mistake, yes, I meant Nuitka. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue34169] itertools.repeat does not accept None as an explicit count

2018-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 'roughly equivalent' Python code is real code that really runs, and in that sense not pseudocode. itertools is coded in C, which allows optional args with no default. To have optional args when coding in Python, either a default is needed or the argume

[issue34136] Del on class __annotations__ regressed, failing test

2018-07-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +7898 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue34136] Del on class __annotations__ regressed, failing test

2018-07-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 06ca3f0c09d017b9d741553818459cca2d5da587 by Serhiy Storchaka in branch 'master': bpo-34136: Make test_do_not_recreate_annotations more reliable. (GH-8364) https://github.com/python/cpython/commit/06ca3f0c09d017b9d741553818459cca2d5da587

[issue34136] Del on class __annotations__ regressed, failing test

2018-07-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +7899 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34136] Del on class __annotations__ regressed, failing test

2018-07-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +7900 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34115] code.InteractiveConsole.interact() closes stdin

2018-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is an important difference between a program saying 'I am done executing' and a user saying 'I am done with the interactive session'. This is especially true in an IDE where 'session' can include many editing and shell sessions. 'Stop executing' happ

[issue34166] Tools/msgfmt.py emits a DeprecationWarning under Python 3.7

2018-07-20 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I could see some unclosed file handlers as well. The last commit (c56894d305211c98882898f237ff54f620520139) was also made in 2013 and I could see no tests for tools too. ➜ cpython git:(master) ✗ ./python ./Tools/i18n/msgfmt.py -o django-no-patch.mo

[issue34168] RAM consumption too high using concurrent.futures (Python 3.7 / 3.6 )

2018-07-20 Thread Tim Peters
Tim Peters added the comment: Note that you can consume multiple gigabytes of RAM with this simpler program too, and for the same reasons: """ import concurrent.futures as cf bucket = range(30_000_000) def _dns_query(target): from time import sleep sleep(0.1) def run(): with cf

[issue34166] Tools/msgfmt.py emits a DeprecationWarning under Python 3.7

2018-07-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +7901 stage: -> patch review ___ Python tracker ___ ___ Pyt

[issue34172] multiprocessing.Pool and ThreadPool leak resources after being deleted

2018-07-20 Thread Windson Yang
Windson Yang added the comment: > A. This does not happen, creating a Pool, deleting it and collecting the > garbage, does not call terminate. Would you give me an example how you delete the Pool and collecting the garbage? If you use context manager, It will call terminate() function. > B.

[issue34166] Tools/msgfmt.py emits a DeprecationWarning under Python 3.7

2018-07-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +7902 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34166] Tools/msgfmt.py emits a DeprecationWarning under Python 3.7

2018-07-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset a692efe4733f98831cb51a9683877b152f754d14 by Serhiy Storchaka (Xtreak) in branch 'master': bpo-34166: Fix warnings in Tools/msgfmt.py. (GH-8367) https://github.com/python/cpython/commit/a692efe4733f98831cb51a9683877b152f754d14 -- nosy

[issue34166] Tools/msgfmt.py emits a DeprecationWarning under Python 3.7

2018-07-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +7903 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34157] NamedTemporaryFile can leave temporary files behind

2018-07-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue33336] [imaplib] MOVE is a legal command

2018-07-20 Thread Matej Cepl
Change by Matej Cepl : -- versions: +Python 2.7, Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

<    1   2