New submission from Stephen Paul Chappell :
In the latest Python 3.8.0 installation when running IDLE on Windows, pressing
"Alt + T" generates the following error:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\Pytho
Stephen Paul Chappell added the comment:
When I start IDLE and the shell window appears, my first task is to press "Alt
+ T" to change from using tabs to spaces and then "Alt + U" to change from
using 8 spaces to 4. This allows code pasted from the shell into an editor
Stephen Paul Chappell added the comment:
The documentation for sys.ps1 and sys.ps2 states that they "are only defined if
the interpreter is in interactive mode." Since the IDLE shell is meant to be
interactive (and to reduce the differences between the shell and running Python
Change by Stephen Paul Chappell :
--
nosy: -Zero
___
Python tracker
<https://bugs.python.org/issue7676>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Stephen Paul Chappell :
--
nosy: -Zero
___
Python tracker
<https://bugs.python.org/issue31476>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Stephen Paul Chappell :
--
nosy: -Zero
___
Python tracker
<https://bugs.python.org/issue18558>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Stephen Paul Chappell :
--
nosy: -Zero
___
Python tracker
<https://bugs.python.org/issue31848>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Stephen Paul Chappell :
--
nosy: -Zero
___
Python tracker
<https://bugs.python.org/issue21537>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Stephen Paul Chappell :
--
nosy: -Zero
___
Python tracker
<https://bugs.python.org/issue21402>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Stephen Paul Chappell :
--
nosy: -Zero
___
Python tracker
<https://bugs.python.org/issue18601>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Stephen Paul Chappell :
--
nosy: -Zero
___
Python tracker
<https://bugs.python.org/issue24185>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Stephen Paul Chappell :
--
nosy: -Zero
___
Python tracker
<https://bugs.python.org/issue21957>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Stephen Paul Chappell :
--
nosy: -Zero
___
Python tracker
<https://bugs.python.org/issue6188>
___
___
Python-bugs-list mailing list
Unsubscribe:
Stephen Paul Chappell added the comment:
Maybe my impression has been false this whole time, but the Python interactive
interpreter seems to be very similar to the IDLE shell window. My question is,
"Why not make them even more so?" Having IDLE react to sys.ps1 and sys.ps2
op
Stephen Paul Chappell added the comment:
Zero: "not to have them added as text as is usual in a terminal window"
taleinat: "removing prompts from the shell window's text widget"
Zero: "print the values of ps1 and ps2 in the proposed ShellIO subclas
Stephen Paul Chappell added the comment:
@rhettinger: The turtle demo is easily accessible through the menus via Help >
Turtle Demo.
It is nice to see there are others interested in IDLE's improvement. :-)
--
___
Python tracker
Change by Stephen Paul Chappell :
--
nosy: +Zero
___
Python tracker
<https://bugs.python.org/issue35228>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Stephen Paul Chappell:
Ever since Python 3.6.1, trying to open a Python-source library module in IDLE
on Windows (10) has not worked properly since the installer has only been
providing *.pyc files. Learning how to use Python has always been easy since it
(1) has a great
Stephen Paul Chappell added the comment:
The URL for the installer that was used last is:
https://www.python.org/ftp/python/3.6.2/python-3.6.2-amd64-webinstall.exe
--
___
Python tracker
<https://bugs.python.org/issue31
New submission from Stephen Paul Chappell :
When Aifc_read runs initfp, it conditionally sets self._ssnd_chunk and is not
guaranteed to do so. At the bottom of the method, a check is made to see if the
attribute has a false value; and if so, an error is supposed to be raised. If a
SSND chunk
New submission from Stephen Paul Chappell:
The following interactive session shows that iterables are not detected
properly by the `collections.abc.Iterable` class.
>>> class IsIterable:
def __init__(self, data):
self.data = data
def __getitem__(
New submission from Stephen Paul Chappell:
The example at the bottom is good but has a line with a bad variable it is
name. It says:
with open(fromlines) as fromf, open(tofile) as tof:
fromlines, tolines = list(fromf), list(tof)
In the first line, fromlines does no even exist yet
Stephen Paul Chappell added the comment:
If my program needed to know if an object is iterable, it would be tempting to
define and call the following function instead of using
collections.abc.Iterable:
def iterable(obj):
try:
iter(obj)
except TypeError
Stephen Paul Chappell added the comment:
Maybe this would have been more appropriate as a question on StackOverflow:
What is the proper way of asking if an object is iterable if it does not
support the iterator protocol but does support the old getitem protocol? One
might argue that it is
New submission from Stephen Paul Chappell:
If a call is made to tkinter.NoDefaultRoot, then calls to
tkinter.ttk._val_or_dict may fail. NoDefaultRoot ends with "del _default_root"
(line 174) and removes the variable from the module's namespace. _val_or_dict
can try to access th
Stephen Paul Chappell added the comment:
I discovered the problem when trying to run the program listed at
http://code.activestate.com/recipes/577633/ (Directory Pruner 2).
--
___
Python tracker
<http://bugs.python.org/issue21
Stephen Paul Chappell added the comment:
It seems that most functions and methods do not bother checking if
_default_root exists before trying to access it. However, upon seeing line 366
in ttk (if tkinter._support_default_root:), my recommendation would be to
change line 319 to "if tk
Stephen Paul Chappell added the comment:
There is discussion of removing wantobjects in issue3015. If it gets removed, a
better patch might be created for future versions of tkinter. However,
accessing self.tk would probably be a good replacement for anywhere
tkinter._default_root can be
Stephen Paul Chappell added the comment:
>Because there are explicit tests for these private functions.
Does that not mean that both the functions and their explicit tests should be
changed?
--
___
Python tracker
<http://bugs.python.org/issu
New submission from Stephen Paul Chappell:
While examining the implementation for lru_cache, it came to my attention that
the wrappers ignore the possibility of exceptions. Is this on purpose? If the
cache is designed to reduce the overhead of running certain functions, it seems
like
Changes by Stephen Paul Chappell :
--
nosy: +Zero
versions: +Python 3.4, Python 3.5
___
Python tracker
<http://bugs.python.org/issue7676>
___
___
Python-bug
New submission from Stephen Paul Chappell:
In the string module, the definition of whitespace is ' \t\n\r\v\f'. However,
the representation of string.whitespace is ' \t\n\r\x0b\x0c'. Would it be
terribly inconvenient to change the representation of '\x0b\x0c' to
Stephen Paul Chappell added the comment:
If you want the IDLE shell to be as consistent as possible with the editor
windows, changing the TAB binding to insert four spaces instead of a tab
(alternative 2) would be helpful.
--
___
Python tracker
Stephen Paul Chappell added the comment:
In Lib\idlelib\PyShell.py, there are usetabs and indentwidth attributes in the
PyShell class. Is there some reason that these settings cannot be reconfigured
in the Options > Configure IDLE... menu? I just edited these to False and 4
respectively
New submission from Stephen Paul Chappell :
This is what I get while the interactive interpreter (IDLE 3.0.1) on the
platform
Python 3.0.1 (r301:69561, Feb 13 2009, 20:04:18) [MSC v.1500 32 bit
(Intel)] on win32
>>> a = -6.276479035564047
>>> b = -5.797449749
Changes by Stephen Paul Chappell :
--
nosy: +Zero
___
Python tracker
<http://bugs.python.org/issue26158>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Stephen Paul Chappell :
--
nosy: +Zero
___
Python tracker
<http://bugs.python.org/issue24185>
___
___
Python-bugs-list mailing list
Unsubscribe:
37 matches
Mail list logo