[issue19431] Document PyFrame_FastToLocals() and PyFrame_FastToLocalsWithError()

2017-08-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

PyFrameObject already is documented in Doc/c-api/veryhigh.rst.
PyFrame_GetLineNumber() already is documented in Doc/c-api/reflection.rst.

PyFrame_FastToLocals() and PyFrame_LocalsToFast() are not documented and have 
weird interface. I think the use of them should be discouraged.

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31285] a SystemError and an assertion failure in warnings.warn_explicit()

2017-08-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

An alternative solution is using str.splitlines(source) instead of 
source.splitlines(). It raises a TypeError if the argument is not a text string 
and always returns a list of strings.

According to the documentation get_source() must return a text string or None.

https://docs.python.org/3/library/importlib.html?highlight=get_source#importlib.abc.InspectLoader.get_source

--
nosy: +brett.cannon, eric.snow, ncoghlan, serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26656] Documentation for re.compile is a bit outdated

2017-08-27 Thread Roundup Robot

Changes by Roundup Robot :


--
pull_requests: +3268

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26656] Documentation for re.compile is a bit outdated

2017-08-27 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:

There are two PRs for this issue. 
I accepted the earlier one, and it's been backported to 3.6.

Thanks everyone.

--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed
versions:  -Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26656] Documentation for re.compile is a bit outdated

2017-08-27 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 83e5c888fff2bf3663952b2bfd3a3ee6c20386ef by Mariatta in branch 
'3.6':
[3.6] bpo-26656: Improve re.compile documentation (GH-3211) (GH-3225)
https://github.com/python/cpython/commit/83e5c888fff2bf3663952b2bfd3a3ee6c20386ef


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26656] Documentation for re.compile is a bit outdated

2017-08-27 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +3267

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26656] Documentation for re.compile is a bit outdated

2017-08-27 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset ed94a8b2851914bcda3a77b28b25517b8baa91e6 by Mariatta (Henk-Jaap 
Wagenaar) in branch 'master':
bpo-26656: Improve re.compile documentation (GH-3211)
https://github.com/python/cpython/commit/ed94a8b2851914bcda3a77b28b25517b8baa91e6


--
nosy: +Mariatta

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31282] C APIs called without GIL in PyOS_Readline

2017-08-27 Thread Xiang Zhang

Xiang Zhang added the comment:

In pymem.h, it's stated that "The GIL must be held when using these APIs". I 
think the reason is when PYMALLOC_DEBUG is defined, they finally delegate to 
PyObject_Malloc.

Victor must be familiar with them since once he proposed to remote the 
restriction: https://mail.python.org/pipermail/python-dev/2013-June/126822.html.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31282] C APIs called without GIL in PyOS_Readline

2017-08-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

AFAIK PyMem_Malloc/MALLOC can be used with released GIL.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31244] IDLE: work around shortcuts bug in Windows' IMEs and tk

2017-08-27 Thread Constantine Ketskalo

Constantine Ketskalo added the comment:

Impossible... Yea, right...
Will documenting it help to solve it?
If that's impossible, then how do other programs deal with it? What does make 
Python so special?
I still don't see anything impossible. If other programs can do it but Python 
IDLE can't do it for now, then it's called either "hard" or "I don't want to do 
it", but not "impossible".

First of all I would try to find out how does cyrillic work with other 
programs(sorry, I don't know that). Probably their approach to this situation 
could be just copied to Python IDLE behaviour.

Japanese wan't help you with cyrillic. This ticket is about cyrillic!!!

ascii is not the only encoding, that exists. Could it be as possible solution 
to use unicode incoding with Python when it comes down to hotkeys?

If there is something that makes Japaneese and cyrillic languages incompatible 
with each other to use hotkeys, well, then you could just add option to choose 
which language is preferable to user (either in installed program, or during 
installatioin).

Windows command prompt doesn't support cyrillic by default, but there is a code 
in C, that makes it work with cyrillic input and output. Python was written on 
C, so I'm sure it could be helpful even if it doesn't work directly.
Here is this code for C/C++:
`
SetConsoleCP(1251);
SetConsoleOutputCP(1251);
setlocale(0, "Ukrainian");
`

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29456] bugs in unicodedata.normalize: u1176, u11a7 and u11c3

