Terry J. Reedy added the comment:
The README patch will finish this issue. Fixing individual failures and
investigating the crash will be new issues.
--
___
Python tracker
<https://bugs.python.org/issue25
Terry J. Reedy added the comment:
New changeset 620f70eed615efde35517d7ae86354de3b2a0d03 by Terry Jan Reedy in
branch 'master':
bpo-25588: Document autotest in idle_test/README.txt. (#4000)
https://github.com/python/cpython/commit/620f70eed615efde35517d7ae86354
Change by Terry J. Reedy :
--
pull_requests: +3974
stage: commit review -> patch review
___
Python tracker
<https://bugs.python.org/issue25588>
___
___
Python-
Terry J. Reedy added the comment:
New changeset 0fee56c86344386bde8486ab803f564cb8a5203b by Terry Jan Reedy in
branch '3.6':
[3.6] bpo-25588: Document autotest in idle_test/README.txt. (GH-4000) (#4001)
https://github.com/python/cpython/commit/0fee56c86344386bde8486ab803f56
Terry J. Reedy added the comment:
Running the file containing 'import test.autotest' directly with python gives
the test_aifc failure and the same bizarre behavior after
test_concurrent_futures. Testing restarts apparently in 5 parallel threads or
processes. The lines of outp
Terry J. Reedy added the comment:
New changeset 28773ca7a7aa58a28e42a9eb0066acf71b5a8dc4 by Terry Jan Reedy
(Dargor) in branch 'master':
bpo-31780: Fix incorrect error message for ',x', ',b', ',o' specs (#4002)
https://github.com/python/cpython/commit/
Terry J. Reedy added the comment:
New changeset 59b5c139d2ae95b1d1da63f81c3d777932215533 by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.6':
[3.6] bpo-31780: Fix incorrect error message for ',x', ',b', ',o' specs
(GH-4002) (#4004)
Change by Terry J. Reedy :
--
assignee: -> terry.reedy
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python
Terry J. Reedy added the comment:
As I understand it, the patch amounts to ignoring any custom __eq__ and
__hash__ on an Exception class when printing tracebacks and, in effect, using
the default id-based versions inherited from object, as is being assumed. This
seems right to me in this
Change by Terry J. Reedy :
--
pull_requests: +4000
___
Python tracker
<https://bugs.python.org/issue30928>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset e2e42274ee5db1acedf57b63943e1f536d7a25bc by Terry Jan Reedy in
branch 'master':
bpo-13802: Use non-Latin characters in IDLE's Font settings sample. (#3960)
https://github.com/python/cpython/commit/e2e42274ee5db1acedf57b639
Terry J. Reedy added the comment:
New changeset 27288de0856c6fbe56354adb312ae706ce8bc7de by Terry Jan Reedy in
branch 'master':
bpo-30928: Update idlelib/NEWS.txt to 2017 Oct 17. (#4025)
https://github.com/python/cpython/commit/27288de0856c6fbe56354adb312ae7
Terry J. Reedy added the comment:
New changeset ecacbb4f22ae86d29a73a5f715bce07d091da10d by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.6':
[3.6] bpo-13802: Use non-Latin characters in IDLE's Font settings sample.
(GH-3960) (#4027)
https://github.com/python
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:
New changeset 98e0f26f2e4cbf5c2ca27b39f43c1cb0114c6e3c by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.6':
[3.6] bpo-30928: Update idlelib/NEWS.txt to 2017 Oct 17. (GH-4025) (#4028)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
Correct. Fixed.
--
___
Python tracker
<https://bugs.python.org/issue31780>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
I am re-opening because there is a bug, a conflict between doc and code comment
and actual behavior, and one which has nothing to do with IDLE. The question
is whether to fix it or to delete the invitation to invoke the bug.
The reason the devguide gives an
Change by Terry J. Reedy :
--
nosy: +davin, pitrou
versions: +Python 3.7 -Python 3.6
___
Python tracker
<https://bugs.python.org/issue31782>
___
___
Python-bug
Change by Terry J. Reedy :
--
nosy: +bquinlan
___
Python tracker
<https://bugs.python.org/issue31783>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
The error log is not present. Try uploading again.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue31
Terry J. Reedy added the comment:
Patch is trivial two lines but needs review and merge from someone familiar
with Sphinx stuff.
[Éric, https://docs.python.org/devguide/experts.html contains the invalid
Eric.Araujo]
--
nosy: +ezio.melotti, merwok, terry.reedy, willingc
Terry J. Reedy added the comment:
2.7 site module has
def abs__file__():
"""Set all module' __file__ attribute to an absolute path"""
for m in sys.modules.values():
if hasattr(m, '__loader__'):
continue # don't
Change by Terry J. Reedy :
--
nosy: +davin, pitrou, terry.reedy
___
Python tracker
<https://bugs.python.org/issue31804>
___
___
Python-bugs-list mailing list
Unsub
Change by Terry J. Reedy :
--
versions: +Python 2.7, Python 3.6, Python 3.7 -Python 3.5
___
Python tracker
<https://bugs.python.org/issue31804>
___
___
Python-bug
Change by Terry J. Reedy :
--
nosy: +ezio.melotti, rbcollins
___
Python tracker
<https://bugs.python.org/issue31807>
___
___
Python-bugs-list mailing list
Unsub
Change by Terry J. Reedy :
--
nosy: +michael.foord
___
Python tracker
<https://bugs.python.org/issue31807>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
nosy: +yselivanov
___
Python tracker
<https://bugs.python.org/issue31811>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
title: python -m enshure pip stucks -> python -m ensurepip hangs
___
Python tracker
<https://bugs.python.org/issue31813>
___
_
Change by Terry J. Reedy :
--
nosy: +barry, serhiy.storchaka
versions: +Python 3.7 -Python 3.4, Python 3.5
___
Python tracker
<https://bugs.python.org/issue31
Terry J. Reedy added the comment:
As I reported on #31761, the exact result of 'import test.autotest' depends on
exactly how it is run and with what. I suspect that OS might have an effect.
--
nosy: +terry.reedy
___
Python track
Terry J. Reedy added the comment:
Victor, why do you persist in the nearly irrelevant focus on IDLE? As I
reported above, failures and crashes happen ***without*** involving IDLE.
Serhiy appears to report the same in #31794.
--
title: Failures and crashes when running tests by
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +4041
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue31836>
___
___
Py
Terry J. Reedy added the comment:
Running test_code_module afte test_idle, which somewhere executes idle code
that sets sys.ps1, exposed a deficiency in test_code_module.
TestInteractiveConsole.test_ps1 is intended to test this code in
InteractiveConsole.interact.
try
Terry J. Reedy added the comment:
On the PR, Serhiy asks "Wouldn't be better to restore sys.ps1 in test_idle if
it is changed here?"
Aside from the fact that, as far as I know, it is not sanely possible to do so,
I think it a bug for a test to be unnecessarily fragile. Both
Terry J. Reedy added the comment:
A new Stackoverflow question gives a better illustration of how special-casing
KeyError can be a nuisance.
https://stackoverflow.com/questions/46892261/new-line-on-error-message-in-idle-python-3-3/46899120#46899120
>From a current repository build instead
New submission from Terry J. Reedy :
This issue is about cleaning up IDLE's use of sys.ps1 for its prompt (sys.ps2
is not used). A. This will make for cleaner code and fix some bugs. B. This
will be better for testing. (Some possible changes to pyshell might make
sys.ps1 irrelevant
Terry J. Reedy added the comment:
#31858 fixes pyshell and editor so that a user setting of sys.ps1 in a startup
file continues to be used after turning debugger on, instead of erased. I
consider this to be an IDLE documentation issue, to add something in the
introduction. Discussing IDLE
Terry J. Reedy added the comment:
The debugger also steps into importlib, if one steps 'into' an import
statement. Most of the time, this is a nuisance. If one is importing from
one's own module, stepping over 'import mymod' is not a satisfactory way to
avoid thi
Terry J. Reedy added the comment:
IDLE now uses ttk unconditionally by requiring tk 8.5. The patch can therefore
be simplified accordingly.
--
___
Python tracker
<https://bugs.python.org/issue17
Terry J. Reedy added the comment:
If one starts IDLE from a command-line console (python -m idlelib) or Python
console (import idlelib.idle), sys.__stdout__ is the TextIOWraper for that
console and .fileno() returns 1. .get_terminal_size() will then return the
console size. The exception
Terry J. Reedy added the comment:
If one starts IDLE from a command-line console (python -m idlelib) or Python
console (import idlelib.idle), sys.__stdout__ is the TextIOWraper for that
console and .fileno() returns 1. .get_terminal_size() will then return the
console size. The exception
Terry J. Reedy added the comment:
I am preparing a PR for shutil.get_window_size. Pyplot should probably call
that instead of the os version.
--
___
Python tracker
<https://bugs.python.org/issue24
Terry J. Reedy added the comment:
Uh, sorry for the noise. I see now that shutil was already patched by Victor
and you in #26801, so that it already works with IDLE started from an icon. So
now I don't understand your last comment, "Patching shutil will help f
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +4107
stage: test needed -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
keywords: +patch, patch
pull_requests: +4107, 4108
stage: test needed -> patch review
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
I put the new shell variables into PyShell itself. There is usually only one
instance created in a session.
I tested the patch manually in both shell and editor with both the default
prompt and with sys.ps1 set before importing idlelib.idle. Beginning to
Change by Terry J. Reedy :
--
pull_requests: +4109
stage: commit review -> patch review
___
Python tracker
<https://bugs.python.org/issue31858>
___
___
Python-
Terry J. Reedy added the comment:
Thanks for the patch. Adding the feature is somehow easier than I expected.
After moving the sample text to module level, which I considered doing before,
saving edits for the duration of an IDLE session turned out to also be easy.
With 11 point Lucida
Terry J. Reedy added the comment:
Cheryl, thanks for explaining, in part, why I don't want to do this ;-). Using
the the current .def, .cfg system would mean that the default sample would be
frozen. I want to be able to change it.
--
___
P
Terry J. Reedy added the comment:
New changeset ed6554c487fb2403bc88be6deee611c7a4171d33 by Terry Jan Reedy
(Serhiy Storchaka) in branch 'master':
bpo-31860: Make the font sample in the IDLE font configuration dialog editable.
(#4106)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
New changeset 6a2957de08e0c2d73f3124d12874b408cda4633d by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.6':
bpo-31860: Make the font sample in the IDLE font configuration dialog editable.
(GH-4106) (#4154)
https://github.com/python/cpyt
Change by Terry J. Reedy :
--
pull_requests: -4123
___
Python tracker
<https://bugs.python.org/issue31860>
___
___
Python-bugs-list mailing list
Unsubscribe:
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:
The part about startup files in my last message is probably wrong. If one
starts IDLE by 'import idlelib.idle' after setting 'sys.ps1 = 'me ', then the
setting is recognized. However, a startup file that runs in the user process
w
Change by Terry J. Reedy :
--
pull_requests: -4108
___
Python tracker
<https://bugs.python.org/issue31858>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
pull_requests: -4109
___
Python tracker
<https://bugs.python.org/issue31858>
___
___
Python-bugs-list mailing list
Unsubscribe:
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:
New changeset 5a4bbcd479ce86f68bbe12bc8c16e3447f32e13a by Terry Jan Reedy in
branch 'master':
bpo-31836: Test_code_module now passes with sys.ps1, ps2 set (#4070)
https://github.com/python/cpython/commit/5a4bbcd479ce86f68bbe12bc8c16e3
Terry J. Reedy added the comment:
New changeset 8ed5644f78e57cd59813097b35906ad6f1775f95 by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.6':
bpo-31836: Test_code_module now passes with sys.ps1, ps2 set (GH-4070) (#4156)
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 :
--
pull_requests: -4125
___
Python tracker
<https://bugs.python.org/issue31860>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
To answer Mark, even though no longer nosy: In general, sequence methods
.count, .index, and .__contains__ take sequence members and only members as
arguments. Unicode sequences are exceptional because codepoints are not Python
objects, so string
Terry J. Reedy added the comment:
For this idea to be revived, someone should write a PEP and open a new issue.
--
___
Python tracker
<https://bugs.python.org/issue23
New submission from Terry J. Reedy :
If one enters text in Shell after a '>>> ' prompt, Home should initially send
the cursor between the prompt and entered text and then to the beginning of the
line, and so on as a toggle. On all current releases (and the final 3.5.4), o
Terry J. Reedy added the comment:
The problem is back, at least on Windows, in 2.7.14, 3.5.4, 3.6.3, and 3.7.0.
Numlock has no effect. I open #31930 for this.
--
resolution: accepted -> fixed
stage: -> resolved
___
Python tracker
Change by Terry J. Reedy :
--
nosy: +tim.peters
versions: +Python 3.7 -Python 3.5
___
Python tracker
<https://bugs.python.org/issue31889>
___
___
Python-bug
Terry J. Reedy added the comment:
Haneef, thank you for the explanation. Any such addition would need a PEP.
But I agree with Marc-Andre that supporting the multitude of calendars is out
of scope for the stdlib. So I suspect such a PEP would be rejected, with the
suggestion already given
Terry J. Reedy added the comment:
The tracker is for patching CPython. Please consider closing this and asking
your question on python-list. When you post code, do so only once, and without
line numbers, so it can be copied and run as is. Do include data on the ref
leaks.
--
nosy
Terry J. Reedy added the comment:
The following might be relevant to this issue:
https://www.python.org/dev/peps/pep-0011/#supporting-platforms
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue31
Terry J. Reedy added the comment:
> `PYTHONPROFILEIMPORTTIME=x python` isn’t *too* onerous
It does not work on Windows.
C:\Users\Terry>PYTHONPROFILEIMPORTTIME=x python
'PYTHONPROFILEIMPORTTIME' is not recognized as an internal or external command,
operable program or batch fi
Terry J. Reedy added the comment:
> with environment variable you get more information.
For timing package import time, such as for idlelib.pyshell, rather than bare
python startup time, the extra information is just a bit more noise to ignore.
The importtime output is sent to std
New submission from Terry J. Reedy :
MacOS Sierra 10.12.6, Python 3.6.1, tk 8.5.15 or .18. Consider this code with
arbitrary compound statements and therefore indented lines.
for i in range(10):
if i%2:
print(f(i))
Irv Kalb on idle-dev thread 'Bug in cursor placement in
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +4286
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue31971>
___
___
Py
Terry J. Reedy added the comment:
The failure in tearDownClass is a side-effect of the failure in test_set_keys
causing 'p.set_keys_type = Func' being skipped. That could be prevented with
'try:finally: p.set_keys_type = Func'.
I am completely puzzled at the sudden fa
Terry J. Reedy added the comment:
In build 129, which finished perhaps 3 hours ago, test_idle passed again. I
think we should merge the fix anyway in case 'hover' appears again on some
machine.
A similar try:except is needed
Terry J. Reedy added the comment:
3.7.0a2 is out now. There will be an .0a3, .0a4, then .0b1 in January. Ned is
saying that at least the last of these will be compiled to work with 8.6. Once
that occurs, I would switch as most of the remaining changes before the .0
release will be fixes
Terry J. Reedy added the comment:
The RESTART line means that you ran this in IDLE and that your program crashed
the separate (sub)process that was running your code. When IDLE notices this,
it starts a new subprocess.
To test whether this is an IDLE-only problem, I ran your code without
Terry J. Reedy added the comment:
It is possible that this is a duplicate of an existing crash report, but I am
not familiar with such at all. With only the standard, non-specific error
message, it is hard to search ;-). What OS are you using
Terry J. Reedy added the comment:
I believe I used the 2nd version of kakuru.py.
--
___
Python tracker
<https://bugs.python.org/issue32022>
___
___
Python-bug
Terry J. Reedy added the comment:
So the hack is not specific to DOS but is still needed for Windows .bat files.
They run in Command Prompt, which was once called the DOS box. (I don't know
if they work unaltered in PowerShell.) It seems that the doc should be updated.
--
Terry J. Reedy added the comment:
PS. When you respond by EMail, please delete the quoted message, as it is
redundant, on the web page, with the original copy above.
--
___
Python tracker
<https://bugs.python.org/issue32
Terry J. Reedy added the comment:
I don't know either. Once of the Windows experts should review and revise.
--
___
Python tracker
<https://bugs.python.org/is
New submission from Terry J. Reedy :
The itertools roundrobin recipe has an outer loop executed a preset number of
times. It is currently implemented with two assignments and a while loop.
https://docs.python.org/3/library/itertools.html#itertools-recipes
These can be replaced with a for loop
Terry J. Reedy added the comment:
Error is printed in console window if IDLE started from one.
>>> import idlelib.idle
# Select pathbrowser in File menu
Exception in Tkinter callback
Traceback (most recent call last):
File "F:\dev\3x\lib\tkinter\__init__.py", line 1699, in
Terry J. Reedy added the comment:
The issue is this:
1. PathBrowser subclasses ModuleBrowser.
2. ModuleBrowser.init() has the common code for initializing both.
3. #31460 changed the signature of ModuleBrowser.__init__ *and* .init.
4. I must not have tested pathbrowser after the .init change
Terry J. Reedy added the comment:
I confirmed that increasing the recursion limit can change recursion behavior
on Windows.
>>> def f(): g()
...
>>> def g(): f()
...
>>> f()
With the default limit or 1000 or increase to 3000, I get a recursion error.
With th
Terry J. Reedy added the comment:
The reason double-clicking got worse from 3.6.3 to now is this. Previously,
browser.ModuleBrowserTreeItem.OnDoubleClick ignored the file_open global (set
to pyshell.flist.open in .__init__) and called pyshell.flist.open. The Class
and Method OnDoubleClick
Terry J. Reedy added the comment:
New changeset 20d48a44a54ed5e4a6df00e89ae27e3983128265 by Terry Jan Reedy
(Cheryl Sabella) in branch 'master':
bpo-32100: IDLE: Fix pathbrowser errors; improve tests. (#4484)
https://github.com/python/cpython/commit/20d48a44a54ed5e4a6df00e89ae27e
Change by Terry J. Reedy :
--
pull_requests: +4449
___
Python tracker
<https://bugs.python.org/issue32100>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset ae3c5c7b9e5e5ba53213e12cc100e32415d5762c by Terry Jan Reedy in
branch '3.6':
[3.6] bpo-32100: IDLE: Fix pathbrowser errors; improve tests. (GH-4484) (#4512)
https://github.com/python/cpython/commit/ae3c5c7b9e5e5ba53213e12cc100e3
Terry J. Reedy added the comment:
Thanks for catching and fixing this.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Terry J. Reedy :
--
components: +Installation, Library (Lib) -2to3 (2.x to 3.x conversion tool)
nosy: +serhiy.storchaka
title: Error Installing Python 3.6.3 on ubuntu 16.04 -> Re locale test fails
after installing Python 3.6.3 on ubuntu 16.04
type: resource usage -> be
Change by Terry J. Reedy :
--
versions: -Python 3.4, Python 3.5, Python 3.8
___
Python tracker
<https://bugs.python.org/issue32097>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
I suggest that you open a thread on python-ideas list: something like 'Make
argparse.HelpFormatter public'. Explain what you would like to have happen and
why.
--
nosy: +terry.reedy
___
Python track
Terry J. Reedy added the comment:
Here is the current code in idlelib.pyshell.main.
# set application icon
icondir = os.path.join(os.path.dirname(__file__), 'Icons')
if system() == 'Windows':
iconfile = os.path.join(icondir, 'idle.ico')
Terry J. Reedy added the comment:
Ned, do you agree that simply changing 'else' to 'elif not macosx.isAquaTk()'
is the best resolution?
Backporting such a change to 3.6 would be trivial; to 2.7, not. Is there any
need for the latter?
Kevin, thanks
Terry J. Reedy added the comment:
This is a duplicate of previous reports. The problem, visible in the crash
report, is that you are using the buggy Apple installed tcl/tk 8.5.9 and missed
the upgrade instructions on
https://www.python.org/download/mac/tcltk/
Ned, the web page implies that
Terry J. Reedy added the comment:
(Raymond, I wrote this before reading your message, but I believe it provides
what you requested. There is nothing special about None that is relevant to
sequence comparison. Nans just happen to be the only built-in non-reflexive
objects (that I know of
Change by Terry J. Reedy :
--
versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5
___
Python tracker
<https://bugs.python.org/issue13
Terry J. Reedy added the comment:
This is not a crash because IDLE does not crash. It does not even exit with a
traceback. Some crash and freeze bugs have been fixed since 3.4.2.
I verified with 3.7.0a2 on Win10. The failing example can be simplified to the
first two lines. Step over the
7101 - 7200 of 13135 matches
Mail list logo