| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Every other menudef key is the lowercase version of the
corresponding main menu entry (in this case, 'Window').
|
|
|
| |
Make it the same as when one runs 'python'.
|
|
|
| |
Change suggested by Eryk Sun in a comment on PR 7137 after it was merged.
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Windows 8.1+ or 10, with DPI compatibility properties of the Python binary
unchanged, and a monitor resolution greater than 96 DPI, this should
make text and lines sharper. It should otherwise have no effect.
Using a magnifier, I determined that the improvement comes from horizontal and
lines being better lined up with the monitor pixels. I checked that this call causes
no problem on any Windows buildbot, including the Win7 buildbots. Unlike most
IDLE patches, this one can be easily reverted by users by removing a few lines,
at the top of idlelib/pyshell.py.
|
|
|
|
|
|
|
|
|
| |
Like Python, IDLE optionally runs one startup file in the Shell window
before presenting the first interactive input prompt. For IDLE,
option -s runs a file named in environmental variable IDLESTARTUP or
PYTHONSTARTUP; -r file runs file. Python sets __file__ to the startup
file name before running the file and unsets it before the first
prompt. IDLE now does the same when run normally, without the -n
option.
|
|
|
|
|
|
| |
Editor and output windows only see an empty last prompt line.
This simplifies the code and fixes a minor bug when newline is inserted.
Sys.ps1, if present, is read on Shell start-up, but is not set or changed.
|
| |
|
| |
|
|
|
|
|
|
|
| |
(#2283)
Split TextViewer class into ViewWindow, ViewFrame, and TextFrame classes so that instances
of the latter two can be placed with other widgets within a multiframe window.
Patch by Cheryl Sabella.
|
| |
|
|
|
| |
Make also minor PEP8 coding style fixes on modified imports.
|
| |
|
|
|
|
| |
Fix error in format string.
|
| |
|
| |
|
|
|
|
| |
This removes one problem inport and reduces len(sys.modules) by 37.
|
| |
|
|
|
|
|
| |
Fix code and tests that fail with this restriction.
Fix htests to not create a second and redundant root and mainloop.
|
| |
|
| |
|
|
|
|
| |
Delete now unneeded tk version tests and code for older versions.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This follows the previous patch that changed idlelib file names.
Class names that matched old module names are not changed.
Change idlelib imports in turtledemo.__main__.
Exception: config-extensions.def. Previously, extension section
names, file names, and class names had to match. Changing section
names would create cross-version conflicts in config-extensions.cfg
(user customizations). Instead map old names to new file names
at point of import in editor.EditorWindow.load_extension.
Patch extensively tested with test_idle, idle_test.htest.py, a custom
import-all test, running IDLE in a console to catch messages,
and testing each menu item. Based on a patch by Al Sweigart.
|
|
|