[issue34258] Python shell keeps restarting

2018-07-29 Thread Aleksa Bulatovic


Aleksa Bulatovic  added the comment:

Im running as a idle python(when im in editor,i run the module)
I get like in 3 days(if you asked when did i get into the program,english is 
not my first language)
For my input calls i put a string so that player knows what to answer to.
I hope i answered your questions for details.(I don't understand some things 
when someone says like '   PyArg_ParseTupleAndKeywords' or something like 
that,im 12 year old so i don't understand some issues)

--

___
Python tracker 

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



[issue8145] Documentation about sqlite3 isolation_level

2018-07-29 Thread miss-islington


Change by miss-islington :


--
pull_requests: +8056

___
Python tracker 

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



[issue8145] Documentation about sqlite3 isolation_level

2018-07-29 Thread Steve Dower


Steve Dower  added the comment:


New changeset a71fed0b7596f1c11a2fa6c1b7311157148f5f9f by Steve Dower (Berker 
Peksag) in branch 'master':
bpo-8145: Improve isolation_level documentation (GH-8499)
https://github.com/python/cpython/commit/a71fed0b7596f1c11a2fa6c1b7311157148f5f9f


--
nosy: +steve.dower

___
Python tracker 

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



[issue34225] distutils._msvccompiler should trim INCLUDE/LIB directories

2018-07-29 Thread miss-islington


Change by miss-islington :


--
pull_requests: +8057

___
Python tracker 

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



[issue34225] distutils._msvccompiler should trim INCLUDE/LIB directories

2018-07-29 Thread Steve Dower


Steve Dower  added the comment:


New changeset 8f6a7e100d68fddc9fb98f5cbdf1981994360407 by Steve Dower (Miss 
Islington (bot)) in branch '3.6':
bpo-34225: Ensure INCLUDE and LIB directories do not end with a backslash. 
(GH-8464)
https://github.com/python/cpython/commit/8f6a7e100d68fddc9fb98f5cbdf1981994360407


--

___
Python tracker 

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



[issue34217] windows: cross compilation fails due to headers with uppercase

2018-07-29 Thread Erik Janssens


Change by Erik Janssens :


--
pull_requests: +8058

___
Python tracker 

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



[issue34269] logging in 3.7 behaves different due to caching

2018-07-29 Thread Thomas Waldmann


New submission from Thomas Waldmann :

When running the borgbackup tests on 3.7.0, quite some tests will be broken 
because expected log output is not emitted.

I traced this down up the point when I noticed that reverting the caching 
feature change of isEnabledFor method in Logger makes the tests work on 3.7.

I reviewed the logging code and the caching change, but could not easily find 
what is broken. There is of course some suspicion that cache invalidation might 
be the issue (it is present, but maybe it does not cover all the cases).

See there for more info:
https://github.com/borgbackup/borg/issues/3805

So, I suggest to first revert the caching feature change so we get a fixed 
logging in 3.7.1 and then to retry to add caching.

Note: I'm at EuroPython sprints today at the borgbackup table.

--
messages: 322617
nosy: Thomas.Waldmann
priority: normal
severity: normal
status: open
title: logging in 3.7 behaves different due to caching
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



[issue8145] Documentation about sqlite3 isolation_level

2018-07-29 Thread Steve Dower


Steve Dower  added the comment:


New changeset 94972d50bda19000bce498bd2c5ace6be9bec711 by Steve Dower (Miss 
Islington (bot)) in branch '3.6':
bpo-8145: Improve isolation_level documentation (GH-8499)
https://github.com/python/cpython/commit/94972d50bda19000bce498bd2c5ace6be9bec711


--

___
Python tracker 

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



[issue33635] OSError when using pathlib.Path.rglob() to list device files

2018-07-29 Thread Roundup Robot


Change by Roundup Robot :


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

___
Python tracker 

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



[issue34269] logging in 3.7 behaves different due to caching

2018-07-29 Thread Thomas Waldmann


Change by Thomas Waldmann :


--
components: +Library (Lib)
type:  -> behavior

___
Python tracker 

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



[issue8145] Documentation about sqlite3 isolation_level

2018-07-29 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +8060

___
Python tracker 

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



[issue34055] IDLE Shell: check syntax before smart indent

2018-07-29 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

I did several more experiments to reproduce the reported problems and narrow 
down when they occur.  (Where I say 3.6.3 below, I actually tested 2.7.15 
and/or 3.5.4 and assume same behavior until fix for 3.6.4.)

>>> a=1
>>> a
1  # no extra space
>>> d={1:'a',
   }  # 3 space autoindent in 3.6.3-, 7 in 3.6.4+ after fix.
>>> ===  # 2nd '=' marked with red 'error' background
SyntaxError: invalid syntax  # no extra space for this SyntaxError
>>> a
1  # no extra space
>>> d={1:'a
   |<-- 3 or 7 space indent in 3.6.3-, 3.6.4+
SyntaxError: EOL while scanning string literal
>>> a
   |<-- Regression: persistent only after fix
1
>>> if a: d={1:'a
|<-- new indent, 2 tabs + space, correct
SyntaxError: EOL while scanning string literal
>>> a
|<-- extra line with larger indent.
1
>>> if a  : e{3:===}
|<-- indent not increased with matched {}.
SyntaxError: invalid syntax

Fresh start:
>>> a=1
>>> d==={  # error before unmatched {
|<-- indent
SyntaxError: invalid syntax
>>> a
1

Conclusion: IDLE has had a buglet in adding an indented blank line before 
'SyntaxError' when the erroneous line (or maybe statement) has an unmatched 
opener.  Before 3.6.4, indents after unmatched openers in the first line of a 
statement were wrong because the prompt was ignored.  However, the fix 
introduced a regression in making the corrected indent persistent.  I will have 
to check whether the persistence is from an uninitialized value or from 
erroneously including prior statements in the calculation.

If possible, check syntax first and only request a smart indent when the 
statement is correct but incomplete.  This should fix the buglet and might 
nullify the persistence, though I would like to fix the persistence also.
---

I have occasionally experienced unrequested pasting of previous input or output 
after the 1st prompt after a restart, but it is so rare for me that I have not 
yet detected a pattern.

--
title: IDLE: erroneous 'smart' indents in shell -> IDLE Shell: check syntax 
before smart indent

___
Python tracker 

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



[issue34270] Add names to asyncio tasks

2018-07-29 Thread Alex Grönholm

New submission from Alex Grönholm :

Having names on tasks helps tremendously when something goes wrong in a complex 
asyncio application. Threads have names and even trio has the ability to name 
its tasks. This would also greatly benefit PyCharm's concurrency visualization: 
https://www.jetbrains.com/help/pycharm/thread-concurrency-visualization.html#asyncio

--
components: asyncio
messages: 322620
nosy: alex.gronholm, asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: Add names to asyncio tasks
type: enhancement
versions: Python 3.8

___
Python tracker 

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



[issue30237] Access violation due to CancelSynchronousIo of console read

2018-07-29 Thread Steve Dower


Steve Dower  added the comment:


New changeset c3af73d580888b4d444264e79dce6ec0818522cd by Steve Dower (Miss 
Islington (bot)) in branch '3.7':
bpo-30237: Output error when ReadConsole is canceled by CancelSynchronousIo. 
(GH-7911)
https://github.com/python/cpython/commit/c3af73d580888b4d444264e79dce6ec0818522cd


--

___
Python tracker 

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



[issue30237] Access violation due to CancelSynchronousIo of console read

2018-07-29 Thread Steve Dower


Steve Dower  added the comment:


New changeset 28bbbdabb1e3601047530febac1b05b7b89dc65e by Steve Dower in branch 
'3.6':
bpo-30237: Output error when ReadConsole is canceled by CancelSynchronousIo. 
(GH-7911)
https://github.com/python/cpython/commit/28bbbdabb1e3601047530febac1b05b7b89dc65e


--

___
Python tracker 

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



[issue33435] incorrect detection of information of some distributions

2018-07-29 Thread Petr Viktorin


Petr Viktorin  added the comment:

linux_distribution has beed deprecated for a while and has been removed in 
GH-6871 (bpo-28167)

See https://pypi.org/project/distro for distro detection.

--
resolution:  -> rejected
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



[issue33666] Document removal of os.errno

2018-07-29 Thread Petr Viktorin


Petr Viktorin  added the comment:


New changeset 78c54de575fd121d91749c2316fef1949d76fb07 by Petr Viktorin (Miss 
Islington (bot)) in branch '3.7':
bpo-33666: Add what's new entry for os.errno removal (GH-8497) (GH-8526)
https://github.com/python/cpython/commit/78c54de575fd121d91749c2316fef1949d76fb07


--

___
Python tracker 

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



[issue33083] math.factorial accepts non-integral Decimal instances

2018-07-29 Thread Mark Dickinson


Mark Dickinson  added the comment:

[Tal Einat]
> So we keep things consistent by supporting Decimal and Fraction inputs, but 
> raising ValueError if the value isn't a non-negative integer?

Re-reading the issue comments, my preference is still the same as expressed in 
msg313936:

- no behaviour change if the input is a float
- if the input is not a float, require it to be integer-like (in the sense of 
implementing __index__), and complain with a TypeError if it isn't
- defer discussion of deprecating acceptance of integer-valued floats to 
another issue

So `math.factorial(x)` would become a `TypeError` for a `Decimal` or `Fraction` 
instance, whether integral or not.

--

___
Python tracker 

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



[issue31047] Windows: os.path.isabs(os.path.abspath(" ")) == False

2018-07-29 Thread Wöllert

Change by Wöllert :


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

___
Python tracker 

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



[issue34231] PYTHONBREAKPOINT is not documented with python --help

2018-07-29 Thread Steve Dower

Steve Dower  added the comment:


New changeset b7fd73896db5666020e382c010b8da900260ede4 by Steve Dower (Stéphane 
Wirtel) in branch 'master':
bpo-34231: PYTHONBREAKPOINT is not documented on python --help (GH-8475)
https://github.com/python/cpython/commit/b7fd73896db5666020e382c010b8da900260ede4


--
nosy: +steve.dower

___
Python tracker 

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



[issue34231] PYTHONBREAKPOINT is not documented with python --help

2018-07-29 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +8062

___
Python tracker 

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



[issue8145] Documentation about sqlite3 isolation_level

2018-07-29 Thread Steve Dower


Steve Dower  added the comment:


New changeset 3dc8cdf56d056fb7722061ac3b3863e8a385b8de by Steve Dower in branch 
'3.7':
bpo-8145: Improve isolation_level documentation (GH-8499)
https://github.com/python/cpython/commit/3dc8cdf56d056fb7722061ac3b3863e8a385b8de


--

___
Python tracker 

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



[issue33666] Document removal of os.errno

2018-07-29 Thread INADA Naoki


Change by INADA Naoki :


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



[issue33083] math.factorial accepts non-integral Decimal instances

2018-07-29 Thread Tal Einat


Tal Einat  added the comment:

As a user, I would find Mark's suggestion very confusing, accepting 
non-integral floats but not non-integral Decimals and Fractions.

I agree that ideally it should accept only integral inputs, including floats, 
but deprecating the behavior for non-integral floats has been deemed out of 
scope for this issue.  Therefore I suggest doing the same for Decimal and 
Fraction: accept them but raise a ValueError if their values aren't 
non-negative integers.

At a later point we could deprecate this behavior for all non-integer types of 
numbers.

Another alternative, which is also more acceptable IMO, is to raise TypeError 
if given anything other than an int or a float, while deprecating floats 
altogether.

--

___
Python tracker 

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



[issue8145] Documentation about sqlite3 isolation_level

2018-07-29 Thread Berker Peksag


Change by Berker Peksag :


--
keywords:  -needs review
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.8 -Python 2.7, Python 3.5

___
Python tracker 

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



[issue34231] PYTHONBREAKPOINT is not documented with python --help

2018-07-29 Thread Steve Dower


Steve Dower  added the comment:


New changeset 6332de10c7ff703d7f9cef62969aa68e7d28d075 by Steve Dower in branch 
'3.7':
bpo-34231: PYTHONBREAKPOINT is not documented on python --help (GH-8475)
https://github.com/python/cpython/commit/6332de10c7ff703d7f9cef62969aa68e7d28d075


--

___
Python tracker 

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



[issue34258] Python shell keeps restarting

2018-07-29 Thread Steve Dower


Steve Dower  added the comment:

Maybe you could describe what it looks like when it restarts? Or take a 
screenshot and share it so we can see what is happening?

--
assignee:  -> terry.reedy
components: +IDLE
nosy: +terry.reedy

___
Python tracker 

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



[issue34231] PYTHONBREAKPOINT is not documented with python --help

2018-07-29 Thread Berker Peksag


Change by Berker Peksag :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
type:  -> enhancement

___
Python tracker 

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



[issue34270] Add names to asyncio tasks

2018-07-29 Thread Roundup Robot


Change by Roundup Robot :


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

___
Python tracker 

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



[issue34232] Python3.7.0 exe installers (32 and 64 bit) failing on Windows7

2018-07-29 Thread Steve Dower


Steve Dower  added the comment:

Thanks.

There is at least one other log file in the same location as the one you 
attached - the log with "core_JustForMe" in the name is what I need to keep 
diagnosing this problem.

--
components: +Windows
nosy: +paul.moore, tim.golden, zach.ware

___
Python tracker 

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



[issue34271] Please support logging of SSL master secret by env variable SSLKEYLOGFILe

2018-07-29 Thread Johannes Frank


New submission from Johannes Frank :

As discussed on the EuroPython 2018 it would be a great improvement if the 
python SSL module would respect the SSLKEYLOGFILE environment variable to log 
the master secret and the client random for packet trace decryption.

The pycurl module compiled against libopenssl 1.1.0h does already work.

OpenSSL 1.1.1 will offer to register a callback that will log the keys.

There is also c code available using LD_PRELOAD here:

https://git.lekensteyn.nl/peter/wireshark-notes/tree/src/sslkeylog.c

It would be great if a call to the requests, aiohttp, urllib3 or asks library 
would lead to the keys logged if the environment variable is set from within 
python.

Thank you

--
assignee: christian.heimes
components: SSL
files: pycurl-get.py
messages: 322632
nosy: christian.heimes, jmfrank63
priority: normal
severity: normal
status: open
title: Please support logging of SSL master secret by env variable SSLKEYLOGFILe
type: enhancement
versions: Python 3.7
Added file: https://bugs.python.org/file47719/pycurl-get.py

___
Python tracker 

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



[issue34271] Please support logging of SSL master secret by env variable SSLKEYLOGFILE

2018-07-29 Thread Johannes Frank


Change by Johannes Frank :


--
title: Please support logging of SSL master secret by env variable 
SSLKEYLOGFILe -> Please support logging of SSL master secret by env variable 
SSLKEYLOGFILE

___
Python tracker 

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



[issue32321] functools.reduce has a redundant guard or needs a pure Python fallback

2018-07-29 Thread Robert Wright


Change by Robert Wright :


--
pull_requests: +8064

___
Python tracker 

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



[issue31047] Windows: os.path.isabs(os.path.abspath(" ")) == False

2018-07-29 Thread Steve Dower

Steve Dower  added the comment:


New changeset d2e902e4fb304f27e4a72356efbc1fc26be3935d by Steve Dower (Franz 
Wöllert) in branch 'master':
bpo-31047: Fix ntpath.abspath for invalid paths (GH-8544)
https://github.com/python/cpython/commit/d2e902e4fb304f27e4a72356efbc1fc26be3935d


--

___
Python tracker 

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



[issue31047] Windows: os.path.isabs(os.path.abspath(" ")) == False

2018-07-29 Thread miss-islington


Change by miss-islington :


--
pull_requests: +8065

___
Python tracker 

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



[issue34269] logging in 3.7 behaves different due to caching

2018-07-29 Thread Thomas Waldmann


Thomas Waldmann  added the comment:

https://github.com/borgbackup/borg/pull/3998

Looks like this fix to our test tearDown method makes the tests work again.

If one looks at what this dirty/problematic hack was done, it might be because 
of a missing logging reset functionality?

--

___
Python tracker 

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



[issue34272] Reorganize C API tests

2018-07-29 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

The proposed PR reorganizes C API tests. Most C API tests will be moved into 
the new directory Lib/test/test_capi/.

--
components: Tests
messages: 322635
nosy: ezio.melotti, michael.foord, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Reorganize C API tests
type: enhancement
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue31047] Windows: os.path.isabs(os.path.abspath(" ")) == False

2018-07-29 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +8066

___
Python tracker 

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



[issue34272] Reorganize C API tests

2018-07-29 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +xtreak

___
Python tracker 

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



[issue34269] logging in 3.7 behaves different due to caching

2018-07-29 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +xtreak

___
Python tracker 

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



[issue34267] find_python.bat doesn't find installed Python 3.7

2018-07-29 Thread Steve Dower


Change by Steve Dower :


--
assignee:  -> steve.dower

___
Python tracker 

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



[issue34272] Reorganize C API tests

2018-07-29 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


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

___
Python tracker 

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



[issue34267] find_python.bat doesn't find installed Python 3.7

2018-07-29 Thread Steve Dower


Change by Steve Dower :


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

___
Python tracker 

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



[issue26440] tarfile._FileInFile.seekable is broken in stream mode

2018-07-29 Thread Mickaël S .

Change by Mickaël S. :


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

___
Python tracker 

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



[issue34246] Gentoo Refleaks 3.7: test_smtplib has dangling threads

2018-07-29 Thread Pablo Santiago Blum de Aguiar


Change by Pablo Santiago Blum de Aguiar :


--
keywords: +patch
pull_requests: +8070
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



[issue31047] Windows: os.path.isabs(os.path.abspath(" ")) == False

2018-07-29 Thread miss-islington


miss-islington  added the comment:


New changeset 5753b13cb949b939b2b29cec5e2d646f9a30db44 by Miss Islington (bot) 
in branch '3.7':
bpo-31047: Fix ntpath.abspath for invalid paths (GH-8544)
https://github.com/python/cpython/commit/5753b13cb949b939b2b29cec5e2d646f9a30db44


--
nosy: +miss-islington

___
Python tracker 

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



[issue33747] Failed separate test_patch_propogrates_exc_on_exit in test_unittest

2018-07-29 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Michael, could you please make a review? I'm not experienced with mock.patch, 
and don't know what this test do.

--

___
Python tracker 

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



[issue34272] Reorganize C API tests

2018-07-29 Thread Abdur-rahmaan Janhangeer


Abdur-rahmaan Janhangeer  added the comment:

unsubscribe

Abdur-Rahmaan Janhangeer
https://github.com/Abdur-rahmaanJ
Mauritius

On Sun, 29 Jul 2018, 16:56 Serhiy Storchaka,  wrote:

>
> New submission from Serhiy Storchaka :
>
> The proposed PR reorganizes C API tests. Most C API tests will be moved
> into the new directory Lib/test/test_capi/.
>
> --
> components: Tests
> messages: 322635
> nosy: ezio.melotti, michael.foord, serhiy.storchaka
> priority: normal
> severity: normal
> status: open
> title: Reorganize C API tests
> type: enhancement
> versions: Python 3.6, Python 3.7, Python 3.8
>
> ___
> Python tracker 
> 
> ___
> ___
> New-bugs-announce mailing list
> new-bugs-annou...@python.org
> https://mail.python.org/mailman/listinfo/new-bugs-announce
>

--
nosy: +appinv

___
Python tracker 

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



[issue34272] Reorganize C API tests

2018-07-29 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
nosy:  -appinv

___
Python tracker 

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



[issue34272] Reorganize C API tests

2018-07-29 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


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

___
Python tracker 

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



[issue34271] Please support logging of SSL master secret by env variable SSLKEYLOGFILE

2018-07-29 Thread Chih-Hsuan Yen


Change by Chih-Hsuan Yen :


--
nosy: +yan12125

___
Python tracker 

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



[issue34035] Several AttributeError in zipfile seek() methods

2018-07-29 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset 3f8c6913b82ed9c05e57175bcbfeacde46c598e3 by Serhiy Storchaka 
(Mickaël Schoentgen) in branch 'master':
bpo-34035: Fix several AttributeError in zipfile seek() methods. (GH-8527)
https://github.com/python/cpython/commit/3f8c6913b82ed9c05e57175bcbfeacde46c598e3


--

___
Python tracker 

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



[issue34035] Several AttributeError in zipfile seek() methods

2018-07-29 Thread miss-islington


Change by miss-islington :


--
pull_requests: +8072

___
Python tracker 

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



[issue34182] Lib/test/test_pydoc.py failed when ran as a script

2018-07-29 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 4e11c461ed39085b8495a35c9367b46d8a0d306d by Serhiy Storchaka (Bo 
Bayles) in branch 'master':
bpo-34182: Fix test_pydoc running as a script. (GH-8389)
https://github.com/python/cpython/commit/4e11c461ed39085b8495a35c9367b46d8a0d306d


--

___
Python tracker 

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



[issue34182] Lib/test/test_pydoc.py failed when ran as a script

2018-07-29 Thread miss-islington


Change by miss-islington :


--
pull_requests: +8073

___
Python tracker 

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



[issue34182] Lib/test/test_pydoc.py failed when ran as a script

2018-07-29 Thread miss-islington


miss-islington  added the comment:


New changeset 990de2f4ca734ddaa196e2af64caafb9c77f29e0 by Miss Islington (bot) 
in branch '3.7':
bpo-34182: Fix test_pydoc running as a script. (GH-8389)
https://github.com/python/cpython/commit/990de2f4ca734ddaa196e2af64caafb9c77f29e0


--
nosy: +miss-islington

___
Python tracker 

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



[issue34182] Lib/test/test_pydoc.py failed when ran as a script

2018-07-29 Thread Serhiy Storchaka


Change 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



[issue34035] Several AttributeError in zipfile seek() methods

2018-07-29 Thread miss-islington


miss-islington  added the comment:


New changeset ad4f64d58c020016bd438de0e863a0d31d0f0dac by Miss Islington (bot) 
in branch '3.7':
bpo-34035: Fix several AttributeError in zipfile seek() methods. (GH-8527)
https://github.com/python/cpython/commit/ad4f64d58c020016bd438de0e863a0d31d0f0dac


--
nosy: +miss-islington

___
Python tracker 

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



[issue34035] Several AttributeError in zipfile seek() methods

2018-07-29 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

Thank you for your report Evgeny and for your PR Mickaël!

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



[issue34273] %f is confusingly associated with fixed point format

2018-07-29 Thread Michael Fischer


New submission from Michael Fischer :

In section "7.1.3.1. Format Specification Mini-Language" of the documentation 
(https://docs.python.org/2/library/string.html) both %f and %F are labelled 
"Fixed point". This is confusing for someone who a) transitions over from C or 
variants or b) knows the difference between fixed and floating point numbers. 

I suggest either changing the "Fixed" to "Floating" or explaining what is meant 
by "Fixed Point" (because I'm sure there's a reason why someone has named it 
like that in the first place).

--
assignee: docs@python
components: Documentation
messages: 322644
nosy: MikeFoxtrot, docs@python
priority: normal
severity: normal
status: open
title: %f is confusingly associated with fixed point format
type: enhancement

___
Python tracker 

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



[issue34274] Python launcher behavior with /usr/bin/env python shebang

2018-07-29 Thread Segev Finer


Change by Segev Finer :


--
components: Windows
nosy: Segev Finer, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Python launcher behavior with /usr/bin/env python shebang
type: behavior
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



[issue34274] Python launcher behavior with "#!/usr/bin/env python" shebang

2018-07-29 Thread Segev Finer


New submission from Segev Finer :

When using the common "#!/usr/bin/env python" shebang, recent versions of the 
Python launcher will search the PATH for "python" as specified in the shebang.

But Python on Windows installs as python.exe for all versions, both 2 and 3. So 
in a PC where Python 3 is first on PATH, this shebang will choose Python 3. 
That's in contrast to any other shebang like "#!python" or "#!/usr/bin/python" 
which will prefer Python 2.

That's rather subtle and confusing...

To the best of my knowledge most Linux distros still install Python 2 as python 
and Python 3 as python3 (I think that's in the Makefile too). But of course 
there might also be distros that install python3 as python.

--
title: Python launcher behavior with /usr/bin/env python shebang -> Python 
launcher behavior with "#!/usr/bin/env python" shebang

___
Python tracker 

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



[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-07-29 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

On idledev thread "Mac IDLE 3.7.0 freezes when accessing Preferences", Walter 
Schnyder reported something similar.  Combining two posts:

"using python.org Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 26 2018, 23:26:24) 
[Clang 6.0 (clang-600.0.57)] on darwin [64-bit] and came across these [new] 
bugs on several Macs, all running OS X v 10.13.5.
[Has run IDLE before, back to 3.4.]

Bug A: 
1. From the shell select Preferences in the IDLE menu.
2. Cancel the Preferences to get back to the Shell
3. The shell is frozen. It doesn’t even react to CONTROL-D.

The only way I found to resurrect it is to control-click the shell window and 
select “Go to file/line” causing an error message to appear. Click OK and the 
shell comes back to life.

Note: This doesn’t only happen when accessing preferences. It also happens when 
selecting “About IDLE” in the IDLE menu."

After starting with 'python3 -m idlelib' 

"The same problems occur. There is no error in the terminal window.
But I learned something new: after running the steps for bug A, IDLE is frozen 
(no blinking cursor, not responding to Control+D. However, if I bring another 
application’s window to the front (by clicking on it) then click back on IDLE’s 
window, this resurrects IDLE, the cursor blinks and Control+D quits."

test_idle passes.  When running 'python3 -m idlelib.configdialog' or 
'idlelib.help_about', which run a human-viewed test, there is no problem when 
closing either dialog.

Vlad, if I understand your post, you *do* see the problem with 3.5? With the 
python.org installer and tk 8.5? As far as I know, no one has had a problem 
with this.  Or only with a private compile with tk 8.6?

This is important because 3.5 IDLE has not been touched since about 18 months, 
and if there is only a problem when using tk 8.6, then I have to suspect that 
this and other new problems are result of tk 8.6 on Mac or tkinter needing a 
patch to support it.

--
components: +macOS
nosy: +ned.deily, rhettinger, ronaldoussoren, taleinat, walters
stage:  -> needs patch
title: IDLE Caret/Focus Lost -> IDLE: Freeze when closing Settings (& About) 
dialog on MacOS
versions: +Python 3.8

___
Python tracker 

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



[issue34275] IDLE: no calltips on MacOS with tk 8.6

2018-07-29 Thread Terry J. Reedy


New submission from Terry J. Reedy :

In #34055, Raymond said "tool tips no longer display on the newest mac builds". 
 On idledev, Walter S reported the same using 64-bit python.org "Python 3.7.0 
(v3.7.0:1bf9cc5093, Jun 26 2018, 23:26:24) [Clang 6.0 (clang-600.0.57)] on 
darwin" on multiple machines with 10.13.5.  He also verified that the htest 
part of 'python3 -m idlelib.calltip_w' fails (no calltip appears when typing 
'('.

I have doubts that this is a new problem with IDLE.  calltip.py was not touched 
for 3.7.0.  calltip_w.py was only touched to change return None to return 
'break' where appropriate.

This is one of 3 new Mac-specific failures reported after the release of 3.7.0. 
 The others are #34047, scrolling problems, and #34120, freeze on some dialog 
closings.  I have to suspect that the problem is with tkinter (_tkinter) and 
the new tcl/tk 8.6.8.

How to debug (help appreciated with any of these):
1. Run the 3.6.6 32/64 bit binary, compiled against tk 8.5 instead of 8.6, and 
see if the same problems occur.  Any problems that do are not 8.6 specific.
2. Find minimal failing cases with as little IDLE-specific code as possible.
3. Trace execution of the IDLE code with prints or debugger to find the point 
of failure.  For this issue, I would start with adding print calls in the 
function that creates the tip window.

--
assignee: terry.reedy
components: IDLE, macOS
messages: 322647
nosy: ned.deily, rhettinger, ronaldoussoren, taleinat, terry.reedy, walters
priority: normal
severity: normal
stage: needs patch
status: open
title: IDLE: no calltips on MacOS with tk 8.6
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue34272] Reorganize C API tests

2018-07-29 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

It seems to me that this will make the individual objects and modules harder to 
maintain.  I expect to find all the tests for an object in a file called 
test_thatobject.py.  This patch violates that expectation and separates things 
that belong together.

--
nosy: +rhettinger

___
Python tracker 

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



[issue34258] Python shell keeps restarting

2018-07-29 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

In IDLE, Run Module, F5, is a shortcut, in a sense, for saving the file to 
filename, switching to a terminal or console window, such as Command Prompt on 
Windows, and entering 'python -i filename'.  The -i means 'switch it 
interactive mode after running the file'.  When you are done, and close the 
window, you can switch back to the editor.

The IDLE Shell more-or-less simulates Python's interactive mode.  When you hit 
F5, a separator line is added, like 
=== RESTART: F:\Python\a\tem.py =
to indicate that Shell reinitialized itself and is now running your program.  
This is completely normal and intended.  When your program finishes, Shell will 
display '>>> '.

Please try to read the IDLE doc, which is available on the Help menu as 'IDLE 
Help'.  You can ask about using Python and IDLE on python-list.   Always 
mention the Python version and operating system you are using.

You program has a bug.  In the 'else' section, it tries to print q1 without q1 
being defined.

If a program has a severe bug that caused the Python executing your code to 
crash, Shell will restart with a line that does not have a filename, like
 RESTART 
This is hard to bring about and is also not an IDLE bug.

--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type:  -> behavior

___
Python tracker 

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



[issue1467929] %-formatting and dicts

2018-07-29 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

[Eric V. Smith]
>  But the issue is 12 years old and doesn't cause any real problems 
> as far as I can see, so it's hard to get excited about it. 
> And as we've seen there are a lot of corner cases. I'd hate to 
> make things worse.

I ooncur with Eric and think this ought to be closed. It is a oddity but has 
proven itself to be harmless in the wild.  At this point in the life cycle of 
%-formatting it would be prudent to value stability over niggling behavior 
changes.

--
nosy: +rhettinger

___
Python tracker 

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



[issue33089] Add multi-dimensional Euclidean distance function to the math module

2018-07-29 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

I really don't want to introduce something slower than O(n) behavior here, 
particularly because some of my use cases have a large n and because this will 
be called many times.  Tim has already opined the even using a variant of Kahan 
summation would increase the cost unacceptably. IMO, sorting is even worse and 
would be a foolish thing to do.

--

___
Python tracker 

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



[issue34276] urllib.parse doesn't round-trip file URI's with multiple leading slashes

2018-07-29 Thread Chris Jerdonek


New submission from Chris Jerdonek :

urllib.parse doesn't seem to round-trip file URI's containing multiple leading 
slashes.  For example, this--

import urllib.parse

def round_trip(url):
parsed = urllib.parse.urlsplit(url)
new_url = urllib.parse.urlunsplit(parsed)
print(f'{url} [{parsed}]\n{new_url}')
print('ROUNDTRIP: {}\n'.format(url == new_url))

for i in range(4):
round_trip('file://{}root/a'.format(i * '/'))

results in--

file://root/a [SplitResult(scheme='file', netloc='root', path='/a', 
query='', fragment='')]
file://root/a
ROUNDTRIP: True

file:///root/a [SplitResult(scheme='file', netloc='', path='/root/a', 
query='', fragment='')]
file:///root/a
ROUNDTRIP: True

file:root/a [SplitResult(scheme='file', netloc='', path='//root/a', 
query='', fragment='')]
file://root/a
ROUNDTRIP: False

file:/root/a [SplitResult(scheme='file', netloc='', path='///root/a', 
query='', fragment='')]
file:///root/a
ROUNDTRIP: False

URI's of the form file:// occur, for example, when one 
wants to git-clone a UNC path on Windows:
https://stackoverflow.com/a/2520121/262819

Here is where CPython defines urlunsplit():
https://github.com/python/cpython/blob/4e11c461ed39085b8495a35c9367b46d8a0d306d/Lib/urllib/parse.py#L465-L482
(The '//' special-casing seems to occur in this line here:
https://github.com/python/cpython/blob/4e11c461ed39085b8495a35c9367b46d8a0d306d/Lib/urllib/parse.py#L473
 )
 
And here is where the round-tripping is tested:
https://github.com/python/cpython/blob/4e11c461ed39085b8495a35c9367b46d8a0d306d/Lib/test/test_urlparse.py#L156
(Three initial leading slashes is tested, but not the problem case of four or 
more.)

--
components: Library (Lib)
messages: 322652
nosy: chris.jerdonek
priority: normal
severity: normal
status: open
title: urllib.parse doesn't round-trip file URI's with multiple leading slashes
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue32947] Support OpenSSL 1.1.1

