Terry J. Reedy added the comment:
Restore not clearing the selection when click within it. See Exception in 1
above. Users need to continue to see what will be copied or cut (which also
happens with paste).
The breakpoint toggle and goto file/line options on the context menu need the
line
Change by Terry J. Reedy :
--
title: IDLE right click should clear any selection -> IDLE right click outside
of any selection should clear it
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
pull_requests: +18302
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/18951
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
The rule for whether to switch to the configured directory might be
if sys.stdout is None: chdir...
On windows, this is true when starting in the console with
pyw(pythonw) -m idlelib
But there is no need to include the (Windows-only) 'w'. It i
Terry J. Reedy added the comment:
#39927 is about changing the Mac-specific chdir hidden away in
Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py, line 8
A generic solution should supercede that.
--
___
Python tracker
<https://bugs.python.
Terry J. Reedy added the comment:
Recap and proposal
When editing a named file, Open and Save start in the directory of that file.
Running a file sets the initial working directory of the execution process,
which affects imports in the code.
We are here discussing the working directory
Terry J. Reedy added the comment:
Right. I rechecked and Terminal starts in /Users/ and a user can
easily switch to Documents or anything else. Dialogs open in the same
directory. IDLE should stay wherever when started from terminal. That was
agreed on #22121 (Checking 'sys.stdo
Change by Terry J. Reedy :
--
resolution: -> works for me
___
Python tracker
<https://bugs.python.org/issue39330>
___
___
Python-bugs-list mailing list
Un
Terry J. Reedy added the comment:
What is the complication? The Python license is already rather permissive.
Anyway, there is a n...@mail.python.org address for trademark issues, listed on
the site, and it might be appropriate for license legal questions also. Or
this might be a question
Terry J. Reedy added the comment:
For current releases, which only provide 64-bit binaries, 10.9 is the lated
supported version. See
https://www.python.org/downloads/release/python-377/
for example. I believe this should be closed.
--
nosy: +terry.reedy
Terry J. Reedy added the comment:
The solution given by Ned above also solved
https://stackoverflow.com/questions/60648250/cannot-open-idle-on-mac. So dd's
situation was not unique.
--
___
Python tracker
<https://bugs.python.org/is
Terry J. Reedy added the comment:
OK. I looked at the PR. Normally, issue comes first, with justification and
approval status.
--
___
Python tracker
<https://bugs.python.org/issue39
Terry J. Reedy added the comment:
The current output looks like Python code. The proposed revision looks more
like C, and I find the example above less readable with the prominence given to
what is close to noise. The difference is part of the reason I left C for
Python over 2 decades ago
Change by Terry J. Reedy :
--
type: performance -> enhancement
___
Python tracker
<https://bugs.python.org/issue31895>
___
___
Python-bugs-list mailing list
Un
Change by Terry J. Reedy :
--
title: How to implement api in python website -> Native hijri calendar support
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
stage: -> test needed
type: -> enhancement
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/issue39963>
___
__
Change by Terry J. Reedy :
--
stage: -> test needed
___
Python tracker
<https://bugs.python.org/issue39966>
___
___
Python-bugs-list mailing list
Unsubscrib
Terry J. Reedy added the comment:
In think examples should run and that '...' should be replaced by something
like "' \n', ''". The blank string looks ahead to the next example, which adds
' if line != ""' to the comprehension.
Terry J. Reedy added the comment:
Working on PR. The example 1 further on has a stray meaningless ellipsis.
for expr3 in sequence3 ...
if condition3
Perhaps this was meant to follow the next line, but I will remove it
Terry J. Reedy added the comment:
Looking around further, examples meant to be executable as is are given
interactive prompts and needed doctest directives
>>> gen #doctest: +ELLIPSIS
I think that this example should get the same treatment. Non-executable
examples ar
Terry J. Reedy added the comment:
This tracker is for improving future versions of python. Questions about using
current python belong on python-list or other help forums, such as
stackoverflow. Reading the following will help you ask good questions.
https://stackoverflow.com/help/minimal
Terry J. Reedy added the comment:
Bharat, when responding by email, *please* delete from your response the the
post you are responding to. Your response is added below that message, and
including it is duplicate noise.
Tim, you seem to be saying that this should be closed as 'not
Terry J. Reedy added the comment:
IDLE uses tkinter extensively and runs fine on 3.0 to the upcoming 3.9. Events
remain Events and event.type, event.widget, event.x, and so on continue to work
as appropriate for the event type. As far as I know, the only directly
tkinter-related changes
Terry J. Reedy added the comment:
I completely agree with the goal. But I think that this is duplicate of at one
previous issue either here or on the website tracker.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue40
Terry J. Reedy added the comment:
Test01.py runs as expected with no exceptions. This issue appears to be based
on a misunderstanding of one or both of two things:
a) multiplying an empty list does nothing other than returning a new empty list.
b) list.insert(index, value) treats the index
Terry J. Reedy added the comment:
The root confusion is that re compilation has several variations with two sets
of indicators, each with an unhelpful exception, and each combined and used in
different ways.
1. Module constants with uppercase English words or word pairs, also
abbreviated
Change by Terry J. Reedy :
--
title: Clarify flag case in `re` module -> Clarify flag case in `re` module
docstring
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
I have no problem with 3.8.2 on Windows 10. Tal and Cheryl, what about your
systems?
Saaheer, what OS, and if macOS, what version are you using? (macOS Catalina
has had some problems.) How did you install or upgrade to 3.8.2?
--
nosy
Terry J. Reedy added the comment:
The docstring line in question is
(?aiLmsux) Set the A, I, L, M, S, U, or X flag for the RE (see below).
This is exceptional in that other syntaxes in the special characters list use
lower case only for syntax variables (m, n, name, id/name, yes, no
Terry J. Reedy added the comment:
The docstring is currently 103 lines. I intentionally replaced 1 line with 1
line that I believe to be more informative and kept the expansion of the other
line to 3 lines.
--
___
Python tracker
<ht
Terry J. Reedy added the comment:
Once you touch the idlelib/*.def files or manually edit the .idlerc/*.cfg
files, you are on your own. You could rename any *.def files and try to
'repair' the installation, or delete the *.cfg files and rebuild then through
the dialog.
You
Terry J. Reedy added the comment:
New changeset 89a2209ae6fc5f39868621799730e16f931eb497 by Ram Rachum in branch
'master':
bpo-40016: re docstring: Clarify relationship of inline and argument flags
(#19078)
https://github.com/python/cpython/commit/89a2209ae6fc5f39868621799730e1
Change by Terry J. Reedy :
--
assignee: docs@python -> terry.reedy
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python
Terry J. Reedy added the comment:
Sorry, the 'previous issue' is a vague memory which I cannot find. For some
reason, searching this tracker for 'Google' return 1500+ hits.
--
___
Python tracker
<https://bug
Change by Terry J. Reedy :
--
assignee: terry.reedy ->
___
Python tracker
<https://bugs.python.org/issue40081>
___
___
Python-bugs-list mailing list
Un
Change by Terry J. Reedy :
--
components: -IDLE
___
Python tracker
<https://bugs.python.org/issue40081>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
components: +Interpreter Core -IDLE
___
Python tracker
<https://bugs.python.org/issue38966>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
Upgrading to bugfix releases is usually a good idea. Aside from everything
else, there is usually some change to IDLE.
Again, how are you installing python? From the python.org installer (which
one)? From the Window store? From a 3rd party installer
Terry J. Reedy added the comment:
What does Help => About IDLE say about the tk version?
--
___
Python tracker
<https://bugs.python.org/issue40031>
___
___
Py
Terry J. Reedy added the comment:
Run only appears on the main menu of editor windows, not Shell or Output
windows. If it does not appear, that would be a major bug. But I have no
problem with 3.8.2 on Win10 Pro.
If you do not have Run in an editor, or do but do not have Run Module or Run
Terry J. Reedy added the comment:
Ned, I believe that this issue results from peculiarities of how macOS runs
apps. Insight from you would be appreciated.
macOS Sierra 10.2.8?, Python 3.7.3 (Did you use python.org installer?)
On my Win10, multiple IDLE windows are cascaded to the right and
Terry J. Reedy added the comment:
Insufficient information to determine even if there is a bug.
--
resolution: -> later
stage: -> resolved
status: open -> closed
type: crash -> behavior
___
Python tracker
<https://bugs.python
Terry J. Reedy added the comment:
Double clicking in finder with current Mohave (10.14.6?) does same as described
here. See Ned's comment (msg357667) for #38946.
--
___
Python tracker
<https://bugs.python.org/is
Terry J. Reedy added the comment:
In mac Terminal, 'python3 -m idlelib tem.py' opens tem.py without shell, just
as on Windows.
--
___
Python tracker
<https://bugs.python.o
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 :
--
components: +Interpreter Core -IDLE
title: The redirect -> Redirecting stdout
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
You tried to run editor code and ran into a uncaught idle-process bug, which
causes an exit.
pyshell.ModifiedInterpreter.runcode: 760-1
if self.tkconsole.executing:
self.interp.restart_subprocess()
The immediate bug is that 'self
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +18566
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/19203
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset 34a49aa3e4d023b5f9e9029f4f1ec68f1a8a8120 by Terry Jan Reedy in
branch 'master':
bpo-38002: Use False/True for IDLE pyshell bools (GH-19203)
https://github.com/python/cpython/commit/34a49aa3e4d023b5f9e9029f4f1ec6
Terry J. Reedy added the comment:
Lib/lib2to3 is a directory with __init__.py containing
### empty
Unlike most python-coded modules, there is no Doc/library/lib2to3.rst and hence
no generated lib2to3.html. Instead, there is a 2to3.rst and 2to3.html. In the
module index, module xyz is
Terry J. Reedy added the comment:
Enhancements are not usually backported.
1. The underscores are in entries such as 'minimal_hanoi' in the Examples
drop-down submenu. Changing to spaces should not hurt anything.
2. Already possible (maybe): Help => Turtledemo help has
(
Change by Terry J. Reedy :
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue40075>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
This tracker is for improving future releases of CPython. Questions about
using current python should be directed elsewhere, such as python-list. You
already did that and got Windows-specific answers.
--
nosy: +terry.reedy
resolution: -> no
Terry J. Reedy added the comment:
The previous issue was also about .sort and Raymond's rejection was mostly
about .sort. I will let him comment about whether the speedup moves him at all.
Yury, please say something about your use case.
--
nosy: +terry.
Terry J. Reedy added the comment:
The header for 8259 says "Obsoletes: 7159" (December 2017) and the header for
7159 agrees: "Obsoleted by: 8259". But... to the extent that there is any
difference, which document better describes the behavior of our json module?
Does i
Terry J. Reedy added the comment:
Terminal codepages are irrelevant in the IDLE tk based gui. The problem is
that windows codes astral chars as two surrogates. While tkinter can display
them, after recent changes to _tkinter, the text widget cannot handle then
properly when editing. This
Terry J. Reedy added the comment:
I have thought about everything from deleting the file to a detailed update.
If we keep it, anything would be an improvement. Perhap something in the
middle, starting in 2013. I just decided I don't need be be responsible for
anything earlier, even t
Change by Terry J. Reedy :
--
title: Pasteing 🌹into idle makes it crash -> Pasteing 🌹into idle makes it exit
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Reproducer: In Shell, run "input('prompt'), Without giving a response, so that
input is left 'executing', switch to editor with valid code, select "Run...
Customized", unselect "Restart shell", and select OK.
Terry J. Reedy added the comment:
My first though was that the 'guy' had executed 'import math' and you had not.
(See the IDLE doc at https://docs.python.org/3/library/idle.html or, within
IDLE, Help => IDLE Help, "Editing and navigations" section, "
Terry J. Reedy added the comment:
I cannot do anything until you answer all 6 question. Perhaps you should post
on python-list to get help doing so.
--
___
Python tracker
<https://bugs.python.org/issue40
Terry J. Reedy added the comment:
New changeset 52013e5b6d5ca32eef5a3d65ecdf7db89cefc2fd by Tal Einat in branch
'master':
bpo-38689: avoid IDLE hanging when calltip fails getting a signature (GH-17152)
https://github.com/python/cpython/commit/52013e5b6d5ca32eef5a3d65ecdf7d
Change by Terry J. Reedy :
--
versions: -Python 2.7, Python 3.5, Python 3.6
___
Python tracker
<https://bugs.python.org/issue40127>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
PyPI is a separate project from CPython and has its own repository, tracker,
and developers.
--
nosy: +terry.reedy
resolution: -> third party
stage: -> resolved
status: open -> closed
___
Python tracke
Terry J. Reedy added the comment:
3.5.3 is not the most recent 3.5. Anyway, 3.5 and 3.6 and soon 3.7 only get
security patches. So it needs to be determined if there are failure with 3.8
and 3.9.
--
nosy: +terry.reedy
versions: -Python 3.5
New submission from Terry J. Reedy :
Consider class Object defined as follows:
import types
class Type(type):
__class__ = property({}.__getitem__, {}.__setitem__)
class Object(metaclass=Type):
__slots__ = '__class__'
isinstance(Object, ob) is true for type and Type and
New submission from Terry J. Reedy :
IDLE calltips currently contain " # '/' marks preceding args as
positional-only." when the signature contains '/' because, before 3.8, '/' was
only used by argument clinic and only displayed by inspect.signature. N
Terry J. Reedy added the comment:
#35763 reduced the footprint of the note.
#35764 is about revising the calltip doc. Part of the intention was to add
something about '/'. Maybe no need now, but if I did, I might remove the
calltip n
Terry J. Reedy added the comment:
get_argspec accesses the user object 3 times. The first, ob.__call__ was
already wrapped in try-except. The second, signature(ob or ob.__call) is
wrapped by this issue. It also adds a new test based on Dan's example. The
third is (ob or ob.__c
Terry J. Reedy added the comment:
(Serhiy posted while I wrote this.)
Sorry, I should have quoted the doc. " If object is not an object of the given
type, the function always returns False." Raising instead is a bug -- even of
the object itself is somewhat buggy.
My knowledg
Change by Terry J. Reedy :
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue40180>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
#37206 changed the signature "pop(self, key, default=None, /)" back to
"D.pop(k[,d]) -> v", taken from dict.pop.__doc__. However, the incorrect
version that got reverted correctly added the positional-only indicator '/'.
Terry J. Reedy added the comment:
On Win 10, with recently compiled 3.7.7+ and 3.9.0a5+, I get 4 warnings also.
>>> import warnings
>>> compile("'\d'", "", "eval")
:1: DeprecationWarning: invalid escape sequence \d
:1: Deprecati
Terry J. Reedy added the comment:
Raymond, I finished the backporting and assume that your patch was meant to be
a complete fix.
--
nosy: +terry.reedy
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/issue40
Terry J. Reedy added the comment:
I marked this for 'interpreter Core' because it affects imports and nothing
else seemed better.
I marked this for 3.9 because it is too late to change 2.7. But I don't know
whether PYTHONUSERBASE is still treated (or not treated) the s
Terry J. Reedy added the comment:
A few days ago, 3.8 backports failed while 3.7 backports merged. Thank you for
the fix, even if temporary.
I just noticed that the doc main page ends with "Created using Sphinx 2.3.1."
I plan to switch my local sphinx to that version.
-
Terry J. Reedy added the comment:
I verified the statements and notice that profile.Profile has many methods not
in cProfile.Profile. Neither is a complete replacement for the other.
--
nosy: +terry.reedy
___
Python tracker
<ht
Change by Terry J. Reedy :
--
nosy: +twouters
___
Python tracker
<https://bugs.python.org/issue40207>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
https://docs.python.org/3/library/symtable.html#symtable.SymbolTable.has_exec
merely says "Return True if the block uses exec." This never happens since
https://github.com/python/cpython/blob/3.8/Lib/symtable.py#L87
is "return False". I p
Terry J. Reedy added the comment:
Answer: no. The 2006 patch already removed OPT_EXEC and OPT_BARE_EXEC.
--
___
Python tracker
<https://bugs.python.org/issue40
Terry J. Reedy added the comment:
What OS and what tcl/tk patch version? (IDLE Help => About IDLE will show
this). 3.5 only gets security patches. On Windows, it came with a slightly
older version of tk. That might possibly be a problem.
One cannot place widgets 'in a treeview&
Terry J. Reedy added the comment:
I shortened the title so that 'gdb' shows. I have never used gdb, but I am
curious what *is* the path to the python running the python code after
'python'? Is it part of or included with gdb? If so, this seems a gdb bug, as
it is t
Terry J. Reedy added the comment:
3.6 only get security fixes, but your nice minimal, complete verifiable example
let me verify easily on 3.9a5 with tk 8.6.9 and 3.6 with 8.6.6 and 2.7.17 with
8.5.19. The hidden element appears to be something like'||' with only part
visible, de
Terry J. Reedy added the comment:
Please post or attach *minimal* and complete (runnable as is) code that does
not do what you expect.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue40
Terry J. Reedy added the comment:
OK, verified issue with installed 3.9.0a5, which must have different warning
settings.
>From a file, 1 warning.
:1: DeprecationWarning: invalid escape sequence \d
Interactively, no warning.
>>> compile("'\d'", "&q
Change by Terry J. Reedy :
--
resolution: -> third party
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Terry J. Reedy :
--
resolution: accepted -> fixed
stage: -> resolved
type: -> enhancement
___
Python tracker
<https://bugs.python.org/
Terry J. Reedy added the comment:
Please answer the questions in msg365164 of #40083.
--
___
Python tracker
<https://bugs.python.org/issue40324>
___
___
Pytho
Terry J. Reedy added the comment:
3. You did not answer about the tcl/tk version.
4. When you start from the start menu, there is no Editor window, just the
Shell window, which does not have the Run menu. Again, how did you get an
editor window?
5. Search the Web for an illustrated
Terry J. Reedy added the comment:
The relevant one. Skip 3 and 4.
--
___
Python tracker
<https://bugs.python.org/issue40324>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
Timothy, this is already more helpful than a simple 'me too'. Can you reduce
pgdata.dump to a truly minimal file that exhibits the bug? and then upload it?
Installing any package into my local copy of the master CPython repository is
prob
Terry J. Reedy added the comment:
I believe I found the bug. For IDLE's original single process mode, still
available with the -n startup option, debugger.py contains the entire debugger.
The values displayed for global and local names are obtained with
reprlib.Repr.repr. That in
Terry J. Reedy added the comment:
By design, IDLE should only allow one editor instance per file for a given
python-IDLE process. "$ python3 fails.py" opens a new python-IDLE process,
independent of existing processes. It is possible that double-clicking good.py
multiple times o
Terry J. Reedy added the comment:
New changeset 3a69f3caeeaea57048ed3bc3051e16854b9a4cd6 by Miro Hrončok in
branch 'master':
bpo-38439: Add 256px IDLE icon (GH-17473)
https://github.com/python/cpython/commit/3a69f3caeeaea57048ed3bc3051e16854b9a4cd6
--
nosy: +t
Terry J. Reedy added the comment:
New changeset 3a69f3caeeaea57048ed3bc3051e16854b9a4cd6 by Miro Hrončok in
branch 'master':
bpo-38439: Add 256px IDLE icon (GH-17473)
https://github.com/python/cpython/commit/3a69f3caeeaea57048ed3bc3051e16
Terry J. Reedy added the comment:
Should this issue be closed, possibly as superseded by #36346, the issue for
the new PR-19653?
--
___
Python tracker
<https://bugs.python.org/issue36
Terry J. Reedy added the comment:
Timothy, can you try editing idlelib.debugger_r, line 173, as suggested above
and see if it solves the problem?
--
___
Python tracker
<https://bugs.python.org/issue33
Terry J. Reedy added the comment:
Saaheer, using the 'File: Browse...' button under the comment box, please
upload (if you still have it) the .../.idlerc/config-extensions.cfg that
results in this failure. Most idlelib files were renamed in 3.6. 'AutoExpand'
and
Terry J. Reedy added the comment:
Kay, please ask your question on python-list or a similar forum.
--
___
Python tracker
<https://bugs.python.org/issue9
New submission from J Arun Mani :
In the auto-response sent by python-help-boun...@python.org, at some
intermediate paragraphs:
...
The most comprehensive overview of python.org help resources is at
http://www.python.org/about/help/
The Python FAQ is available at
http
3101 - 3200 of 13134 matches
Mail list logo