[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 

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



[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 

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



[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 that.
2. We consider that this is out of scope for Python, and since jq is widely 
used, it does not make a lot of sense to include it. We should then close all 
PRs to keep our pull requests clean

I suggest going with 2

--
nosy: +flavianhautbois

___
Python tracker 

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



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

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



[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 

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



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

--

___
Python tracker 

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



[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 someone else gets there first.

However, I think we should get coverage of the sqlite3 module, so it may be 
worth adding its tests into this set. I'm not sure if they're great coverage, 
but it'll be better than nothing.

--

___
Python tracker 

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



[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 rather than description, such 
as 'list' rather than 'builtin'.  I think the shell section should also:  
"Traceback" instead of stderr (which beginners may or may not understand), 
'program output' instead of 'stdout'.  Removing the two blank line will make 
room to put these on separate lines, like they actually are.

--
assignee: terry.reedy
components: IDLE
messages: 348548
nosy: terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: clarify shell part of highlight sample
type: behavior
versions: Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

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



[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 

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



[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


--

___
Python tracker 

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



[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 

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



[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: +miss-islington

___
Python tracker 

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



[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


--

___
Python tracker 

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



[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 with 
TimerHandle objects which would prevent this from being viable. IMO, the 
@total_ordering decorator should be used as much as practically possible. 
Individually specifying all of the rich comparisons when we don't have to adds 
a significant maintenance cost.

--
nosy: +aeros167

___
Python tracker 

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



[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 

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



[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 

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



[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 again, but this can be quite cumbersome to users. I'm 
not certain if this issue is specific to KWin (window manager, component of the 
Plasma DE), but I've never ran into this problem when using any other 
applications. 

If it would be helpful, I can attempt to see if this issue occurs when using 
other window managers.  I attached two screenshots below, the first one is the 
initial view of "Open" menu and the second one is what it looks like after 
clicking once on a few of the icons.

Tested on...
OS: Arch Linux 5.2.3
DE: Plasma
WM: KWin

--
files: bpo-idle-open-menu-0.png
messages: 348554
nosy: aeros167
priority: normal
severity: normal
status: open
title: IDLE: File names are hidden in "Open" menu (Linux)
versions: Python 3.9
Added file: https://bugs.python.org/file48509/bpo-idle-open-menu-0.png

___
Python tracker 

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



[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 

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



[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 implements 
PEP 563.

In that PR `ast_unparse.c` has been introduced, that is

> a close translation of the relevant parts of `Tools/unparse.py`

Source: https://github.com/python/cpython/pull/4390#issuecomment-346554817

I have a couple of questions about how to use `ast_unparse.c`'s 
`expr_as_unicode` function:

1. Should I create a new function in the `ast` module that exposes that C 
function in Python in order to use it in `Lib/inspect.py`?
2. Would it be better to just re-use the _AST to string_ implementation in 
`Tools/unparse.py`?

On a side note: would it make sense to reconcile the two "unparse AST" 
implementations?

> +1 on using a string for Parameter.annotation and Signature.return_annotation.

Thanks for your comment @eric.snow.

>From what I saw in the test I've written, right now `Parameter.annotation` and 
>`Signature.return_annotation` return Python type classes.

At the beginning, in order to keep `Parameter.annotation`'s return type 
consistent with the current implementation, I tried to evaluate the 
annotation's "unparse AST" string output, but I was getting errors evaluating 
type aliases and refined types.

Returning strings would make `parse_name`'s implementation easier, but I'm 
wondering if would be backward compatible.

--

___
Python tracker 

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



[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 purpose it would provide to have the icon names grayed 
out, and then darkened after clicking on them once. If anything, the default 
coloring upon opening the window should probably be the darker color changed to 
after the icon is clicked.

--

___
Python tracker 

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



[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 

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



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

--

___
Python tracker 

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



[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 

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



[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 changes to allow for preview of the enlarged font 
sample. To make sure it worked for all of the fonts, I scrolled the list of 
font faces with a size setting of 40 (as well as some other sizes, but not 
every possible combination). The window size remained the same and the "Font 
Sample" preview scaled dynamically with the scrollbar in every instance. 

This recent round of recent updates to the IDLE have added some fantastic QoL 
changes, nicely done taleinat and terry!

--
nosy: +aeros167

___
Python tracker 

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



[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 few other ones.

--

___
Python tracker 

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



[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 calls the command with root.tk.call after 
fixing passed in options.  It then fixes the result and returns it.  I believe 
this command calls the native file dialog.  Since tkinter's option processing, 
converting python object to strings suitable for tk.call, is OS independent, I 
presume the problem is in tk_getOpenFile.  I suspect tcl/tk developers have 
trouble keeping up with the parade linuxes and window managers.  (What is a 
'DE?)

If so, this should be closed as 3rd party.  If you want to test first, bypass 
IDLE and most of tkinter with the following, run directly in Python.

>>> import tkinter as tk
>>> r = tk.Tk()
>>> r.tk.call("tk_getOpenFile")  # select codecontext.py, hit 'Open'
'C:/Programs/Python38/Lib/idlelib/codecontext.py'
>>> r.tk.call("tk_getOpenFile")  # hit 'Cancel'
''

--
assignee: terry.reedy -> 
components: +Tkinter -IDLE
nosy: +serhiy.storchaka
title: IDLE: File names are hidden in "Open" menu (Linux) -> IDLE/Tkinter: File 
names are hidden in "Open" menu (Linux)

___
Python tracker 

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



[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 

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



[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. Seems to be 'fixed' in 3.7+ (Linux, x86-64); reports that 
__init__ hasn't been called yet.

Found during manual testing in a break-the-python-jail CTF-like challenge.

Backtrace for Python 2.7
Python 2.7.15 (default, Oct 10 2018, 09:10:43)
[GCC 6.4.0] on linux2

$ gdb -q python2
Reading symbols from python2...(no debugging symbols found)...done.
(gdb) run zipcrash.py
Starting program: /usr/bin/python2 zipcrash.py
process 11106 is executing new program: /usr/bin/python2.7
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x77a86695 in PyString_AsString () from /usr/lib64/libpython2.7.so.1.0
(gdb) bt
#0  0x77a86695 in PyString_AsString () from 
/usr/lib64/libpython2.7.so.1.0
#1  0x77b20269 in ?? () from /usr/lib64/libpython2.7.so.1.0
#2  0x77b20400 in ?? () from /usr/lib64/libpython2.7.so.1.0
#3  0x77adb3e7 in PyEval_EvalFrameEx () from 
/usr/lib64/libpython2.7.so.1.0
#4  0x77adca6c in PyEval_EvalCodeEx () from 
/usr/lib64/libpython2.7.so.1.0
#5  0x77adcb59 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0
#6  0x77af60df in ?? () from /usr/lib64/libpython2.7.so.1.0
#7  0x77af7322 in PyRun_FileExFlags () from 
/usr/lib64/libpython2.7.so.1.0
#8  0x77af8535 in PyRun_SimpleFileExFlags () from 
/usr/lib64/libpython2.7.so.1.0
#9  0x77b0a537 in Py_Main () from /usr/lib64/libpython2.7.so.1.0
#10 0x774281db in __libc_start_main () from /lib64/libc.so.6
#11 0x47ca in _start ()
(gdb)


Backtrace for Python 3.6
Python 3.6.5 (default, Jul 16 2018, 11:40:44)
[GCC 6.4.0] on linux

$ gdb -q python3
Reading symbols from python3...(no debugging symbols found)...done.
(gdb) run zipcrash.py
Starting program: /usr/bin/python3 zipcrash.py
process 11149 is executing new program: /usr/bin/python3.6m
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x77aa5eea in ?? () from /usr/lib64/libpython3.6m.so.1.0
(gdb) bt
#0  0x77aa5eea in ?? () from /usr/lib64/libpython3.6m.so.1.0
#1  0x77aa6a92 in ?? () from /usr/lib64/libpython3.6m.so.1.0
#2  0x77aa6c9c in ?? () from /usr/lib64/libpython3.6m.so.1.0
#3  0x77aa6f49 in ?? () from /usr/lib64/libpython3.6m.so.1.0
#4  0x779a8d49 in _PyCFunction_FastCallDict () from 
/usr/lib64/libpython3.6m.so.1.0
#5  0x77a1d0d5 in ?? () from /usr/lib64/libpython3.6m.so.1.0
#6  0x77a20dea in _PyEval_EvalFrameDefault () from 
/usr/lib64/libpython3.6m.so.1.0
#7  0x77a1cc3c in ?? () from /usr/lib64/libpython3.6m.so.1.0
#8  0x77a1d1ce in PyEval_EvalCodeEx () from 
/usr/lib64/libpython3.6m.so.1.0
#9  0x77a1d1fb in PyEval_EvalCode () from 
/usr/lib64/libpython3.6m.so.1.0
#10 0x77a478b4 in ?? () from /usr/lib64/libpython3.6m.so.1.0
#11 0x77a49f35 in PyRun_FileExFlags () from 
/usr/lib64/libpython3.6m.so.1.0
#12 0x77a4a0a5 in PyRun_SimpleFileExFlags () from 
/usr/lib64/libpython3.6m.so.1.0
#13 0x77a610a3 in Py_Main () from /usr/lib64/libpython3.6m.so.1.0
#14 0x4b99 in main ()
(gdb)

--
components: Extension Modules
messages: 348563
nosy: Alexandre Hamelin
priority: normal
severity: normal
status: open
title: Crash when calling zipimport.zipimporter.__new__().()
versions: Python 2.7, Python 3.5, Python 3.6

___
Python tracker 

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



[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 
related to appearance and GUI behavior is more closely tied to the DE than the 
Linux distro itself. Optionally, users can also create their own cocktail of a 
desktop environment, but in my experience that usually leads to more 
compatibility issues.

> If so, this should be closed as 3rd party.  If you want to test first, bypass 
> IDLE and most of 
> tkinter with the following, run directly in Python.

Hmm, it looks like setting the path object to codecontext.py didn't fix the 
issue, but either way, it looks like the issue is directly tied with 
tk_getOpenFile as you suspected and not the IDLE. I'm not overly familiar with 
tk in general since most of my experience with Python has not involving 
building GUIs. I'll probably spend some time messing around with tk to see if I 
can fix the issue.

Thanks for looking into it. Should I leave it open to get feedback from the 
tkinter devs since the bypass didn't fix the issue? I'll add gpolo to the nosy 
list since he's listed as a tkinter expert and remove IDLE from the title.

--

___
Python tracker 

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



[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 

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



[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)
https://github.com/python/cpython/commit/6b5f1b496f0b20144592b640b9c975df43a29eb0


--

___
Python tracker 

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



[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 

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



[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 

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



[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)
https://github.com/python/cpython/commit/76821bab9cb77fa7f847e66f8b2309ca30546c7f


--

___
Python tracker 

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



[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 

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



[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 randon 
selection to verify return of a proper filename, suitable for open().

Are all Linux DE still based on X-Windows?  Or are there divergent forks to 
contend with?  If the problem is limited to just the one, consider reporting it.

--
nosy:  -gpolo
resolution:  -> third party
stage: patch review -> 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



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

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



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 DE still based on X-Windows?  Or are there divergent forks to 
> contend with? 

The one I'm currently using (KWin) is based on X, but I believe some of the 
other ones may have diverged a bit.

--

___
Python tracker 

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



[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 

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



[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 

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



[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 message for `unget_wch(bytes_object)`
versions: Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

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



[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 

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



[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 

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



[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 

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



[issue2920] Patch to print symbolic value of errno in OSError.__str__()

2019-07-27 Thread Zackery Spytz


Change by Zackery Spytz :


--
title: Patch to print symbolic value or errno in EnvironmentError.__str__() -> 
Patch to print symbolic value of errno in OSError.__str__()
versions: +Python 3.9 -Python 3.3

___
Python tracker 

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



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

2019-07-27 Thread Tal Einat


Tal Einat  added the comment:

Terry, thanks for reviewing, helping get this fully ready, and merging.

Kyle, thanks for the kind feedback, it's truly heart-warming!

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



[issue33772] Fix few dead code paths

2019-07-27 Thread Zackery Spytz


New submission from Zackery Spytz :

PR 7418 has been merged, so I think this issue can be closed.

--
nosy: +ZackerySpytz

___
Python tracker 

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



[issue1760357] loveubyl...@gmail.com

2019-07-27 Thread Linsey Alvarez


Change by Linsey Alvarez :


--
title: ZipFile.write fails with bad modification time -> loveubyl...@gmail.com

___
Python tracker 

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



[issue1760357] loveubyl...@gmail.com

2019-07-27 Thread Linsey Alvarez


Change by Linsey Alvarez :


--
components: +email
nosy: +Linsey Alvarez, barry, r.david.murray

___
Python tracker 

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



[issue1760357] ZipFile.write fails with bad modification time

2019-07-27 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Linsey Alvarez, I am not sure how it's related to email. So I am removing the 
email tag and changing the subject back.

--
components:  -email
nosy: +xtreak
title: loveubyl...@gmail.com -> ZipFile.write fails with bad modification time

___
Python tracker 

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