2017-08-27 Thread Wonsup Yoon

Wonsup Yoon added the comment:

Hello?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31282] C APIs called without GIL in PyOS_Readline

2017-08-27 Thread Xiang Zhang

Changes by Xiang Zhang :


--
stage:  -> needs patch
versions: +Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27099] IDLE: turn built-in extensions into regular modules

2017-08-27 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
title: IDLE: turn builting extensions into regular modules -> IDLE: turn 
built-in extensions into regular modules

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26656] Documentation for re.compile is a bit outdated

2017-08-27 Thread Henk-Jaap Wagenaar

Henk-Jaap Wagenaar added the comment:

Emily: I've signed the CLA, just waiting for it to be checked.

--
nosy: +Henk-Jaap Wagenaar

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30617] IDLE: Add docstrings and unittests to outwin.py

2017-08-27 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed
versions: +Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30617] IDLE: Add docstrings and unittests to outwin.py

2017-08-27 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset 5c89c2fd8a0be0ad2f89f084775c5f9f76687237 by Terry Jan Reedy in 
branch '3.6':
[3.6] bpo-30617: IDLE: docstrings and unittest for outwin.py (GH-2046) (#3223)
https://github.com/python/cpython/commit/5c89c2fd8a0be0ad2f89f084775c5f9f76687237


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31191] Fix grammar in threading.Barrier docs

2017-08-27 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 2dfafa3c565c0b51920269a891fa270848b378d5 by Mariatta in branch 
'3.6':
bpo-31191: Improve grammar in threading.Barrier docs (GH-3080) (GH-3224)
https://github.com/python/cpython/commit/2dfafa3c565c0b51920269a891fa270848b378d5


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31191] Fix grammar in threading.Barrier docs

2017-08-27 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
resolution:  -> fixed
stage: backport needed -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31191] Fix grammar in threading.Barrier docs

2017-08-27 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +3266

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31287] IDLE configdialog tests: don't modify tkinter.messagebox.

2017-08-27 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
resolution:  -> fixed
stage: needs patch -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30617] IDLE: Add docstrings and unittests to outwin.py

2017-08-27 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
pull_requests: +3265

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30617] IDLE: Add docstrings and unittests to outwin.py

2017-08-27 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset 998f4966bf0c591f3e8b3d07eccad7501f60f524 by Terry Jan Reedy 
(Cheryl Sabella) in branch 'master':
bpo-30617: IDLE: docstrings and unittest for outwin.py (#2046)
https://github.com/python/cpython/commit/998f4966bf0c591f3e8b3d07eccad7501f60f524


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23835] configparser does not convert defaults to strings

2017-08-27 Thread Łukasz Langa

Changes by Łukasz Langa :


--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2017-08-27 Thread Cheryl Sabella

Changes by Cheryl Sabella :


--
pull_requests: +3264

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31287] IDLE configdialog tests: don't modify tkinter.messagebox.

2017-08-27 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset 7e248904cd5b3e658b1792deca1b82d873b2d120 by Terry Jan Reedy in 
branch '3.6':
[3.6] bpo-31287: IDLE - do not alter tkinter.messagebox in configdialog tests. 
(GH-3220) (#3221)
https://github.com/python/cpython/commit/7e248904cd5b3e658b1792deca1b82d873b2d120


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31287] IDLE configdialog tests: don't modify tkinter.messagebox.

2017-08-27 Thread Cheryl Sabella

Changes by Cheryl Sabella :


--
pull_requests: +3263

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31287] IDLE configdialog tests: don't modify tkinter.messagebox.

2017-08-27 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset 3457f428964d0fd6ab601272ead276a9bf8b1eaf by Terry Jan Reedy in 
branch 'master':
bpo-31287: IDLE - do not alter tkinter.messagebox in configdialog tests. (#3220)
https://github.com/python/cpython/commit/3457f428964d0fd6ab601272ead276a9bf8b1eaf


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31287] IDLE configdialog tests: don't modify tkinter.messagebox.

