Terry J. Reedy added the comment:
I agree. 'deprecated' pretty much means "We do not think this is worth the
effort of maintaining it. Don't use it unless it is already in old code."
--
resolution: -> wont fix
status: open -> closed
___
Terry J. Reedy added the comment:
I reproduced the observed behavior in 3.3.0a.
However, I am rather sure it is not a bug.
In any case, linejunk is not ignored. Passing 'lambda x: 1/0' causes
ZeroDivisionError, proving that it gets called.
The body of ndiff(linejunk,charju
Terry J. Reedy added the comment:
The last version in the message above looks good to me. Ready to markup and
apply?
--
keywords: +patch
nosy: +terry.reedy
stage: -> patch review
___
Python tracker
<http://bugs.python.org/issu
Changes by Terry J. Reedy :
--
stage: needs patch -> patch review
___
Python tracker
<http://bugs.python.org/issue14250>
___
___
Python-bugs-list mai
Terry J. Reedy added the comment:
We know that string.Formatter does not properly duplicate str.format.
#13598 is specifically about use of {}.
Search "string Formatter" for other related issues.
--
nosy: +terry.reedy
resolution: -> duplicate
status: open -> c
Changes by Terry J. Reedy :
--
nosy: +giampaolo.rodola
___
Python tracker
<http://bugs.python.org/issue14269>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
I think it would be sufficient to add ' if no exceptions are raised' to the
first sentence. The example that follows in the entry clarifies the
implications of "cheap to try, expensive to catch".
--
keywords: +patc
Terry J. Reedy added the comment:
.apk is primarily used for Android Package files
https://en.wikipedia.org/wiki/APK_%28file_format%29
which are zipped JAR-based archives. By changing .apk to .zip, I can open the
file in Win7 explorer, which has zip built in.
A 'crash' is a s
Terry J. Reedy added the comment:
The idea seems reasonable. Do you have a link or reference to a Matlab doc with
the coefficients? Enhancements only go in new versions.
--
nosy: +terry.reedy
versions: -Python 2.7, Python 3.2
___
Python tracker
Terry J. Reedy added the comment:
Yes, put reference in source. I checked that you copied correctly.
I think there is some controversy, which I do not understand, about adding
tests to maintenance releases without a bug fix. I will ask, so do not do it
yet
Terry J. Reedy added the comment:
Mark, I know you have worked on numerical algorithms.
1. Do you agree that this is a reasonable change?
2. Should new tests go in maintenance release?
--
nosy: +mark.dickinson
___
Python tracker
<h
Terry J. Reedy added the comment:
Thanks. There must be multiple extra fields allowed. This output suggests that
a) zipfile mis-parses the extra field in some peculiar case (which I doubt) or
b) the file either gives a bad field length or third extra field is mal-formed
and that other tools
New submission from Terry J. Reedy :
3.2.3rc1: When I click the Python manuals Start Menu icon, the Windows help
version of the docs comes up, but with a Script Error box.
Contents of the box:
A error has occurred in the script on this page
Line : 1
Char : 1
Error : The value of the
Terry J. Reedy added the comment:
I hope you are right. The module docs server is also not working for me. Has
that also been found and fixed (I don't see any issues) or should I file a
separate report?
--
___
Python tracker
Terry J. Reedy added the comment:
Stefan, since you have been working on Memoryview, any opinions?
--
nosy: +skrah
___
Python tracker
<http://bugs.python.org/issue10
New submission from J. D. Bartlett :
GOAL
I am trying to compile an AST which contains an ImportFrom node which performs
a __future__ import. The ImportFrom node in question is the first node within
the AST's body (as it should be, because __future__ imports must occur at the
beginni
J. D. Bartlett added the comment:
Incidentally, the workaround that I'm using for the time being is to run the
following code before attempting to compile root_node.
for node in ast.walk(root_node):
if isinstance(node, ast.ImportFrom) and node.module == '__future__':
Terry J. Reedy added the comment:
Thanks for applying.
Just note that unlike with svn, with hg it is stronly recommended to apply to
3.2 first and forward port to 3.3. Something about the DAGs working better.
--
___
Python tracker
<h
Terry J. Reedy added the comment:
I do not know or directly use tkinter enough to judge the proposed removal.
(Although they do look like they might be useless.) I would like to see a
little more explanation on the record. Who wrote
"# XXX I don't like these -- take them aw
Terry J. Reedy added the comment:
Thanks for retesting.
Closing until there is a clear problem with current releases.
--
resolution: -> out of date
status: open -> closed
versions: -Python 2.4
___
Python tracker
<http://bugs.p
Terry J. Reedy added the comment:
Without a specific claimed failing program and contemporary verification, it is
hard to know whether one has reproduced or not. With 3.3 I did
import tkinter.filedialog as tkf
import tkinter as tk
fd=tkf.FileDialog(tk.Tk())
fd.go()
and got a file dialog
Terry J. Reedy added the comment:
This is an issue, not a bug, and the status is as it was: unclear just what to
do; would require some major work.
--
___
Python tracker
<http://bugs.python.org/issue13
Changes by Terry J. Reedy :
--
stage: -> needs patch
versions: +Python 3.3
___
Python tracker
<http://bugs.python.org/issue13657>
___
___
Python-bugs-list mai
Terry J. Reedy added the comment:
Title corrected. Non-iterator iterables are usually easy to copy.
I think this is in the category of "don't do that" ;-)
I believe the idea of making iterators copyable has been rejected on one of the
lists because it is probably not possible
Terry J. Reedy added the comment:
This issue seems 'off-topic' in that core developers do not control the main
site and cannot patch it. My understanding is that that is why the dev guide
was separated from the main site (so we could patch it). On the other hand, we
can suggest ch
Terry J. Reedy added the comment:
This does not seem to clearly be a bug in the core codebase. An enquiry on
python-list or maybe even stackoverflow might get a response from someone with
HP11i PA-RISC experience.
--
nosy: +terry.reedy
___
Python
Terry J. Reedy added the comment:
Patch in first message; patch file needed. I don't know if sys.exit is actually
tested. This is really 2.7 specific.
--
keywords: +patch
nosy: +terry.reedy
stage: -> test needed
___
Python tracke
Terry J. Reedy added the comment:
The patch, to an unspecified version of 2.7, changes 'str' to 'string', so I
presume that is what you meant. The current repository code already says
'string' for 2.7, 3.2, and 3.3. This is what you should see in the current
Terry J. Reedy added the comment:
This change maked the error message wrong if bool is rejected.
--
nosy: +bethard, terry.reedy
stage: -> test needed
type: -> behavior
___
Python tracker
<http://bugs.python.org/i
Terry J. Reedy added the comment:
The corresponding current code in 3.2 and 3.3 is the same.
--
versions: +Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/issue14
Terry J. Reedy added the comment:
If one searches for the informal name 'Python magic methods', RafeKettler's doc
and 3. Data model — Python v2.7.2 documentation come in 1,2. Given that the
latter does not even contain the word 'magic', that means that is actually
Terry J. Reedy added the comment:
(I have not used socketserver so my response is somewhat theoretical.)
.__running seems partly if not completely redundant as the negation of
.__is_shutdown. However, I do not see that exposed. I suspect that this was not
thought to be needed because the api
Terry J. Reedy added the comment:
64 bit win 7, 3.3.0a1 crashes also.
Idle shell just says that fd 0 is not valid, which I expect is correct for the
socket replacement for sys.stdout.
--
nosy: +terry.reedy
___
Python tracker
<h
Terry J. Reedy added the comment:
You need to specify os (with version) *nix?
There have been issues like this before, for earlier Python version, at least
for Windows XP, which have been fixed, at least for Windows. I think last patch
(a year ago? before 3.2 I think) switched to using
Terry J. Reedy added the comment:
Andrew: I strongly agree with the goal that IDLE should not leave zombie
processes. The background process should die if either 1) IDLE restarts the
shell with a new background process, as with every edit-run cycle, or 2) IDLE
dies. The desired behavior
Terry J. Reedy added the comment:
Just a bit more info: ^D and ^\ in Command Prompt interpreter print '^D' or
'^\'. Return causes syntax error. ^Z\n in interpreter causes silent close.
(Because DOS used ^Z as end-of-file.)
^D in IDLE causes silent close. IDLE ig
New submission from Terry J. Reedy :
3.2.3rc2 and 3.3.0a2, freshly downloaded and installed, Win7, 64 bit
Start Menue/Pythonxx/Module Docs
Brings up tkinter pydoc box.
[open browser] brings up *empty* localhost:7464 window.
Search 'tkinter' and double-click tkinter entry or select
New submission from Terry J. Reedy :
IDLE has an icon that is, appropriately, a white page with text overlaid with
the Python logo on lower right. (Module docs uses the same icon.) For a long
time, this has been used everywhere for IDLE -- start menu, desktop, taskbar.
In the latest 3.2.3rc2
Terry J. Reedy added the comment:
I tried again and 3.2.3rc2 is working. The IDLE icon appears and right clicking
gives its title as IDLE (Python GUI).
3.3.0a2 is worse than I reported. The reason the icon changes to the pythonw
icon is because that is what gets pinned, not IDLE. Right
Terry J. Reedy added the comment:
I agree, for reasons stated. Having to skip over the wrong instructions made
getting started a bit harder for me. I also think TortoiseHG should get more
than just a mention. The initial re-creation of the recent DAG for each branch
when starting up
Terry J. Reedy added the comment:
What version of Windows?
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue14488>
___
___
Python-bugs-list m
Changes by Terry J. Reedy :
--
stage: -> needs patch
title: docs:Code not highlighted -> docs: 2 code examples not Pygmented (syntax
color coded)
type: -> behavior
versions: +Python 2.7, Python 3.2, Python 3.3
___
Python track
Terry J. Reedy added the comment:
Win7, 64 bit, IDLE shell and editor, 3.2.3c2, 24 gb machine, added print():
I got no response for about 10 secs until a process restart happens, which I
believe means that the background pythonw process stopped.
If I hit ^C before that, I get the Windows
Terry J. Reedy added the comment:
3.3.0a2, command prompt window:
'python has stopped working' in about 2 secs.
--
___
Python tracker
<http://bugs.python.o
Terry J. Reedy added the comment:
Side note: Windows requires that args be quoted with ", not ', to work
properly, at least with these args.
Main note: the patched test adds a space to the separator, but that is not
enough to account for the difference.
c:\Programs\Python32>pyt
Terry J. Reedy added the comment:
C:\Programs\Python32\Tools\Scripts>..\..\pythonw pydocgui.pyw -b
has the same behavior I described. So does -g.
The shortcut has been part of the Windows installation for many versions. It
obviously uses pydocgui.py.
C:\Programs\Python32\Lib>pydoc
Terry J. Reedy added the comment:
I checked Standard C by Plauger & Brodie and as I read it, it agrees with
py.user and his C compiler. For stdlib strtol() and strtoul(), the 0x/0X
prefixes are accepted but optional for explicit base 16. If base is given as 0,
they are accepted and set
Terry J. Reedy added the comment:
patch should be for 2.7 or 3.2/3 as 2.6 only gets security fixes.
--
nosy: +terry.reedy
stage: -> needs patch
versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6
___
Python tracker
<http://bugs.pyth
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue14544>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Bill, when you reply by email, please snip the signature and quoted message.
They are just noise. (Exception: quote a line or two if you are specifically
responding to such.) Signatures are inappropriate, and the message you are
responding to is already
Terry J. Reedy added the comment:
Brett C. just today pushed
http://hg.python.org/cpython/rev/556b9bafdee8
changeset: 76310:556b9bafdee8
user:Brett Cannon
date:Sat Apr 14 20:44:23 2012 -0400
summary:
IDLE was relying on implicit relative imports which have gone away in
Terry J. Reedy added the comment:
I agree; lets be consistently lenient.
--
___
Python tracker
<http://bugs.python.org/issue12387>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
[Raymond: I presume you meant that C iterators have not been a problem in the
wild and have done fine.]
The RuntimeError message "maximum recursion depth exceeded" is not exactly
correct. As Kristján implied in his first message, what has been reac
Terry J. Reedy added the comment:
With 3.2.3, after selecting open edit on startup and using ^O to select a file,
I got a silent close of the editor window. Opening from the file menu worked.
After the change of adding '0', ^O worked also.
However, without a test suite, I am a litt
Terry J. Reedy added the comment:
Changes look complete and correct as far as I can tell, except that I have some
confusion about the relation of Shift and CapsLock key. For instance, Control-C
and Control-Shift-C (using the key labels) both interrupt a loop whether or not
CapsLock is on. In
Terry J. Reedy added the comment:
3.2.3 and 2.7.3 are out. And I am running on win7 without problems.
I have not tried running multiple shells of the same Python version, but I have
occasionally run 2.7 and 3.2 simultaneously without problems that I noticed.
Roger, does IDLE get any info at
Terry J. Reedy added the comment:
https://docs.python.org/3/library/exceptions.html#SystemExit says: skip
traceback, convert default None to 0, print any other non-int and convert to 1,
and pass unprinted int to C exit().
I agree that IDLE should also print non-ints. The IDLE doc should
Change by Terry J. Reedy :
--
pull_requests: +13345
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issue36958>
___
___
Python-
Terry J. Reedy added the comment:
New changeset 6d965b39b7a486dd9e96a60b19ee92382d668299 by Terry Jan Reedy in
branch 'master':
bpo-36958: In IDLE, print exit message (GH-13435)
https://github.com/python/cpython/commit/6d965b39b7a486dd9e96a60b19ee92
Terry J. Reedy added the comment:
Thanks for the report.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Michael J. Sullivan :
--
pull_requests: +13419
___
Python tracker
<https://bugs.python.org/issue36878>
___
___
Python-bugs-list mailing list
Unsub
Michael J. Sullivan added the comment:
I think this is done!
--
___
Python tracker
<https://bugs.python.org/issue36878>
___
___
Python-bugs-list mailin
New submission from Michael J. Sullivan :
The different varieties of PyObject_CallMethod* routines all operate by doing a
PyObject_GetAttr to fetch an object to call. It seems likely to be worthwhile
to take advantage of the LOAD_METHOD optimization that avoids creating a bound
method object
Change by Michael J. Sullivan :
--
keywords: +patch
pull_requests: +13433
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue37017>
___
_
Change by Michael J. Sullivan :
--
nosy: +brett.cannon, serhiy.storchaka, vstinner, yselivanov
___
Python tracker
<https://bugs.python.org/issue37017>
___
___
Michael J. Sullivan added the comment:
I believe that this is orthogonal to PEP 590.
PyObject_CallMethodObjArgs and friends take varargs which need to be copied
into an array one way or another. It is easy (and efficient) to prepend the
base while copying the function arguments into the
New submission from Terry J. Reedy :
Slightly simplified, pyshell.ModifiedInterpreter.built_subprocess runs
f'{sys.executable} -c "__import__('idlelib.run').run.main()"'.
"__import__('idlelib.run')" creates sys.modules['idlelib']
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +13471
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/13560
___
Python tracker
<https://bugs.python.org/issu
New submission from Terry J. Reedy :
On both Windows and Mac
--
messages: 343448
nosy: cheryl.sabella, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: Zoomheight restores to default, not previous size
type: behavior
Change by Terry J. Reedy :
--
Removed message: https://bugs.python.org/msg343448
___
Python tracker
<https://bugs.python.org/issue37039>
___
___
Python-bug
Terry J. Reedy added the comment:
New changeset 81bb97df6138c755e229dcdac9bed747e31b61b3 by Terry Jan Reedy in
branch 'master':
bpo-37038: Make idlelib.run runnable; add test clause (GH-13560)
https://github.com/python/cpython/commit/81bb97df6138c755e229dcdac9bed7
New submission from Terry J. Reedy :
Restore Height restores to default, not previous size. This is a bit
surprising, but is documented. "Toggles the window between normal size and
maximum height. The initial size defaults to 40 lines by 80 chars unless
changed on the General tab o
Terry J. Reedy added the comment:
Andre Roberge reported on idle-dev that Restore Height has no effect for him
with Python 3.7.3, 32 bit, on Windows 10. Since it works for me on Win 10,
3.7.3-32 bit local debug build and 3.7.3-64 bit installed and ditto for 3.8, I
am initially baffled
Terry J. Reedy added the comment:
I have a 27" 2560X1440 screen. For me:
>>> import tkinter; tkinter.Tk().tk.call('tk', 'scaling')
1.333...
I presume 3200x200 should be 3200x2000 and that the diagonal size is small
enough that the screen is a HiDPI screen,
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +13483
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/13576
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Tal, how is zoom/restore height working on your Mac?
On my updated Macbook Air Mohave, the zoom bottom margin of 88 is too large.
Since IDLE starts fully zoomed on this small screen, I determined this by
shrinking Shell and then zooming it. The result
Terry J. Reedy added the comment:
The current patch fixed the hidden status bar on Windows. I just had to
increase the margin reserved for the taskbar from 76 to 114. This will also
work if the taskbar is moved to the top of the screen. If the taskbar is moved
to either side or if it is
Terry J. Reedy added the comment:
Thank you. Along with your path browser report, things are much
clearer. With variable pixel densities and custom settings, we cannot
use fixed pixel or even mm numbers. 114 is right for me because I have
Display Setting "Change the size of text, apps
Terry J. Reedy added the comment:
Another reason to replace IDLE's custom tree widget with hard-coded constants
with ttk.Treeview.
I am closing this because I believe that #31552 will solve this problem. For
an initial check, run the following test code, extracted from
https://tkdoc
Terry J. Reedy added the comment:
I changed the type to behavior because the hard-coded pixel heights prevent the
browsers form being usable on at least one HiDPI monitor. I closed #37041 in
favor of this on the presumption that ttk.Treeview will work on such monitors,
at least after
Terry J. Reedy added the comment:
Andre, we need to severely trim quotes when posting by email. A summary with
added info.
Andre: 2000 pixels / 183 mm = 10.9 pixels / mm
Terry: 1440 pixels / 336 mm = 4.3 pixels / mm
Andre: Windows Display setting text size, custom scaling = 200%, 200%
Terry
Terry J. Reedy added the comment:
When you start, it should say 'Zoom Height', then 'Restore Height' after you
maximize. But if on a screen small enough that the initial height is the same
as zoomed, IDLE might get confused. No change on Linux in the PR is the
intent
Terry J. Reedy added the comment:
New changeset df9b032f47e4edaf306d95449370e565ee470018 by Terry Jan Reedy in
branch 'master':
bpo-37039: IDLE - zoomheight fixes (GH-13576)
https://github.com/python/cpython/commit/df9b032f47e4edaf306d95449370e5
Terry J. Reedy added the comment:
Tal, please go ahead after updating your repository. I just merged PR 13576
after reverting the change from 72 to 114 that only works for me and adding
Skip News. Include a blurb with your patch. It only needs to include something
like "Fix zoom h
Terry J. Reedy added the comment:
Hooray! Now that PEP570 is implemented in 3.8:
>>> def f(a, /, *, b): return 3
...
>>> f(0, b=2)
3
# other combinations raise
and somewhat documented, ('/' in grammar of '8.6 Function definitions', though
not explain
Terry J. Reedy added the comment:
In msg342227 Pablo Galindo Salgado said "I am +1 to such a sentence, but I
think this is a decision that more core devs should agree on."
> "These types are not supposed to be instantiated outside of CPython internals"
At least Petr
Terry J. Reedy added the comment:
Raymond, which definition of 'whitespace' do you intent?
Git gui also marks trailing spaces in frozen diffs. This is much harder to do
while editing as text can be read, keyed, and pasted. Most spaces and blank
lines are only temporarily traili
Terry J. Reedy added the comment:
Pablo, I am all for respectfully preserving implementation freedom where we
can. From idlelib.__init__: [idlelib files other than idle*.*] "are private
implementations. Their details are subject to change. See PEP 434 for more.
Import them at you
Terry J. Reedy added the comment:
Dan, please leave this closed. It duplicates #31815 and should be closed on
that grounds alone, regardless of the status of the latter. #31815 was closed
in favor of #33939, which is open, with ongoing discussion. Resolution either
way is blocked because
Terry J. Reedy added the comment:
An f-string is equivalent to a format string and call. The exact details are
not important.
An field with no value is an error either way. (I prefer the compile-time
exception.)
>>> f'{}a'
SyntaxError: f-string: empty expression n
Terry J. Reedy added the comment:
Please verify with 3.7.3+ and the latest version of Sphinx. Even if there is a
problem, Sphinx is not an stdlib package. The problem would only be relevant
to this tracker, rather than the Sphinx tracker, if it were due to our
customizations or use of
Terry J. Reedy added the comment:
Can you prepare a PR?
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue37073>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
I presume you are trying to compile CPython. Perhaps you might do better with
MicroPython, designed for micro devices. Steve, do you know anything about
CPython on Arm with linux?
--
nosy: +steve.dower, terry.reedy
Terry J. Reedy added the comment:
The augmented assignment symbol, like that for plain assignment, is not,
properly speaking, an operator. But it definitely is a symbol that needs to be
documented.
1. Generally update the help symbol list.
2. Document :=, assignment expression, in the
Terry J. Reedy added the comment:
If .../Tools and its subdirectories had __init__.py files, the presence of
sys.prefix on sys.path, on Windows, would allow imports from those subdirs.
Otherwise, it only provides a second way to import stdlib modules. This seems
like a bit of a bug
Terry J. Reedy added the comment:
Yes, I think " Not for the faint of heart." could be replaced or augmented by
'api may change'
--
___
Python tracker
<https://bug
Terry J. Reedy added the comment:
New changeset 1a4d9ffa1aecd7e750195f2be06d3d16c7a3a88f by Terry Jan Reedy
(Cheryl Sabella) in branch 'master':
bpo-32411: IDLE: Remove line number sort in browser.py (#5011)
https://github.com/python/cpython/commit/1a4d9ffa1aecd7e750195f2be06d3d
Terry J. Reedy added the comment:
yes ;-)
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
3 recent 'doit' requests (2 on PR 1589) raise my priority for this issue.
When a user runs a file from an editor, IDLE simulates, as well as it can, the
user entering 'python -i path' in a system command line shell. Both on a
command l
Terry J. Reedy added the comment:
When running IDLE normally, with a subprocess, it would be possible to pass
arguments to python itself when IDLE restarts the user process (with
shell.restart_shell()). That would be another issue. We would have to look at
whether any options would disable
4501 - 4600 of 13135 matches
Mail list logo