[issue31440] wrong default module search path in help message

2017-09-17 Thread Xiang Zhang

Xiang Zhang added the comment:

Not sure about Windows. _get_path() looks to me is used for user site-packages. 
getsitepackages() doesn't do the same and seems matching the current message, 
also the OS2 branch in py2. Let's consult Windows guys.

--
nosy: +eryksun, gauravbackback, steve.dower, zach.ware

___
Python tracker 

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



[issue31484] Cache single-character strings outside of the Latin1 range

2017-09-17 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

> > The cache of size 2 x 256 slots can increase memory consumption by 50 KiB
> > in worst case, 2 x 1024 -- by 200 KiB.
> How much is this compared to the total usage?

For Python interpreter VmSize: 31784 kB, VmRSS: 7900 kB.

The cache doesn't affect performance of encode/decode since codecs are written 
in C. But it affects text processing written in Python. The more complex text 
processing code the less relative difference.

$ ./python -m perf timeit --compare-to ./python0 -s 'import html; s = 
open("36248-0.txt").read()' -- 'html.escape(s)'
Mean +- std dev: [python0] 2.59 ms +- 0.06 ms -> [python] 1.58 ms +- 0.04 ms: 
1.64x faster (-39%)

$ ./python -m perf timeit --compare-to ./python0 -s 'import re; s = 
open("36248-0.txt").read()' -- 're.escape(s)'
Mean +- std dev: [python0] 45.9 ms +- 1.3 ms -> [python] 44.0 ms +- 1.4 ms: 
1.04x faster (-4%)

$ ./python -m perf timeit --compare-to ./python0 -s 'import fnmatch; s = 
open("36248-0.txt").read()' -- 'fnmatch.translate(s)'
Mean +- std dev: [python0] 448 ms +- 9 ms -> [python] 435 ms +- 9 ms: 1.03x 
faster (-3%)

$ ./python -m perf timeit --compare-to ./python0 -s 'import re, sre_compile; s 
= re.escape(open("36248-0.txt").read())' -- 'sre_compile.compile(s)'
Mean +- std dev: [python0] 1.44 sec +- 0.02 sec -> [python] 1.41 sec +- 0.02 
sec: 1.01x faster (-1%)

$ ./python -m perf timeit --compare-to ./python0 -s 'import textwrap; s = 
open("36248-0.txt").read()' -- 'textwrap.wrap(s)'
Mean +- std dev: [python0] 208 ms +- 2 ms -> [python] 207 ms +- 2 ms: 1.01x 
faster (-1%)

In real-word applications I expect hundredths and thousandths fractions of 
percent. This effect can't be measured in any sane way.

--

___
Python tracker 

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



[issue31490] assertion failure in ctypes in case an _anonymous_ attr appears outside _fields_

2017-09-17 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 30b61b51e05d2d43e8e2e783b0a9df738535423b by Serhiy Storchaka 
(Oren Milman) in branch 'master':
bpo-31490: Fix an assertion failure in ctypes in case an _anonymous_ attr is 
defined only outside _fields_. (#3615)
https://github.com/python/cpython/commit/30b61b51e05d2d43e8e2e783b0a9df738535423b


--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue31490] assertion failure in ctypes in case an _anonymous_ attr appears outside _fields_

2017-09-17 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


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



[issue31351] ensurepip discards pip's return code which leads to broken venvs

2017-09-17 Thread Igor Filatov

Changes by Igor Filatov :


--
keywords: +patch
pull_requests: +3615
stage:  -> patch review

___
Python tracker 

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



[issue31443] Possibly out of date C extension documentation

2017-09-17 Thread Romuald Brunet

Romuald Brunet added the comment:

I'm not sure this is relevant, but I've just made a simple test on Windows (7) 
with my C extension using { … .tp_new = PyType_GenericNew } and the compiler 
did not complain (also the code worked as expected)

--

___
Python tracker 

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



[issue31443] Possibly out of date C extension documentation

2017-09-17 Thread Stefan Krah

Stefan Krah added the comment:

PyType_GenericNew() should be in libpython, so indeed the example in the docs 
seems a bit odd to me.

--
nosy: +skrah

___
Python tracker 

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



[issue27391] server_hostname should only be required when checking host names

2017-09-17 Thread Jim Fulton

Jim Fulton added the comment:

OMG, >1year. :)

This was always a minor issue.  I still think the current asyncio behavior is 
dumb, but whatever.

FWIW, I tripped on this when adding SSL support to ZEO, which is a 
client-server *database* protocol used by ZODB, having nothing to do with the 
Web. In this context, the client and server are well known to each other and 
share certs.

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



