Change by Terry J. Reedy :
--
resolution: -> third party
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
Crash means 'python stopped erroneously without a traceback'.
Same exception in 3.8 and 3.9. Argparse uses None for a count of 0. I
consider this a bug. If not changed, it should be documented. As argparse is,
the example needs to recode
Change by Terry J. Reedy :
--
nosy: +benjamin.peterson
___
Python tracker
<https://bugs.python.org/issue38681>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
keywords: +3.8regression
stage: -> needs patch
type: crash -> behavior
___
Python tracker
<https://bugs.python.org/i
Terry J. Reedy added the comment:
['crash' means something like Windows 'your program has quit running' box.]
Do other Windows Store 'apps' run from bash? (Or from Command Prompt or Power
Shell?)
For an immediate solution, install Python normally, as a c
Terry J. Reedy added the comment:
Should this be closed as 'not a bug'?
--
nosy: +terry.reedy
title: Line count mis match between open() vs sys.stdin api calls -> Line count
mismatch between open() vs sys.stdin api calls
___
Python tr
Change by Terry J. Reedy :
--
nosy: +ezio.melotti
___
Python tracker
<https://bugs.python.org/issue38746>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
According to git blame, the html5 dict in
https://github.com/python/cpython/blob/master/Lib/html/entities.py has changed
in 7 years. On the other hand, the standard on which it is based,
https://html.spec.whatwg.org/multipage/named-characters.html, was
Terry J. Reedy added the comment:
Questions should usually be asked on python-list or elsewhere.
To answer, html5 was created from
https://html.spec.whatwg.org/multipage/named-characters.html
with these issues and patches.
#3 dc44f55cc9dc1d016799362c344958baab328ff4
Terry J. Reedy added the comment:
In interactive mode, python.exe interacts with a console/(dumb terminal)
through the std streams using \n as a special character It gets input from
stdin, send output to stdout or errors to stderr. The terminal, not python,
handles line editing and
Terry J. Reedy added the comment:
Stephen, I think *you* were the one over-anxious to be dismissive. In the
title Marco refers to "Jupyter console (IPython)" features and in his opening,
to "Jupyter console, aka IPython". Jupyter Console is, I read, QT based.
IPython/J
Terry J. Reedy added the comment:
Fix corner case bugs in IDLE would definitely be a separate issue. But is the
'fix' in _maybe_compile at all applicable to the REPL? Or might a parser
change REPL fix make the code in _maybe_compil
Terry J. Reedy added the comment:
#33397 add a FontSizer class to textview.py and uses it there and for the doc
viewer in help.py. It should be used for this issue also.
--
___
Python tracker
<https://bugs.python.org/issue17
Terry J. Reedy added the comment:
Zachary determined that the issue is that writing calls
iomenu.IOBinding.fixlastline, which unconditionally adds \n at the end if there
is one. That is not needed for the Shell and wrong when it ends with a prompt,
which is the normal case
Change by Terry J. Reedy :
--
pull_requests: +16622
pull_request: https://github.com/python/cpython/pull/17115
___
Python tracker
<https://bugs.python.org/issue37
Terry J. Reedy added the comment:
New changeset 8341a4d918ca96f8a5523444e056ffa82fa039d5 by Terry Jan Reedy in
branch '3.8':
[3.8] bpo-37309: idlelib/NEWS.txt - add missing period. (#17115)
https://github.com/python/cpython/commit/8341a4d918ca96f8a5523444e056ff
Terry J. Reedy added the comment:
New changeset c8b53dc3d8f721ed8519aa5a35530a42fbfb9424 by Terry Jan Reedy
(Zackery Spytz) in branch 'master':
bpo-26353: IDLE adds an unneeded newline when saving a shell window (GH-17103)
https://github.com/python/cpyt
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
Serhiy, thank you for carrying this through, including the backports.
Ready to close?
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue38
Terry J. Reedy added the comment:
Zackary's patch toggles blinking immediately in editor/shell/output windows,
but does not affect the FontSample and numerous dialog entry lines. I changed
the patch to store 'insertofftime' just once, as idleConf.blink_off_time. This
is set
Terry J. Reedy added the comment:
My intent is that a followup patch should, for font sample and entry widgets,
set insertofftime=0 on creation if not cursor_blink. A new
idleConf.set_cursor_blink(widget), something like the new
EditorWindow.update_cursor_blink could be used multiple
Terry J. Reedy added the comment:
New changeset 9c2844927d15b2d3e21b28d62249dead02b5b597 by Terry Jan Reedy
(Zackery Spytz) in branch 'master':
bpo-4630: Add cursor no-blink option for IDLE (GH-16960)
https://github.com/python/cpython/commit/9c2844927d15b2d3e21b28d62249de
Change by Terry J. Reedy :
--
nosy: +pmoody
___
Python tracker
<https://bugs.python.org/issue38750>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
I think that this should be closed as a duplicate of #34979 and this example
posted there, with the OS and python version included.
On Windows, with 3.7, 3.8.0, and master, neither the posted comment, the one in
the file, not the initial statement in #34979
Terry J. Reedy added the comment:
On Windows, with 3.7, 3.8.0, and master, none of the demo.py statement here and
the examples in #38755 raise an error. I tried 'python -m module', running
from IDLE editor, and interactive IDLE and REPL. Even the following worked.
>>>
Terry J. Reedy added the comment:
A leading underscore usually means that the name is private and should not be
relied on. We of course use private names to implement public objects, else
they should not exist. '_fields' is an exception, and I leave it to the ast
experts to
Terry J. Reedy added the comment:
When I add "master.update(); print(master.geometry())" I get "100x100+104+104".
I have the same Windows and 3.7+, but with tcl/tk *8.6*, not the ancient 8.4.
If you really are using the latter, I strongly suggest updating. Even if
Change by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue38788>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
nosy: +lemburg
___
Python tracker
<https://bugs.python.org/issue38805>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
If you do the same in the standard python REPL, you get the same result. So
this behavior is not specific to IDLE, although one has to be slightly more
careful restoring sys.stdout in IDLE. (Restoring stdout from saved stdout
should work the same without
Terry J. Reedy added the comment:
I re-verified the problem, its presence in the doc, and the fix with 3.9.
--
___
Python tracker
<https://bugs.python.org/issue3
Change by Terry J. Reedy :
--
versions: +Python 3.7, Python 3.8, Python 3.9 -Python 3.4, Python 3.5, Python
3.6
___
Python tracker
<https://bugs.python.org/issue3
Terry J. Reedy added the comment:
Raymond's patch changes the tutorial example to something more useful for
beginners. It also gives the proper fix for the old example, which is to add
'default=0' after "action='count'", but puts this in the proper pl
Change by Terry J. Reedy :
--
versions: +Python 3.7, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue38678>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
Given the issues I raised and Raymond's rejection of this, his first suggested
option, on the PR, in favor of his second suggested option, #33046, I agree, at
least for now.
The use case for whitespace tagging would be if someone wants to select
Terry J. Reedy added the comment:
reindent.py does the following:
1. Change Python (.py) files to use 4-space indents and no hard tab characters.
IDLE editor does this by default, as do other programming editors, except as
PEP8 recommends something else for continuation lines within fences
Terry J. Reedy added the comment:
I can't find who wrote this block treating octal escapes beginning with 4-7 the
same as those beginning with 0-3.
case '0': case '1': case '2': case '3':
case '4': case '5': c
Terry J. Reedy added the comment:
Nosying the ast experts, which I meant to do before.
--
nosy: +benjamin.peterson, brett.cannon, yselivanov
___
Python tracker
<https://bugs.python.org/issue38
New submission from Terry J. Reedy :
Format => Strip Trailing Whitespace should strip extra newlines at the end of
the file after stripping each line, and make sure that there is at least one.
The latter is done when saving, and that code can be reused.
--
assignee: terry.re
Change by Terry J. Reedy :
--
title: IDLE: Include end whitespace in whitespace fix. -> IDLE: Include end
newlines in whitespace fix.
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
I want to add EOF newline stripping before making this automatic. Otherwise,
the new feature will give people a false sense that it is all taken care of. I
opened #38862 and hope to do it tomorrow.
I may then merge Zackary's PR with any still edi
Terry J. Reedy added the comment:
New changeset b8462477bfd01ff21461065d5063e6b0238ca809 by Terry Jan Reedy in
branch 'master':
bpo-38636: Fix IDLE tab toggle and file indent width (GH-17008)
https://github.com/python/cpython/commit/b8462477bfd01ff21461065d5063e6
New submission from Terry J. Reedy :
Some suggestions for
https://docs.python.org/3.9/c-api/sys.html#c.PySys_AddAuditHook
https://docs.python.org/3.9/library/sys.html#sys.addaudithook
"Adds to the collection of active auditing hooks"
"Adds the callable hook to the collection of
Terry J. Reedy added the comment:
The NMT doc adds "A transient window always appears in front of its parent."
and I believe that this is why we use it and why I would not want to
unconditionally delete the calls without thorough testing on both Linux and
Windows.
IDLE calls thi
Terry J. Reedy added the comment:
Ned, is our last Mac installer for 2.7 going to use tk 8.6.10?
I am extremely reluctant to touch IDLE for 2.7 since beginners are nearly all
using 3.x and any mistakes are forever.
--
___
Python tracker
<ht
Terry J. Reedy added the comment:
I still want to look at what happens on 3.x.
--
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/issue38
Change by Terry J. Reedy :
--
nosy: +davin, pitrou
___
Python tracker
<https://bugs.python.org/issue38840>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
I agree on consistency. I will make a PR for you to review.
Do you think a minimal code example might help? Running ...
import sys
def hook(name, args):
if name.startswith('compile'):
print(name, args)
sys.addaudithook(hook)
comp
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +16846
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/17361
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +16851
stage: test needed -> patch review
pull_request: https://github.com/python/cpython/pull/17366
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
patchcheck.py removes even a single newline if that is all that remains after
stripping each line. So the revised rule is that a file should be either empty
or end with a non-whitespace followed by a newline. My intent is that a file
be ready to merge to
Change by Terry J. Reedy :
--
pull_requests: +16852
pull_request: https://github.com/python/cpython/pull/17366
___
Python tracker
<https://bugs.python.org/issue36
Terry J. Reedy added the comment:
Currently, iomenu.IOBinding.fixnewlines makes sure that when a non-empty
non-Shell file is saved (and possibly run), it ends with at least 1 newline.
At one time, I believe, compile needed this, and it is still good practice.
(Git diffs note the absence
Terry J. Reedy added the comment:
New changeset 6bf644ec82f14cceae68278dc35bafb00875efae by Terry Jan Reedy in
branch 'master':
bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (GH-17366)
https://github.com/python/cpython/commit/6bf644ec82f14cceae68278dc35baf
Change by Terry J. Reedy :
--
pull_requests: +16861
pull_request: https://github.com/python/cpython/pull/17379
___
Python tracker
<https://bugs.python.org/issue38
Change by Terry J. Reedy :
--
pull_requests: +16862
pull_request: https://github.com/python/cpython/pull/17380
___
Python tracker
<https://bugs.python.org/issue38
Terry J. Reedy added the comment:
New changeset a9c86f5e1afa2487524b1947153953b583714d62 by Terry Jan Reedy in
branch '3.8':
[3.8] bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (GH-17366)
https://github.com/python/cpython/commit/a9c86f5e1afa2487524b1947153953
Terry J. Reedy added the comment:
New changeset 2fb971940b18bcf5a58b1b242b697d0f1d8ad7ef by Terry Jan Reedy in
branch '3.7':
[3.7] bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (GH-17366)
(#17379)
https://github.com/python/cpyt
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
IDLE completes global names, attributes, and file names with various invocation
methods. The main problem users have in editor windows is not running the
module to update namespaces. But the claim here (and in the PR) is that there
is a timing problem
Terry J. Reedy added the comment:
With Mohave, double click on a file name in Finder Documents opens the file in
an editor and then opens the shell. Double click on another file opens the
file in another editor (but not a duplicate shell). These are .py files I
saved from IDLE.
Ramon
Terry J. Reedy added the comment:
Counting Serhiy's de-priorizing, all five core devs find this a bit dubious, so
yes, let's close.
--
resolution: -> rejected
stage: needs patch -> resolved
status: open -> closed
title: peephole optimization for constant
Change by Terry J. Reedy :
--
assignee: terry.reedy ->
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python
Terry J. Reedy added the comment:
If this is a duplicate of #35019, then this issue should be closed, the
original post here should be copied over, and the PR should be edited to point
to the original issue, both in the title and the box below the title.
--
nosy: +terry.reedy
Change by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue38953>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
versions: -Python 3.5, Python 3.6
___
Python tracker
<https://bugs.python.org/issue38961>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
filedialog.askopenfilename returns 'Open(**options).show()'. IDLE's File =>
Open (^O) calls Open and show directly. It continues to run on all versions on
my machine (and presumably those of numerous others). I have TortoiseGit now
Terry J. Reedy added the comment:
¶ anchors are generated automatically for headers, but I don't know what the
policy might be for items within section. It might be useful to add some
subsection headers within the Regular Expression Syntax section.
--
nosy: +serhiy.stor
Terry J. Reedy added the comment:
There have been changes to asyncio since 3.6. I you have not, please check the
3.8 version to see if any of them are relevant to your issue.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.
Terry J. Reedy added the comment:
I would prefer that. I think treating '\n' and ' \n' differently is a bit of a
bug. And the fix pretty well matches code/codeop behavior. I have so far not
imagined how it could break code.But you could let Ned Deily decide, bef
Terry J. Reedy added the comment:
New changeset 232689b40d8fcbbac27c8705607ff482ea5b46f8 by Terry Jan Reedy
(JohnnyNajera) in branch 'master':
bpo-38944: Escape key now closes IDLE completion windows. (GH-17419)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
38943 Autocomplete box sometimes does not show on Ubuntu.
38944 Excape key should close completion box.
--
dependencies: +Idle autocomplete window doesn't close on Escape key, Idle
autocomplete window doesn'
Terry J. Reedy added the comment:
With this done, we can think about whether the behavior of should be
changed (on a new issue). I need to first document what it does do in all the
different situations.
--
stage: patch review -> backport needed
title: Idle autocomplete win
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: backport needed -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
New changeset bbc4162bafe018f07bab0b624b37974cc33daad9 by Terry Jan Reedy
(JohnnyNajera) in branch 'master':
bpo-38943: Fix IDLE autocomplete window not always appearing (GH-17416)
https://github.com/python/cpyt
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Terry J. Reedy :
--
versions: -Python 2.7
___
Python tracker
<https://bugs.python.org/issue38943>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
versions: +Python 3.7, Python 3.9
___
Python tracker
<https://bugs.python.org/issue33762>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
TemporaryFile() returns an instance of _TemporaryFileWrapper.
isinstance(TemporaryFile(), io.IOBase) is a sensible thing to do and would be
True if _TemporaryFileWrapper subclassed the appropriate io base file.
The base class for IDLE's stdxxx pseudo
Terry J. Reedy added the comment:
Looking at the tempfile code more, I agree with Serhiy that changing it should
be rejected. Python is a duck-typed language (essentially what Martin said).
People should not be over-zealous in using instance checks.
The doc specifically says that
Terry J. Reedy added the comment:
Even though I was not nosy on this 6 year old issue, I just got the following
email requesting that the attachments be removed. I am not doing so because
they seem to be needed to make sense of the issue. But anyone else who wants
to do so may. I removed
Terry J. Reedy added the comment:
The flaw in my_round is that it rounds twice, not once. The first rounding is
caused by multiplying by a factor that is not a power of 2.
In the case of 2.675, that rounding is up enough to affect the second rounding.
>>> format(2.6
Terry J. Reedy added the comment:
Python374-4.png shows that Tensorflow prints proper lines, ending with newline,
when printing to the Windows console. The 30 character progress bar is
repeated on each new line. It does not appear to be using either \r or \b. I
consider it a bug in
Terry J. Reedy added the comment:
On Windows with 8.6.9, I see '\U0001f4bb' on 3.7.5 and '💻' on 3.8.0 and
3.9.0a0. I don't know why the difference as Serhiy's patch was backported. I
will upgrade 3.7 and 3.8 and try again.
--
Terry J. Reedy added the comment:
Ned is aware of this and needs to verify that it works with _tkinter and
tkinter on multiple versions of macOS.
--
assignee: terry.reedy -> ned.deily
components: +macOS -IDLE
nosy: +ronaldoussoren
___
Pyt
Change by Terry J. Reedy :
--
title: Reorder the __aenter__ and __aexit__ method checks for the async with
statement -> Reorder __aenter__ & __aexit__ checks for async with statement
versions: +Python 3.9
___
Python tracker
Terry J. Reedy added the comment:
Amit, is there a simple doc change that would have made the result clearer?
(before getting Andrew's response?)
--
nosy: +terry.reedy
versions: +Python 3.8, Python 3.9
___
Python tracker
<https://bugs.py
Change by Terry J. Reedy :
--
nosy: +lars.gustaebel, serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue39062>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
See #39065, #39067 for similar tarfile issues.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue39
Terry J. Reedy added the comment:
jvoisin, what do you consider to be the bug? Raising an exception is exactly
the right thing to do on bad input. I leave it to others to decide if this
should be closed as 'not a bug' or if the internal exception should be caught
and replaced.
Terry J. Reedy added the comment:
jvoisin, please consider rerunning such reproducers with lastest 3.8 and 3.9
before submitting. It is much easier for you to do so when you have the fuzz
file, script, and command line already present
Change by Terry J. Reedy :
--
title: Description of "Format Specification Mini-Language" not accurate for
Decimal -> "Format Specification Mini-Language" doc mistake for Decimal
___
Python tracker
<https://
Change by Terry J. Reedy :
--
title: OSError: handle is closed in ProcessPoolExecutor on
shutdown(wait=False) -> OSError: handle closed, ProcessPoolExecutor
shutdown(wait=False)
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
versions: -Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue39102>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
You could start by posting suggested new text here.
--
nosy: +terry.reedy
title: Documentation for "random.gauss" vs "random.normalvariate" is lacking ->
random needs doc for "gauss" versus "normalvaria
Change by Terry J. Reedy :
--
status: pending -> open
title: It seems that list() changes the value of the parameter ->
UserList-subclass Tree slicing changes node attribute
___
Python tracker
<https://bugs.python.org/i
Change by Terry J. Reedy :
--
status: open -> pending
___
Python tracker
<https://bugs.python.org/issue39110>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Terry J. Reedy :
--
stage: -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.org/issue39110>
___
___
Python-bugs-
Terry J. Reedy added the comment:
(ctarn), if you want to discuss what you are doing further, please try a
discussion list, such as python-list.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue39
Terry J. Reedy added the comment:
Leonardo, even if this were a bug, it would be a mistake to ascribe it to IDLE.
The IDLE Shell is an alternative display window. IDLE sends your code to
Python and displays values computed by Python and output by print statements.
I second Mark
2801 - 2900 of 13134 matches
Mail list logo