2018-07-29 Thread Chih-Hsuan Yen


Change by Chih-Hsuan Yen :


--
nosy: +yan12125

___
Python tracker 

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



[issue34277] EmailPolicy not followed

2018-07-29 Thread Bryce Drennan


New submission from Bryce Drennan :

Starting in 3.6.4, the header flattening ignores the EmailyPolicy.utf8 
attribute if a header is longer than maxlen.  I believe this was introduced in 
https://github.com/python/cpython/pull/4693.  Specifically this part: 
https://github.com/miss-islington/cpython/blob/8085ac188785ad0301760869a08b83c2945257a4/Lib/email/_header_value_parser.py#L2668-L2673

This causes problems as the dkim-signature header of parsed email messages gets 
mangled when they are flattened.

It should look like this:

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; 
t=1532918961; bh=AwLeVe/FpXHJ9+VNy8QKwz2N5wuNF5ZkyXE3tLVBrFY=; 
h=Date:From:Reply-To:To:Subject:References:From:Subject; 
b=rSWZ7vyWIZqflUJS9ysVQvDxeoMxepEqPr/EoVkqpilCP1ryvci6/jCsFe75M2Jr5NJjzg6yJ6Xew8rpq8SMnZeNhTMmCK8jy\r\n
 
WwSamcZ14t0LUZEt30+9Ump0KbPq+WRQK2rM9NnBVhE6pyvANfgsKMqgXlYzAmHk7P8cZ7ztJMSrtOeOr3u5RRNwvYJ+OYHZSFHiQZrPopNDKovVBcAc+6yVBI3YsI1qsgDmoQ/F5NszOLsBit2IkcvWr7z
 [...]