[issue31346] Prefer PROTOCOL_TLS_CLIENT/SERVER

2017-09-17 Thread Christian Heimes

Changes by Christian Heimes :


--
resolution:  -> fixed
stage: patch review -> 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



[issue31386] Make return types of wrap_bio and wrap_socket customizable

2017-09-17 Thread Christian Heimes

Changes by Christian Heimes :


--
resolution:  -> fixed
stage: patch review -> 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



[issue31487] Improve f-strings documentation wrt format specifiers

2017-09-17 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +3616

___
Python tracker 

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



[issue31487] Improve f-strings documentation wrt format specifiers

2017-09-17 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 63c591c0b0b57870a606e8edc59afe6264e7504d by Mariatta in branch 
'master':
bpo-31487: Update F-strings doc example (GH-3627)
https://github.com/python/cpython/commit/63c591c0b0b57870a606e8edc59afe6264e7504d


--

___
Python tracker 

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



[issue31487] Improve f-strings documentation wrt format specifiers

2017-09-17 Thread Roundup Robot

Changes by Roundup Robot :


--
pull_requests: +3617

___
Python tracker 

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



[issue31487] Improve f-strings documentation wrt format specifiers

2017-09-17 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 4f6bae9677c0e5398e64c503fd3c19cae94567da by Mariatta (Miss 
Islington (bot)) in branch '3.6':
bpo-31487: Update F-strings doc example (GH-3627) (GH-3628)
https://github.com/python/cpython/commit/4f6bae9677c0e5398e64c503fd3c19cae94567da


--

___
Python tracker 

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



[issue31496] IDLE: test_configdialog failed

2017-09-17 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

$ ./python -m test -uall test_idle 
Run tests sequentially
0:00:00 load avg: 1.19 [1/1] test_idle
invalid command name "140662890299080timer_event"
while executing
"140662890299080timer_event"
("after" script)
test test_idle failed -- Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/idlelib/idle_test/test_configdialog.py", 
line 417, in test_highlight_target_text_mouse
click_it(start_index)
  File "/home/serhiy/py/cpython/Lib/idlelib/idle_test/test_configdialog.py", 
line 401, in click_it
x, y, dx, dy = hs.bbox(start)
TypeError: 'NoneType' object is not iterable

test_idle failed

1 test failed:
test_idle

Total duration: 2 sec
Tests result: FAILURE


Maybe this is related to HiDPI display.

On 2.7 the test is passed.

--
assignee: terry.reedy
components: IDLE, Tests
messages: 302369
nosy: serhiy.storchaka, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: test_configdialog failed
versions: Python 3.7

___
Python tracker 

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



[issue31482] random.seed() doesn't work with bytes and version=1

2017-09-17 Thread Roundup Robot

Changes by Roundup Robot :


--
pull_requests: +3618

___
Python tracker 

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



[issue31482] random.seed() doesn't work with bytes and version=1

2017-09-17 Thread Raymond Hettinger

Raymond Hettinger added the comment:


