[issue2920] Patch to print symbolic value or errno in EnvironmentError.__str__()

2019-07-27 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +14755 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14988 ___ Python tracker ___

[issue36044] PROFILE_TASK for PGO build is not a good workload

2019-07-27 Thread Inada Naoki
Inada Naoki added the comment: @steve.dower Does the PGO have significant benefit for those modules? -- ___ Python tracker ___ ___

[issue37695] Incorrect error message for `unget_wch(bytes_object)`

2019-07-27 Thread Anthony Sottile
Change by Anthony Sottile : -- keywords: +patch pull_requests: +14754 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14986 ___ Python tracker ___

[issue37695] Incorrect error message for `unget_wch(bytes_object)`

2019-07-27 Thread Anthony Sottile
New submission from Anthony Sottile : For example: curses.unget_wch(b'x') TypeError: expect bytes or str of length 1, or int, got bytes -- components: Extension Modules messages: 348570 nosy: Anthony Sottile priority: normal severity: normal status: open title: Incorrect error

[issue36044] PROFILE_TASK for PGO build is not a good workload

2019-07-27 Thread Steve Dower
Steve Dower added the comment: I also added test_bz2 and test_lzma into the PGO profile, as the extension modules for those on Windows were barely being covered (they get imported, apparently, but that seems to be it). -- ___ Python tracker

[issue36044] PROFILE_TASK for PGO build is not a good workload

2019-07-27 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +14753 pull_request: https://github.com/python/cpython/pull/14985 ___ Python tracker ___

[issue37693] Tkinter: File names are hidden in "Open" menu (Linux)

2019-07-27 Thread Kyle Stanley
Kyle Stanley added the comment: > gpolo should be removed or marked inactive as he has not responded in several > years. Oh okay, good to know. I'm currently working on an issue to add github usernames to the experts list, so I'll see if I can mark him as inactive as well. > Are all Linux

[issue37694] Crash when calling zipimport.zipimporter.__new__().()

2019-07-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37692] IDLE: clarify shell part of highlight sample

2019-07-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +14752 pull_request: https://github.com/python/cpython/pull/14983 ___ Python tracker ___

[issue37692] IDLE: clarify shell part of highlight sample

2019-07-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -14752 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37693] Tkinter: File names are hidden in "Open" menu (Linux)

2019-07-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -14750 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37693] Tkinter: File names are hidden in "Open" menu (Linux)

2019-07-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: gpolo should be removed or marked inactive as he has not responded in several years. I'm closing for now. Serhiy can say something if he wants, but has other issues to attend to. Running from IDLE, the dialog opened in idlelib. codecontext.py was a

[issue37692] IDLE: clarify shell part of highlight sample

2019-07-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +14752 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14983 ___ Python tracker ___

[issue37691] Let math.dist() accept coordinates as sequences

2019-07-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 76821bab9cb77fa7f847e66f8b2309ca30546c7f by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-37691: Let math.dist() accept sequences and iterables for coordinates (GH-14975) (GH-14984)

[issue37691] Let math.dist() accept coordinates as sequences

2019-07-27 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37691] Let math.dist() accept coordinates as sequences

2019-07-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +14751 pull_request: https://github.com/python/cpython/pull/14984 ___ Python tracker ___

[issue37691] Let math.dist() accept coordinates as sequences

2019-07-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 6b5f1b496f0b20144592b640b9c975df43a29eb0 by Raymond Hettinger in branch 'master': bpo-37691: Let math.dist() accept sequences and iterables for coordinates (GH-14975)

[issue37693] Tkinter: File names are hidden in "Open" menu (Linux)

2019-07-27 Thread Kyle Stanley
Change by Kyle Stanley : -- nosy: +gpolo title: IDLE/Tkinter: File names are hidden in "Open" menu (Linux) -> Tkinter: File names are hidden in "Open" menu (Linux) ___ Python tracker

[issue37693] IDLE/Tkinter: File names are hidden in "Open" menu (Linux)

2019-07-27 Thread Kyle Stanley
Kyle Stanley added the comment: > What is a 'DE'? DE stands for Desktop Environment, usually they come with a number of packages (mainly GUI) such as window managers, login managers, toolbars, theming, etc. Some of the popular ones include Gnome, Plasma, Mate and LXDE. Usually anything

[issue37694] Crash when calling zipimport.zipimporter.__new__().()