2017-08-27 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
pull_requests: +3262

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31289] File paths in exception traceback resolve symlinks

2017-08-27 Thread Paul Pinterits

New submission from Paul Pinterits:

The file paths displayed in exception tracebacks have their symlinks resolved. 
I would prefer if the "original" path could be displayed instead, because 
resolved symlinks result in unexpected paths in the traceback and can be quite 
confusing.

An example:

rawing@localhost ~> cat test_scripts/A.py
import B
B.throw()

rawing@localhost ~> cat test_scripts/B.py
def throw():
raise ValueError

rawing@localhost ~> ln -s test_scripts test_symlink

rawing@localhost ~> python3 test_symlink/A.py
Traceback (most recent call last):
  File "test_symlink/A.py", line 2, in 
B.throw()
  File "/home/rawing/test_scripts/B.py", line 2, in throw
raise ValueError
ValueError

As you can see, even though both scripts reside in the same directory, the file 
paths displayed in the traceback look very different. At first glance, it looks 
like B is in a completely different place than A.
Furthermore, this behavior tends to trip up IDEs - PyCharm for example does not 
understand that test_scripts/B.py and test_symlink/B.py are the same file, so I 
end up having the same file opened in two different tabs.

Would it be possible to change this behavior and have 
"/home/rawing/test_symlink/B.py" show up in the traceback instead?

--
components: Interpreter Core
messages: 300926
nosy: Paul Pinterits
priority: normal
severity: normal
status: open
title: File paths in exception traceback resolve symlinks
type: behavior
versions: Python 2.7, Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31284] IDLE: Make GUI test teardown less fragile

2017-08-27 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I closed the patch; you can delete the branch.

I changed the title to express the goal, though I am not sure how to get there 
yet.  One thing is to be more aware of what callbacks and event loops are being 
set up and possibly not shut down gracefully.

Your code as posted did not reproduce the error *without manual action*.  
Tests, including the one for #30617, has better run without user intervention.  
Once I made the modification to get the error, or not, just by running it, I 
was pretty sure of the fix for the test.

--
stage:  -> needs patch
title: IDLE: Fix WindowList invalid command name error when running tests -> 
IDLE: Make GUI test teardown less fragile
versions: +Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30617] IDLE: Add docstrings and unittests to outwin.py

2017-08-27 Thread Cheryl Sabella

Changes by Cheryl Sabella :


--
pull_requests: +3261

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31287] IDLE configdialog tests: don't modify tkinter.messagebox.

2017-08-27 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Additional patch or patches will be on generalized issue #31288.

--
title: IDLE tests: don't modify tkinter.messagebox. -> IDLE configdialog tests: 
don't modify tkinter.messagebox.

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31288] IDLE tests: don't modify tkinter.messagebox.

2017-08-27 Thread Terry J. Reedy

New submission from Terry J. Reedy:

Followup to #31287. Check existing tests for similar errors.  Apply the idea of 
localizing access to messageboxes everywhere.  In the process, end use of 
'tkMessageBox'.

--
assignee: terry.reedy
components: IDLE
messages: 300923
nosy: terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: IDLE tests: don't modify tkinter.messagebox.
type: enhancement
versions: Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31287] IDLE tests: don't modify tkinter.messagebox.

2017-08-27 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
pull_requests: +3260

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2017-08-27 Thread Terry J. Reedy

Terry J. Reedy added the comment:

#31001 and #31002 have notes on what not tested in HighPage and KeysPage.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2017-08-27 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
dependencies: +IDLE tests: don't modify tkinter.messagebox.
nosy: +csabella

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31287] IDLE tests: don't modify tkinter.messagebox.

2017-08-27 Thread Terry J. Reedy

New submission from Terry J. Reedy:

test_configdialog twice patches tkinter.messagebox to mock askyesno without 
restoring it properly.  As a consequence, the outwin test in #30617 failed 
because the messagebox module in editor lacked askyesno.

First patch: fix configdialog and test_configdialog.  Similar to what is done 
elsewhere, make askyesno an instance method so that it is masked by an instance 
attribute mock and unmasked by deleting the instance function.  In the process, 
revise the messabebox import,