New changeset 132a7d7cdbc7cb89fa1c1f4e8192241c3d68f549 by Raymond Hettinger in 
branch 'master':
bpo-31482:  Missing bytes support for random.seed() version 1 (#3614)
https://github.com/python/cpython/commit/132a7d7cdbc7cb89fa1c1f4e8192241c3d68f549


--

___
Python tracker 

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



[issue31482] random.seed() doesn't work with bytes and version=1

2017-09-17 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--
resolution:  -> fixed
stage: patch review -> 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



[issue31484] Cache single-character strings outside of the Latin1 range

2017-09-17 Thread Xiang Zhang

Xiang Zhang added the comment:

I run the patch against a toy NLP application, cutting words from Shui Hu Zhuan 
provided by Serhiy. The result is not bad, 6% faster. And I also count the hit 
rate, 90% hit cell 0, 4.5 hit cell 1, 5.5% miss. I also increase the cache size 
to 1024 * 2. Although the hit rate increases to 95.4%, 2.1%, 2.4%, it's still 
6% difference.

So IMHO this patch could hardly affect that *much* real-world applications, 
better or worse. I couldn't recall clearly the implementation of unicode but 
why can't we reuse the latin1 cache when we use this bmp cache? And then to 
avoid the chars' low bits conflicting with ASCII chars' low bits we have to 
introduce the mini-LRU-cache, which is not that easily understandable.

--

___
Python tracker 

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



[issue31381] Unable to read the project file "pythoncore.vcxproj".

2017-09-17 Thread Denis Osipov

Denis Osipov added the comment:

Fixed in PR 3397 (I guess).

--
resolution:  -> fixed
stage: patch review -> 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



[issue31497] Add _PyType_Name()

2017-09-17 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed PR adds a helper function _PyType_Name() which returns the last 
component of tp_name after dot. This allows to avoid duplication of the code.

I'm going to use this helper in more places in future for getting rid of 
hardcoded type names (issue27541, issue21861).

--
components: Interpreter Core
messages: 302373
nosy: serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Add _PyType_Name()
type: enhancement
versions: Python 3.7

___
Python tracker 

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



[issue31497] Add _PyType_Name()

2017-09-17 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
keywords: +patch
pull_requests: +3619

___
Python tracker 

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



[issue27541] Repr of collection's subclasses

2017-09-17 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
keywords: +patch
pull_requests: +3620
stage:  -> patch review

___
Python tracker 

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



[issue31498] Default values for zero in time.strftime()

2017-09-17 Thread Denis Osipov

New submission from Denis Osipov:

Now default values for zero in time.strftime returns string with day of week 
value 1:

>>> time.strftime("%Y %m %d %H %M %S %w %j", (2000,)+(0,)*8)
'2000 01 01 00 00 00 1 001'

while 2000-01-01 is Saturday (=6th day of week).

Now each illegal value (day of month < 1 etc.) are forced to a correct one (by 
the way why now day of week isn't 0=Sunday and forced to 1). Maybe strftime 
also should force day of week to according to the date (%Y %m %d) if it's given.

>>> time.strftime("%Y %m %d %H %M %S %w %j", (2000,)+(0,)*8)
'2000 01 01 00 00 00 6 001'

--
components: Interpreter Core
messages: 302374
nosy: denis-osipov
priority: normal
severity: normal
status: open
title: Default values for zero in time.strftime()
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



[issue27541] Repr of collection's subclasses

2017-09-17 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Add _PyType_Name()
versions: +Python 3.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



[issue31499] ElementTree crash with new expat

2017-09-17 Thread Stefan Behnel

New submission from Stefan Behnel:

I'm seeing crashes in the latest Py3.7 when I run this test (taken from lxml's 
compatibility test suite):

etree = xml.etree.ElementTree

def test_feed_parser_error_position(self):
ParseError = etree.ParseError
parser = XMLParser()
try:
parser.close()
except ParseError:
e = sys.exc_info()[1]
self.assertNotEqual(None, e.code)
self.assertNotEqual(0, e.code)
self.assertTrue(isinstance(e.position, tuple))
self.assertTrue(e.position >= (0, 0))

It crashes in expat/xmlparse.c, line 1464:

1459  for (;;) {
1460BINDING *b = bindings;
1461if (!b)
1462  break;
1463bindings = b->nextTagBinding;
1464FREE(b->uri);// <<< crashes here
1465FREE(b);
1466  }
1467}

Probably related to the new expat version (issue 31170).

--
components: Extension Modules
messages: 302375
nosy: eli.bendersky, haypo, scoder, serhiy.storchaka
priority: normal
severity: normal
status: open
title: ElementTree crash with new expat
type: crash
versions: Python 3.7

___
Python tracker 

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



[issue31497] Add _PyType_Name()

2017-09-17 Thread Raymond Hettinger

Raymond Hettinger added the comment:

+1 This would clean-up the code a bit.

--
nosy: +rhettinger

___
Python tracker 

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



[issue27541] Repr of collection's subclasses

2017-09-17 Thread Raymond Hettinger

Raymond Hettinger added the comment:

+1 for changing the cases Serhiy found.   Also, I agree with Serhiy that there 
should be a change for the built-in types that have a literal notation (it has 
been this was forever, hasn't caused any real issues, and changing it now will 
likely break code).

--

___
Python tracker 

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



[issue31496] IDLE: test_configdialog failed

2017-09-17 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Are you running on Linux or Mac?  What tk version?

About the 'invalid command name' message: PR3622, patching idlelib.codecontext, 
merged to master 13 hours ago, fixed this for me on Windows.  (It added 
CodeContext.__del__.)  Did it fail on your machine or was it not yet merged on 
your machine?

About the test failure.  Hs is a Text with about 14 lines.  The test initially 
executes
hs.see(1.0)
hs.update_idletasks()
hs.bbox(start) means that the tag start is not visible,  which should 
realistically not be possible.  But a quick web search suggests there have been 
problems with HiDPI and tk, and hence tkinter.

I am curious what value of start fails.  Could you run once with 'print(start)' 
added above bbox(start)?