2019-07-27 Thread Alexandre Hamelin
New submission from Alexandre Hamelin : Found a crash with zipimport.zipimporter. Might or might not be related to Issue31723 which I've found searching the issues afterwards. import zipimport zipimport.zipimporter.__new__(zipimport.zipimporter).find_module('') Python 2.7 and 3.6.

[issue37693] IDLE/Tkinter: File names are hidden in "Open" menu (Linux)

2019-07-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +14750 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14983 ___ Python tracker ___

[issue37693] IDLE/Tkinter: File names are hidden in "Open" menu (Linux)

2019-07-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is definitely not an IDLE issue. To open files, IDLE calls tkinter.filedialog.Open(parent, filetypes).show(initial_dir, initial_file). Open is a subclass of filedialog._Dialog(commondialog.Dialog). It sets command = "tk_getOpenFile". Dialog.show

[issue37628] IDLE: Fix Font sample (config dialog) geometry

2019-07-27 Thread Kyle Stanley
Kyle Stanley added the comment: Correction: By "scroll the list of fonts" I meant that I went through all of them by holding the down arrow from the top of the list (Adobe Courier - Z003), scrolling through the list wouldn't accomplish anything. I did that starting with a font size 40 and a

[issue37628] IDLE: Fix Font sample (config dialog) geometry

2019-07-27 Thread Kyle Stanley
Kyle Stanley added the comment: After PR-14958 was merged, I tested the latest development version of CPython on Arch Linux 5.2.3 and I can confirm that the "Settings" window no longer scales past the edge of the screen. Instead, the window size remains fixed and the scroll area dynamically

[issue37693] IDLE: File names are hidden in "Open" menu (Linux)

2019-07-27 Thread Kyle Stanley
Change by Kyle Stanley : -- assignee: -> terry.reedy components: +IDLE nosy: +taleinat, terry.reedy ___ Python tracker ___ ___

[issue37693] IDLE: File names are hidden in "Open" menu (Linux)

2019-07-27 Thread Kyle Stanley
Kyle Stanley added the comment: Corrections: "I can't what practical" => "I can't imagine what practical..." (PS: Definitely looking forward to the full move from bpo to github. Being able to copy-paste temporary image files and edit comments is quite convenient.) --

[issue33439] python-config.py should be part of the stdlib

2019-07-27 Thread hai shi
hai shi added the comment: En, looks like just only makefile would call python-config.py. IMHO, if no out user call this script, looks it move to stdlib would be better. -- nosy: +shihai1991 ___ Python tracker

[issue37693] IDLE: File names are hidden in "Open" menu (Linux)

2019-07-27 Thread Kyle Stanley
Kyle Stanley added the comment: Since the names are still there in the screenshots but slightly grayed out, it may have to do with my local font settings. If so, an easy solution to this would be using an override for the IDLE instead of relying the local themes. I can't what practical

[issue37496] Support annotations in signature strings.

2019-07-27 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: > You might want to look into how PEP 563 is implemented, it has a utility to > turn an AST back into a string (I assume this is what you want). Thanks for your suggestion @levkivskyi. I took a look at https://github.com/python/cpython/pull/4390, that

[issue37693] IDLE: File names are hidden in "Open" menu (Linux)

2019-07-27 Thread Kyle Stanley
Kyle Stanley added the comment: Was unable to attach both files to the first comment, here's the second one of the "Open" menu after clicking a few icons. -- Added file: https://bugs.python.org/file48510/bpo-idle-open-menu-1.png ___ Python tracker

[issue37693] IDLE: File names are hidden in "Open" menu (Linux)

2019-07-27 Thread Kyle Stanley
New submission from Kyle Stanley : In the most recent development version of Python 3.9, when opening the file selection menu through File > Open (or Ctrl-o) in the IDLE, the file names are hidden. Clicking once on each of the icons or the areas in front of them can make the names visible

[issue37689] Add Path.is_relative_to()

2019-07-27 Thread hai shi
hai shi added the comment: Hi, Antoine, pls review this PR if you have free time. Looks is_relative_to only catch valueError is good enough. -- ___ Python tracker ___

[issue37689] Add Path.is_relative_to()

2019-07-27 Thread hai shi
Change by hai shi : -- keywords: +patch pull_requests: +14749 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14982 ___ Python tracker

[issue37685] Fix equality checks for some types

