[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

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

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

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

[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

[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

[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

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

[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

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

[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

[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

[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

[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

[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

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

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

[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

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

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

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

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

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

[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

[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

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

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

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

[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

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

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

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

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

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

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

[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

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

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

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

[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

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

[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

[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

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

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

[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

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

[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

[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

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

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

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

[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

[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

[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

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

[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

[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

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

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

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

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

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

[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

[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

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

[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

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

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

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

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

[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

[issue1467929] %-formatting and dicts

2018-07-29 Thread Tal Einat
Change by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1467929] %-formatting and dicts

2018-07-29 Thread Tal Einat
Tal Einat added the comment: Ah, sorry Eric, I misread that change as you assigning this to yourself. -- versions: +Python 3.8 -Python 3.2, Python 3.3 ___ Python tracker

[issue34251] MSI build fails

2018-07-29 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report! -- components: +Library (Lib) -Distutils nosy: -dstufft, eric.araujo resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 ___ Python tracker

[issue33113] Query performance is very low and can even lead to denial of service

2018-07-29 Thread Tal Einat
Tal Einat added the comment: Serhiy, that would be a good idea. A short mention of the issue with a link to an external reference would also suffice IMO. -- ___ Python tracker