[issue44627] Python terminal cmd line recall

2021-07-13 Thread jg


New submission from jg :

Command line recall in python terminal treats strings case insensitively.

Example:
Define a 'dummy' function that takes a string as input. If you run dummy twice 
with the same input string, but different cases, it only saves one.
>>> dummy("This is a test") # run this
>>> dummy("THIS IS A TEST") # run again w/ different string
Now if you try cmd recall, it only recalls the first.
I believe it should recall both.
Maybe it's treating one as a duplicate - erroneously?

--
components: Windows
messages: 397435
nosy: jggammon, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Python terminal cmd line recall
type: behavior
versions: Python 3.9

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



[issue44627] Python terminal cmd line recall

2021-07-14 Thread jg


jg  added the comment:

Thanks, I didn't know about the F7 or F8 commands.

My 'Discard Old Duplicates' was already disabled (default?).

John G. Gammon -.  ..    ..  .-..  .-  -..  --  ..  .-.  .-  .-.  ..
This message and any attachments hereto may contain confidential and/or 
privileged information. If you are not the intended recipient or authorized to 
receive this for the intended recipient, please advise the sender immediately 
by reply e-mail and delete this message; you must not use, copy, disclose or 
take any other action based on this message or any information herein. Thank 
you for your cooperation.


From: report=bugs.python@roundup.psfhosted.org 
 on behalf of Eryk Sun 

Sent: Tuesday, July 13, 2021 16:55
To: jggam...@hotmail.com 
Subject: [issue44627] Python terminal cmd line recall

Eryk Sun  added the comment:

By default, reading input from the console uses the console's built-in 
command-line editor. You can clear the console input history with Alt+F7; 
display the history list with F7; navigate in the history list with the up and 
down arrow keys, even when the list isn't displayed; recall the first and last 
entries of the list with page up and page down; and cycle through matching 
command completions with F8.

Having said that, the new implementation of the console in Windows 10 has a bug 
in the "Discard Old Duplicates" history option [1]. Try disabling this option 
in the console's "Properties" dialog, which can be accessed from the Alt+Space 
control menu.

---
[1] https://github.com/microsoft/terminal/issues/4186

--
nosy: +eryksun

___
Python tracker 
<https://bugs.python.org/issue44627>
___

--

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



[issue45397] Doc for turtle.write missing the tuple part of the font param in 3.10+

2021-10-06 Thread jg


New submission from jg :

In the version 3.10 and 3.11 python turtle doc, the turtle.write line shows 
font without it's tuple parenthesis. Something change in 3.10 that makes it 
look like font='Arial' and 8 and 'normal' are 3 separate parameters, when it 
should be one tuple parameter font=(x,y,z).

Ex. of wrong entry 
(URL=https://docs.python.org/3.11/library/turtle.html#turtle.write)
line=turtle.write(arg, move=False, align='left', font='Arial', 8, 'normal')

Ex. of correct entry 
(https://docs.python.org/3.9/library/turtle.html#turtle.write)
line=turtle.write(arg, move=False, align="left", font=("Arial", 8, "normal"))

--
assignee: docs@python
components: Documentation
messages: 403348
nosy: docs@python, jggammon
priority: normal
severity: normal
status: open
title: Doc for turtle.write missing the tuple part of the font param in 3.10+
versions: Python 3.10

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



[issue45397] Doc for turtle.write missing the tuple part of the font param in 3.10+

2021-10-07 Thread jg


jg  added the comment:

I forgot to mention I'm on Windows 10 PC and see the same thing under Edge and 
FireFox.

John G. Gammon -.  ..    ..  .-..  .-  -..  --  ..  .-.  .-  .-.  ..
This message and any attachments hereto may contain confidential and/or 
privileged information. If you are not the intended recipient or authorized to 
receive this for the intended recipient, please advise the sender immediately 
by reply e-mail and delete this message; you must not use, copy, disclose or 
take any other action based on this message or any information herein. Thank 
you for your cooperation.


From: report=bugs.python@roundup.psfhosted.org 
 on behalf of Serhiy Storchaka 

Sent: Thursday, October 7, 2021 01:47
To: jggam...@hotmail.com 
Subject: [issue45397] Doc for turtle.write missing the tuple part of the font 
param in 3.10+

Serhiy Storchaka  added the comment:

This looks like some Sphinx bug.

In Python 3.8, using Sphinx:

>>> from sphinx.pycode import ast
>>> ast.unparse(ast.parse("('Arial', 8, 'normal')", 'eval').body)
"'Arial', 8, 'normal'"

For comparison, using builtin ast module in Python 3.9:

>>> import ast
>>> ast.unparse(ast.parse("('Arial', 8, 'normal')", 'eval').body)
"('Arial', 8, 'normal')"

--
nosy: +georg.brandl, serhiy.storchaka
type:  -> behavior
versions: +Python 3.11

___
Python tracker 
<https://bugs.python.org/issue45397>
___

--

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



[issue31884] subprocess set priority on windows

2017-10-27 Thread Mr JG Kent

Change by Mr JG Kent :


--
components: Library (Lib)
nosy: JamesGKent
priority: normal
severity: normal
status: open
title: subprocess set priority on windows
type: enhancement

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



[issue31884] subprocess set priority on windows

2017-10-27 Thread Mr JG Kent

Change by Mr JG Kent :


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

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