2019-07-27 Thread Kyle Stanley
Kyle Stanley added the comment: > Serhiy: Is there a reason not to use the functools.total_ordering decorator > on TimerHandle, so you can get rid of __le__/__ge__/__gt__ rather than fixing > them > individually? I strongly agree with this suggestion, unless there's some unique behavior

[issue37628] IDLE: Fix Font sample (config dialog) geometry

2019-07-27 Thread miss-islington
miss-islington added the comment: New changeset 171019354aa2c717af2e7b2c90aec7b9724f7282 by Miss Islington (bot) in branch '3.8': bpo-37628: Fix IDLE config sample sizes (GH-14958) https://github.com/python/cpython/commit/171019354aa2c717af2e7b2c90aec7b9724f7282 --

[issue37628] IDLE: Fix Font sample (config dialog) geometry

2019-07-27 Thread miss-islington
miss-islington added the comment: New changeset 0242eb3fa7818eb078c0915a4b844c5a2070b810 by Miss Islington (bot) in branch '3.7': bpo-37628: Fix IDLE config sample sizes (GH-14958) https://github.com/python/cpython/commit/0242eb3fa7818eb078c0915a4b844c5a2070b810 -- nosy:

[issue37628] IDLE: Fix Font sample (config dialog) geometry

2019-07-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +14748 pull_request: https://github.com/python/cpython/pull/14981 ___ Python tracker ___

[issue37628] IDLE: Fix Font sample (config dialog) geometry

2019-07-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +14747 pull_request: https://github.com/python/cpython/pull/14980 ___ Python tracker ___

[issue37628] IDLE: Fix Font sample (config dialog) geometry

2019-07-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 3221a63c69268a9362802371a616f49d522a5c4f by Terry Jan Reedy (Tal Einat) in branch 'master': bpo-37628: Fix IDLE config sample sizes (#14958) https://github.com/python/cpython/commit/3221a63c69268a9362802371a616f49d522a5c4f --

[issue37692] IDLE: clarify shell part of highlight sample

2019-07-27 Thread Terry J. Reedy
New submission from Terry J. Reedy : The 'console' highlight is described as Shell Normal Text. It is the 'normal' text for non-error output *from the shell* (prompt and debug status), but not the 'normal' text, which is used for code. Aside from this, the editor section uses examples

[issue36044] PROFILE_TASK for PGO build is not a good workload

2019-07-27 Thread Steve Dower
Steve Dower added the comment: I just ran this on Windows and noticed that there is no data for _msi.pyd, winsound.pyd or _sqlite3.pyd. The first two don't matter - we should just suppress PGO on those projects to avoid the warnings (add a false property). That's a note to myself, unless

[issue33439] python-config.py should be part of the stdlib

2019-07-27 Thread Matthias Klose
Matthias Klose added the comment: what are the situations where the path for python and python-config is different? This proposal doesn't say anything how to retrieve the correct information for cross builds using this module. From my point of view, python-config should stay outside the

[issue15987] Provide a way to compare AST nodes for equality recursively

2019-07-27 Thread Philip Dye
Philip Dye added the comment: If consensus has been reached on this, I am willing to do the work. -- nosy: +Philip Dye ___ Python tracker ___

[issue36692] Unexpected stderr output from test_sys_settrace

2019-07-27 Thread Philip Dye
Philip Dye added the comment: Once consensus is reached, I would be happy to do the work. -- nosy: +Philip Dye ___ Python tracker ___

[issue37664] Update bundled pip and setuptools

2019-07-27 Thread Kubilay Kocak
Change by Kubilay Kocak : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29636] Specifying indent in the json.tool command

2019-07-27 Thread Flavian Hautbois
Flavian Hautbois added the comment: So what do we do about this? Two possibilities: 1. We merge PR 9765 and close PRs 345 and 201, as 9765 seems more straighforward and was already approved. 9765 should be resubmitted to be merged since the base repo does not exist anymore, I could do

[issue30193] Support the buffer protocol in json.loads()

2019-07-27 Thread Flavian Hautbois
Change by Flavian Hautbois : -- keywords: +patch pull_requests: +14746 pull_request: https://github.com/python/cpython/pull/14977 ___ Python tracker ___

[issue29553] Argparser does not display closing parentheses in nested mutex groups

2019-07-27 Thread Flavian Hautbois
Change by Flavian Hautbois : -- keywords: +patch pull_requests: +14745 pull_request: https://github.com/python/cpython/pull/14976 ___ Python tracker ___