Does inserting the following just before hs.bbox(start) fix the issue?
hs.see(start)
hs.update_idletasks()
If not, we can skip.  Does the following print one or multiple skip messages?
try:
x, y, dx, dy = hs.bbox(start)
except TypeError:
self.skipTest(f'bbox failure with start {start}')

--

___
Python tracker 

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



[issue31475] Bug in argparse - not supporting utf8

2017-09-17 Thread INADA Naoki

INADA Naoki added the comment:

You reported stack trace on Github pull request.
But discussion should be made here, not in pull request.

As far as reading traceback, your problem is solved already in Python 3.6, by 
PEP 528.

--
nosy: +inada.naoki

___
Python tracker 

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



[issue31497] Add _PyType_Name()

2017-09-17 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 4ab46d794961491ed185c195d53da7ee6a16e646 by Serhiy Storchaka in 
branch 'master':
bpo-31497: Add private helper _PyType_Name(). (#3630)
https://github.com/python/cpython/commit/4ab46d794961491ed185c195d53da7ee6a16e646


--

___
Python tracker 

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



[issue31499] ElementTree crash with new expat

2017-09-17 Thread Jeremy Kloth

Changes by Jeremy Kloth :


--
nosy: +jkloth

___
Python tracker 

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



[issue31500] IDLE: Tiny font on HiDPI display

2017-09-17 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

My new laptop has a HiDPI display (3840x2160). IDLE (as well as other Tk 
applications) looks ugly on it. The font of menu and dialogs is tiny. The font 
used in editor and shell looks normal size. I use Linux with X Window.

It seems to me this issue doesn't have solution. Related links:

https://wiki.tcl.tk/41949
https://core.tcl.tk/tk/tktview/0917069c05e9c354a27c8105a7a22264090b9274
https://stackoverflow.com/questions/34132203/scaling-of-tkinter-gui-in-4k-38402160-resolution

--
assignee: terry.reedy
components: IDLE
files: Screenshot_20170917_213616.png
messages: 302381
nosy: serhiy.storchaka, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: Tiny font on HiDPI display
type: behavior
versions: Python 2.7, Python 3.6, Python 3.7
Added file: https://bugs.python.org/file47141/Screenshot_20170917_213616.png

___
Python tracker 

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



[issue31496] IDLE: test_configdialog failed

2017-09-17 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

About the 'invalid command name' message: PR 3622 was not yet merged on your 
machine.

Inserting hs.see(start) just before hs.bbox(start) fixes the issue.

I have added some debug prints. Here are outputs, with and without a fix.

--
Added file: https://bugs.python.org/file47142/failure.txt

___
Python tracker 

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



[issue31496] IDLE: test_configdialog failed

2017-09-17 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


Added file: https://bugs.python.org/file47143/success.txt

___
Python tracker 

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



[issue31497] Add _PyType_Name()

2017-09-17 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
resolution:  -> fixed
stage: patch review -> 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



[issue31499] ElementTree crash with new expat

2017-09-17 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I can't reproduce a crash. Could you please provide a Python script?

--

___
Python tracker 

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



[issue31499] ElementTree crash with new expat

2017-09-17 Thread Stefan Behnel

Stefan Behnel added the comment:

Sorry, wrong line number. Was using an installed Py3.7, not a fresh build. 
However, my crashing installed version is from September 1st, *before* the 
expat update, which was apparently on September 5th.

With a clean debug build, I get a reproducible crash during shutdown, now with 
the correct line number:

Program received signal SIGSEGV, Segmentation fault.
PyExpat_XML_ParserFree (parser=0xd01a20) at .../Modules/expat/xmlparse.c:1487
1487tagList = tagList->parent;
(gdb) p taglist
No symbol "taglist" in current context.
(gdb) list
1482break;
1483  tagList = freeTagList;
1484  freeTagList = NULL;
1485}
1486p = tagList;
1487tagList = tagList->parent;
1488FREE(p->buf);
1489destroyBindings(p->bindings, parser);
1490FREE(p);
1491  }
(gdb) bt
#0  PyExpat_XML_ParserFree (parser=0xd01a20) at Modules/expat/xmlparse.c:1487
#1  0x7fffeec83517 in xmlparser_gc_clear (self=0x7fffeeeb75d8) at 
Modules/_elementtree.c:3414
#2  xmlparser_dealloc (self=0x7fffeeeb75d8) at Modules/_elementtree.c:3435
#3  0x0041fd40 in frame_dealloc (f=0xd017c8) at 
Objects/frameobject.c:428
#4  0x0044f5e5 in tb_dealloc (tb=0x7632d218) at 
Python/traceback.c:56
#5  0x0049c59d in BaseException_clear (self=0x76567dd8) at 
Objects/exceptions.c:78
#6  SyntaxError_clear (self=0x76567dd8) at Objects/exceptions.c:1381
#7  0x00458104 in delete_garbage (old=, 
collectable=) at Modules/gcmodule.c:759
#8  collect (generation=generation@entry=2, 
n_collected=n_collected@entry=0x7fffd6c8, 
n_uncollectable=n_uncollectable@entry=0x7fffd6d0, nofail=nofail@entry=0) at 
Modules/gcmodule.c:911
#9  0x00458d2b in collect_with_callback (generation=2) at 
Modules/gcmodule.c:1020
#10 PyGC_Collect () at Modules/gcmodule.c:1507
#11 0x00439aaf in Py_FinalizeEx () at Python/pylifecycle.c:1002
#12 0x0043b3d8 in Py_Exit (sts=sts@entry=0) at Python/pylifecycle.c:1953
#13 0x0043f4e8 in handle_system_exit () at Python/pythonrun.c:608
#14 0x0043f94d in handle_system_exit () at Python/pythonrun.c:635
#15 PyErr_PrintEx (set_sys_last_vars=set_sys_last_vars@entry=1) at 
Python/pythonrun.c:618
#16 0x0043fc4a in PyErr_Print () at Python/pythonrun.c:514
#17 0x00441475 in PyRun_SimpleFileExFlags (fp=fp@entry=0x9dc050, 
filename=, closeit=closeit@entry=1, 
flags=flags@entry=0x7fffd8e0) at Python/pythonrun.c:407
#18 0x00441633 in PyRun_AnyFileExFlags (fp=fp@entry=0x9dc050, 
filename=, closeit=closeit@entry=1, 
flags=flags@entry=0x7fffd8e0) at Python/pythonrun.c:83
#19 0x0045666c in run_file (p_cf=0x7fffd8e0, filename=0x9973d0 
L"test.py", fp=0x9dc050) at Modules/main.c:341
#20 Py_Main (argc=argc@entry=6, argv=argv@entry=0x996020) at Modules/main.c:895
#21 0x0041fa2b in main (argc=6, argv=) at 
./Programs/python.c:102