Follow-on patch(es): check exiting tests and apply the same idea everywhere.  
In the process, end use of 'tkMessageBox'.

--
assignee: terry.reedy
components: IDLE
messages: 300921
nosy: terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: IDLE tests: don't modify tkinter.messagebox.
type: behavior
versions: Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31285] a SystemError and an assertion failure in warnings.warn_explicit()

2017-08-27 Thread Oren Milman

Changes by Oren Milman :


--
pull_requests: +3259

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2190] MozillaCookieJar ignore HttpOnly cookies

2017-08-27 Thread Mike Thomas

Mike Thomas added the comment:

Can this issue be reopened? As Jérémie stated, curl uses this format and 
outputs cookie files using the #HttpOnly_ prefix. I also found at least one 
project that is working around lack of this support:
https://code.google.com/archive/p/git-repo/
https://gerrit.googlesource.com/git-repo/+/master/subcmds/sync.py#995
  # Python doesn't understand cookies with the #HttpOnly_ prefix
  # Since we're only using them for HTTP, copy the file temporarily,
  # stripping those prefixes away.

One potential improvement for the proposed patch: instead of just stripping out 
#HttpOnly_, this attribute should be set on the Cookie that is created, within 
the 'rest' dict (rest={'HttpOnly': True}). The Morsel class is already aware of 
this attribute, as is the 'requests.cookies' module.

--
nosy: +mt0321

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31284] IDLE: Fix WindowList invalid command name error when running tests

2017-08-27 Thread Cheryl Sabella

Cheryl Sabella added the comment:

Thank you for taking the time to research and explain that.

It's funny, but on my code example, I got it to happen every time and you said 
it didn't happen unless you made the change to use root.update() and 
root.destroy().  I tried it out again and realized that I was closing the tk 
window before OutputWindow every time, thus I was getting the warning using 
root.mainloop().  Of course, if I close OutputWindow first, I don't get the 
warning.  That's running from the command line.

I suppose this issue needs to be split into the real bugs that you mentioned.  
It seems to be at least 2 or 3 different things to look at (EditorWindow and 
EditorFrame and CodeContext).  I'll delete the current PR for this issue.  

Thanks!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27181] Add geometric mean to `statistics` module

2017-08-27 Thread Cheryl Sabella

Cheryl Sabella added the comment:

I was wondering if this has been taken up again for 3.7?  Thanks!

--
nosy: +csabella

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19431] Document PyFrame_FastToLocals() and PyFrame_FastToLocalsWithError()

2017-08-27 Thread Cheryl Sabella

Cheryl Sabella added the comment:

Victor,

Should there be a PR for this?

--
nosy: +csabella

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18975] timeit: Use thousands separators and print number of loops per second

2017-08-27 Thread Cheryl Sabella

Cheryl Sabella added the comment:

Reviewing this patch, it appears that the PEP8 changes to timeit.py are already 
in the source and the discussion of the thousands separator is no longer an 
issue with the underscore changes in 3.6 (meaning underscore now seems the way 
to separate digits in large numbers, although it seems the vote was to remove 
all separators from timeit anyway).

That would leave the `loops per second` request the only one still needed from 
this patch.  But, with the subsequent change of selecting the time unit in 
timeit, perhaps this patch would need to be modified to print 'loops per 
{timeunit}'?

--
nosy: +csabella

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31153] Update docstrings of itertools functions

2017-08-27 Thread Mike Hoy

Changes by Mike Hoy :


--
nosy: +vexoxev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31065] Documentation for Popen.poll is unclear

2017-08-27 Thread Elena Oat

Changes by Elena Oat :


--
pull_requests:  -3258

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31065] Documentation for Popen.poll is unclear

2017-08-27 Thread Elena Oat

Changes by Elena Oat :


--
pull_requests: +3258

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31286] import in finally results in SystemError

2017-08-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

PR 3217 implements the first way. It also includes some refactoring. Remove all 
pyc-files before testing.

--
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31286] import in finally results in SystemError

2017-08-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +3257

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30024] Treat `import a.b.c as m` as `m = sys.modules['a.b.c']`

2017-08-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +3256

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com