but instead gets output like this:

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; 
s=s2048;\r\n t=1532918961; bh=AwLeVe/FpXHJ9+VNy8QKwz2N5wuNF5ZkyXE3tLVBrFY=;\r\n 
h=Date:From:Reply-To:To:Subject:References:From:Subject; 
=?utf-8?q?b=3DrSWZ?=\r\n 
=?utf-8?q?7vyWIZqflUJS9ysVQvDxeoMxepEqPr/EoVkqpilCP1ryvci6/jCsFe75M2Jr5NJjz?=\r\n
 =?utf-8?q?g6yJ6Xew8rpq8SMnZeN [...]

Attached is a test that passes in 3.6.3 and fails in 3.6.4.

--
components: email
files: test_header_folding.py
messages: 322653
nosy: barry, bryced, r.david.murray
priority: normal
severity: normal
status: open
title: EmailPolicy not followed
versions: Python 3.6, Python 3.7
Added file: https://bugs.python.org/file47720/test_header_folding.py

___
Python tracker 

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



[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-07-29 Thread Vlad Tudorache

Vlad Tudorache  added the comment:

I’m sorry for not being clear. This problem appears with Tk 8.6, even in
Python 3.5 (compiled by me).
I’ve succeeded to reproduce only once the @autorelease pool error (it
appeared after several open/close of the preferences or about window). Did
anyone else see it?

Le lun. 30 juil. 2018 à 02:51, Terry J. Reedy  a
écrit :

>
> Terry J. Reedy  added the comment:
>
> On idledev thread "Mac IDLE 3.7.0 freezes when accessing Preferences",
> Walter Schnyder reported something similar.  Combining two posts:
>
> "using python.org Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 26 2018, 23:26:24)
> [Clang 6.0 (clang-600.0.57)] on darwin [64-bit] and came across these [new]
> bugs on several Macs, all running OS X v 10.13.5.
> [Has run IDLE before, back to 3.4.]
>
> Bug A:
> 1. From the shell select Preferences in the IDLE menu.
> 2. Cancel the Preferences to get back to the Shell
> 3. The shell is frozen. It doesn’t even react to CONTROL-D.
>
> The only way I found to resurrect it is to control-click the shell window
> and select “Go to file/line” causing an error message to appear. Click OK
> and the shell comes back to life.
>
> Note: This doesn’t only happen when accessing preferences. It also happens
> when selecting “About IDLE” in the IDLE menu."
>
> After starting with 'python3 -m idlelib'
>
> "The same problems occur. There is no error in the terminal window.
> But I learned something new: after running the steps for bug A, IDLE is
> frozen (no blinking cursor, not responding to Control+D. However, if I
> bring another application’s window to the front (by clicking on it) then
> click back on IDLE’s window, this resurrects IDLE, the cursor blinks and
> Control+D quits."
>
> test_idle passes.  When running 'python3 -m idlelib.configdialog' or
> 'idlelib.help_about', which run a human-viewed test, there is no problem
> when closing either dialog.
>
> Vlad, if I understand your post, you *do* see the problem with 3.5? With
> the python.org installer and tk 8.5? As far as I know, no one has had a
> problem with this.  Or only with a private compile with tk 8.6?
>
> This is important because 3.5 IDLE has not been touched since about 18
> months, and if there is only a problem when using tk 8.6, then I have to
> suspect that this and other new problems are result of tk 8.6 on Mac or
> tkinter needing a patch to support it.
>
> --
> components: +macOS
> nosy: +ned.deily, rhettinger, ronaldoussoren, taleinat, walters
> stage:  -> needs patch
> title: IDLE Caret/Focus Lost -> IDLE: Freeze when closing Settings (&
> About) dialog on MacOS
> versions: +Python 3.8
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

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



[issue34217] windows: cross compilation fails due to headers with uppercase

2018-07-29 Thread miss-islington


Change by miss-islington :


--
pull_requests: +8074

___
Python tracker 

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



[issue1467929] %-formatting and dicts

2018-07-29 Thread Eric V. Smith


Change by Eric V. Smith :


--
resolution:  -> wont fix
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



[issue34217] windows: cross compilation fails due to headers with uppercase

2018-07-29 Thread miss-islington


miss-islington  added the comment:


New changeset 6c89a9a4c7d1804e16038f9ee3a0b2efaa4bdee6 by Miss Islington (bot) 
in branch '3.7':
bpo-34217: Use lowercase header for Windows (GH-8453)
https://github.com/python/cpython/commit/6c89a9a4c7d1804e16038f9ee3a0b2efaa4bdee6


--
nosy: +miss-islington

___
Python tracker 

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



[issue34276] urllib.parse doesn't round-trip file URI's with multiple leading slashes

2018-07-29 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +xtreak

___
Python tracker 

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



[issue33089] Add multi-dimensional Euclidean distance function to the math module

2018-07-29 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
pull_requests: +8075

___
Python tracker 

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



[issue34272] Reorganize C API tests

2018-07-29 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Not all C API tests are related to specific type or module. What about moving 
just test_capi.py, test_getargs2.py and test_structmembers.py?

--

___
Python tracker 

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