I get it in lxml's test suite runs, will try to reduce it to a test script.

--

___
Python tracker 

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



[issue31499] ElementTree crash while cleaning up ParseError

2017-09-17 Thread Stefan Behnel

Stefan Behnel added the comment:

Minimal reproducer seems to be this:
--
import xml.etree.ElementTree as etree

def test():
parser = etree.XMLParser()
try:
parser.close()
except etree.ParseError as exc:
e = exc  # must keep local reference!

test()
--

The master gitrev I tested is 132a7d7cdbc7cb89fa1c1f4e8192241c3d68f549

Since this happens during GC and finalisation, it's quite possible that it's 
not a bug in ET per se. It might just be a prematurely cleared reference in 
some tp_clear(), or something like that. (Changing ticket title appropriately.)

--
title: ElementTree crash with new expat -> ElementTree crash while cleaning up 
ParseError

___
Python tracker 

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



[issue31443] Possibly out of date C extension documentation

2017-09-17 Thread Stefan Krah

Stefan Krah added the comment:

FWIW, I've been using

  https://github.com/python/cpython/blob/master/Modules/_decimal/_decimal.c#L689


the static initialization on problematic platforms like Windows and
AIX for years, without any problems.


I'm sure this is valid C, and people here agree:

https://stackoverflow.com/questions/6989107/cant-initialize-static-structure-with-function-pointer-from-another-translation


Perhaps this was an issue on very old IRIX systems or similar?

--

___
Python tracker 

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



[issue31498] Default values for zero in time.strftime()

2017-09-17 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--
assignee:  -> brett.cannon
nosy: +brett.cannon

___
Python tracker 

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



[issue27541] Repr of collection's subclasses

2017-09-17 Thread Raymond Hettinger

Raymond Hettinger added the comment:

+1 for changing the cases Serhiy found.   Also, I agree with Serhiy that there 
should not be a change for the built-in types that have a literal notation (it 
has been this was forever, hasn't caused any real issues, and changing it now 
will likely break code).

--

___
Python tracker 

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



[issue27541] Repr of collection's subclasses

2017-09-17 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--
Removed message: https://bugs.python.org/msg302377

___
Python tracker 

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



[issue31443] Possibly out of date C extension documentation

2017-09-17 Thread Stefan Krah

Stefan Krah added the comment:

Christian, do you remember which compiler was the reason for the commit

cbf3b5cb76906fba15dbf59a1e83c540a447b907 ?

+   /* Due to cross platform compiler issues the slots must be filled
+* here. It's required for portability to Windows without requiring
+* C++. */
Null_Type.tp_base = &PyBaseObject_Type;
+   Null_Type.tp_new = PyType_GenericNew;
Str_Type.tp_base = &PyUnicode_Type;



I've never had problems with VS 2008 or greater.

--
nosy: +christian.heimes

___
Python tracker 

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



[issue30528] ipaddress.IPv{4,6}Network.reverse_pointer is broken

2017-09-17 Thread Ewoud Kohl van Wijngaarden

Changes by Ewoud Kohl van Wijngaarden :


--
keywords: +patch
pull_requests: +3621
stage:  -> patch review

___
Python tracker 

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



[issue30528] ipaddress.IPv{4,6}Network.reverse_pointer is broken

2017-09-17 Thread Ewoud Kohl van Wijngaarden

Ewoud Kohl van Wijngaarden added the comment:

Today I ran into this as well. In the case of IPv6 it's simple to decide what 
should be returned but on the IPv4Network I disagree. My expectation would be 
the domain where I would make the reverse needed. That means for 127.0.0.0/13 
it should be '127.in-addr.arpa'.

I implemented it this way in the linked PR but I'm open to other opinions.

--
nosy: +ekohl

___
Python tracker 

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



[issue31501] Operator precedence description for arithmetic operators

2017-09-17 Thread svelankar

New submission from svelankar:

Description for the operator precedence should read 
"Multiplication, matrix multiplication division, remainder" instead of 

"Multiplication, matrix multiplication, division, floor division, remainder.

Section 6.16. Operator precedence

I feel this would help a new comer to python to instantly figure out what does 
"//" stand for.

--
assignee: docs@python
components: Documentation
messages: 302391
nosy: Mariatta, docs@python, svelankar
priority: normal
severity: normal
status: open
title: Operator precedence  description  for arithmetic operators
versions: Python 3.7

___
Python tracker 

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



[issue31502] IDLE: Config dialog again deletes custom themes and keysets.

2017-09-17 Thread Terry J. Reedy

New submission from Terry J. Reedy:

The askyesno messagebox wrappers, added in #31287, returned None, which is 
interpreted as 'No', instead of the user entry.  With 'Yes' not seen, nothing 
was saved.

The manual tests, once the problem was understood, is to save a new 
theme/keyset and click the delete button twice, clicking No the first time and 
Yes the second time, and see what happens.

Unit testing the current version of askyesno would be difficult since it calls 
messagebox.askyesno(), which returns an answer, and there is no obvious way to 
get a reference to the actual widget, in order to generate simulated key or 
click events.

A long term solution might be to add a new subclass to query.Query, after 
reviewing *it* for ease of testing.

--
assignee: terry.reedy
components: IDLE
messages: 302392
nosy: terry.reedy
priority: high
severity: normal
stage: needs patch
status: open
title: IDLE: Config dialog again deletes custom themes and keysets.
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



[issue31501] Operator precedence description for arithmetic operators

2017-09-17 Thread svelankar

Changes by svelankar :


--
keywords: +patch
pull_requests: +3623
stage:  -> patch review

___
Python tracker 

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



[issue31502] IDLE: Config dialog again deletes custom themes and keysets.

2017-09-17 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I am not adding a new item because the regression has not been released.

--

___
Python tracker 

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



[issue31502] IDLE: Config dialog again deletes custom themes and keysets.

2017-09-17 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
keywords: +patch
pull_requests: +3624
stage: needs patch -> patch review

___
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-09-17 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
pull_requests: +3625

___
Python tracker 

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



[issue30928] Copy modified blurbs to idlelib/NEWS.txt

2017-09-17 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
pull_requests: +3626
stage: needs patch -> patch review

___
Python tracker 

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



[issue30928] Copy modified blurbs to idlelib/NEWS.txt

2017-09-17 Thread Terry J. Reedy

Terry J. Reedy added the comment:

This should prepare IDLE for 3.6.3 and 3.7.0a1 cutoff tomorrow morning.

--
stage: patch review -> needs patch

___
Python tracker 

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



[issue31502] IDLE: Config dialog again deletes custom themes and keysets.

2017-09-17 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset 0efc7c67a2f8a184e93f9a491305c81ef2e24250 by Terry Jan Reedy in 
branch 'master':
bpo-31502: IDLE Configdialog again deletes custom themes and keysets. (#3634)
https://github.com/python/cpython/commit/0efc7c67a2f8a184e93f9a491305c81ef2e24250


--

___
Python tracker 

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



[issue30928] Copy modified blurbs to idlelib/NEWS.txt

2017-09-17 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset 55679e0ec76ee3b30ca609948f47bb02a8e0a078 by Terry Jan Reedy in 
branch 'master':
bpo-30928: Update idlelib/NEWS.txt to 2017 Sep 17. (#3635)
https://github.com/python/cpython/commit/55679e0ec76ee3b30ca609948f47bb02a8e0a078


--

___
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-09-17 Thread Roundup Robot

Changes by Roundup Robot :


--
pull_requests: +3628

___
Python tracker 

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



[issue30928] Copy modified blurbs to idlelib/NEWS.txt

2017-09-17 Thread Roundup Robot

Changes by Roundup Robot :


--
pull_requests: +3629
stage: needs patch -> patch review

___
Python tracker 

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



[issue31487] Improve f-strings documentation wrt format specifiers

2017-09-17 Thread Martin Panter

Martin Panter added the comment:

>>> f"{number:#0x}"  # using integer format specifier

It’s not clear what your purpose was adding the above line, but the zero flag 
(0) does nothing because there is no “width” field. I think it could be 
misleading, because it is actually the “#x” codes that generate the “0x” prefix.

If you want to illustrate a minimum width, I suggest something like

>>> f"{number:#06x}"
'0x0400'

or (if the number is never negative)

>>> f"0x{number:04X}"
'0x0400'

Or if you don’t care about the width:

>>> f"{number:#x}"
'0x400'

--
nosy: +martin.panter

___
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-09-17 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset 0efc7c67a2f8a184e93f9a491305c81ef2e24250 by Terry Jan Reedy in 
branch 'master':
bpo-31502: IDLE Configdialog again deletes custom themes and keysets. (#3634)
https://github.com/python/cpython/commit/0efc7c67a2f8a184e93f9a491305c81ef2e24250


--

___
Python tracker 

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



[issue31502] IDLE: Config dialog again deletes custom themes and keysets.

2017-09-17 Thread Roundup Robot

Changes by Roundup Robot :


--
pull_requests: +3627

___
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-09-17 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset 6b4d8ba0971355027b8981a45a0a62ac1ef9a456 by Terry Jan Reedy (Miss 
Islington (bot)) in branch '3.6':
[3.6] bpo-31502: IDLE Configdialog again deletes custom themes and keysets. 
(GH-3634) (#3636)
https://github.com/python/cpython/commit/6b4d8ba0971355027b8981a45a0a62ac1ef9a456


--

___
Python tracker 

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



[issue31502] IDLE: Config dialog again deletes custom themes and keysets.

2017-09-17 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset 6b4d8ba0971355027b8981a45a0a62ac1ef9a456 by Terry Jan Reedy (Miss 
Islington (bot)) in branch '3.6':
[3.6] bpo-31502: IDLE Configdialog again deletes custom themes and keysets. 
(GH-3634) (#3636)
https://github.com/python/cpython/commit/6b4d8ba0971355027b8981a45a0a62ac1ef9a456


--

___
Python tracker 

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



[issue31501] Operator precedence description for arithmetic operators

2017-09-17 Thread Raymond Hettinger

Raymond Hettinger added the comment:

This is a reasonable proposal.

--
nosy: +rhettinger
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



[issue31501] Operator precedence description for arithmetic operators

2017-09-17 Thread Roundup Robot

Changes by Roundup Robot :


--
pull_requests: +3630

___
Python tracker 

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



[issue31501] Operator precedence description for arithmetic operators

2017-09-17 Thread Raymond Hettinger

Raymond Hettinger added the comment:


New changeset 9b47af65375fab9318e88ccb061394a36c8c6c33 by Raymond Hettinger 
(svelankar) in branch 'master':
bpo-31501: Operator precedence  description  for arithmetic operators (#3633)
https://github.com/python/cpython/commit/9b47af65375fab9318e88ccb061394a36c8c6c33


--

___
Python tracker 

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



[issue31501] Operator precedence description for arithmetic operators

2017-09-17 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--
resolution:  -> fixed
stage: patch review -> 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



[issue30928] Copy modified blurbs to idlelib/NEWS.txt

2017-09-17 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset 84c89ef4e5086e71e3d9ee65cd3620bf8174c9ac by Terry Jan Reedy (Miss 
Islington (bot)) in branch '3.6':
[3.6] bpo-30928: Update idlelib/NEWS.txt to 2017 Sep 17. (GH-3635) (#3637)
https://github.com/python/cpython/commit/84c89ef4e5086e71e3d9ee65cd3620bf8174c9ac


--

___
Python tracker 

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



[issue31503] Enhance dir(module) to be informed by __all__ by updating module.__dir__

2017-09-17 Thread Cody Piersall

New submission from Cody Piersall:

If a some_module defines __all__, dir(some_module) should only return what is 
in __all__.  This is already a mechanism that Python provides to specify 
module-level APIs.  Currently, dir(some_module) returns 
some_module.__dict__.keys().

The concern with this enhancement is backwards compatibility.  It is 
conceivable that some library's code would be broken with the different return 
value of dir(some_module).  However, it seems unlikely that any code, other 
than tests, depends on the current behavior of dir(some_module).

If __all__ is not defined in some_module, the old behavior is preserved.

--
messages: 302404
nosy: codypiersall
priority: normal
pull_requests: 3631
severity: normal
status: open
title: Enhance dir(module) to be informed by __all__ by updating module.__dir__
type: enhancement
versions: Python 3.7

___
Python tracker 

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



[issue31503] Enhance dir(module) to be informed by __all__ by updating module.__dir__

2017-09-17 Thread Raymond Hettinger

Raymond Hettinger added the comment:

I think  change this would be risky and could break code that uses dir() to 
actually know what is in a module.

IIRC, this was discussed when __all__ was introduced. I believe it was decided 
that __all__ would affect from-imports and help() but not dir().  This decision 
has been in place for a long time now and I would expect that people (and 
tools) have come to rely on the current behavior.

--
nosy: +brett.cannon, rhettinger

___
Python tracker 

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



[issue31503] Enhance dir(module) to be informed by __all__ by updating module.__dir__

2017-09-17 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Guido on python-ideas: I ave to agree with the other committers who already 
spoke up.

Me: I use dir to see the complete list now presently presented.  The presence 
or absence of  __file__ indicates coded on Python or not.

IDLE module completion start with public items (I believe __all__ or not start 
with _).  Type '_' and the complete list appears.  I think we should reject 
this.

--
nosy: +terry.reedy

___
Python tracker 

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



[issue31503] Enhance dir(module) to be informed by __all__ by updating module.__dir__

2017-09-17 Thread Nick Coghlan

Nick Coghlan added the comment:

While I agree changing the default would be risky from a compatibility 
perspective, I do think it would be helpful to offer a straightforward way to 
filter out transitive imports and other non-public implementation details from 
the result of `dir(module)`, and require folks to use 
`list(vars(module).keys())` if they want a reliably complete listing of all 
global variables defined in a module.

The simplest spelling that comes to mind would be to allow people to write:

__dir__ = __all__

to get ``__all__`` to also affect the result of ``dir()``, permitting module 
authors to make their own determination as to whether they consider "The result 
of dir() includes non-public implementation details" to be covered by any 
backwards compatibility guarantees they might offer.

A less simple, but potentially more flexible, mechanism would be to require 
that to be spelled as:

def __dir__():
return __all__

but I'm not sure the extra flexibility would be useful in any meaningful way 
(especially if one of the options for easier definition of dynamic module level 
properties were eventually adopted).

--
nosy: +ncoghlan

___
Python tracker 

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



[issue31503] Enhance dir(module) to be informed by __all__ by updating module.__dir__

2017-09-17 Thread Nick Coghlan

Nick Coghlan added the comment:

As far the implementation goes, since the `__dir__` overload support in the 
`dir()` builtin ignores instance dictionaries, this could be implemented in 
module.__dir__ (or object.__dir__) rather than directly in the builtin.

Alternatively, it could use a different attribute name rather than having 
`__dir__` be a list of strings on instances, and a protocol method on classes.

If we went with a different name, then I think `__public__` would be a 
reasonable option, since the purpose of the attribute is to make it easy to 
programmatically distinguish public attributes from non-public ones 
(independently of the established leading underscore convention, which doesn't 
work well for transitive module references).

--

___
Python tracker 

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



[issue31503] Enhance dir(module) to be informed by __all__ by updating module.__dir__

2017-09-17 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

This would break tab completion of names not included in __all__.

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue31016] [Regression] sphinx shows an EOF error when using python2.7 from the trunk

2017-09-17 Thread STINNER Victor

STINNER Victor added the comment:

FYI The bug has been fixed in the Sphinx development branch (HEAD of master): 
https://github.com/sphinx-doc/sphinx/issues/4061#issuecomment-330140975 I 
validated that Sphinx master now works as expected on Python 2.7.14.

--

___
Python tracker 

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