| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Fix this to work with the new (still undocumented) tabnanny API.
I'm afraid Stephen will have to add this fix to the IDLE fork code
base as well.
|
| |
|
| |
|
|
|
|
|
| |
Move computation of sets of characters out of the body of the function that
uses them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
found a bug here. Here's the deal:
Class PyShell derives from class OutputWindow. Method PyShell.close()
wants to invoke its parent method, but because PyShell long ago was
inherited from class PyShellEditorWindow, it invokes
PyShelEditorWindow.close(self). Now, class PyShellEditorWindow itself
derives from class OutputWindow, and inherits the close() method from
there without overriding it. Under the old rules,
PyShellEditorWindow.close would return an unbound method restricted to
the class that defined the implementation of close(), which was
OutputWindow.close. Under the new rules, the unbound method is
restricted to the class whose method was requested, that is
PyShellEditorWindow, and this was correctly trapped as an error.
|
|
|
|
|
| |
stmt. Along w/ the preceding change to keyword.py, making all this work
w/ a future-stmt just looks harder and harder.
|
|
|
|
|
|
| |
K. O'Brien on idle-dev.
(Should other bindings follow suit?)
|
|
|
|
|
|
| |
config.txt).
*** This is a bugfix-release candidate (for 2.1.1 and 2.0.1)! ***
|
|
|
|
| |
This now uses the new gotofileline() method defined in FileList.py.
|
|
|
|
|
|
| |
rather than the idle.py script. This has advantages and
disadvantages; the biggest advantage being that we can more easily
have an alternative main program.
|
|
|
|
|
|
|
| |
Add gotofileline(), a convenience method which I intend to use in a
variant.
Rename test() to _test().
|
|
|
|
| |
support.
|
|
|
|
|
| |
module has been included since Python 2.0, and that is the preferred
interface.
|
|
|
|
|
|
|
|
| |
ModifiedInterpreter.__init__.
Was getting mystery
ModifiedInterpreter instance has no attribute 'save_warnings_filters'
errors at odd times (for sure in a fresh IDLE, fresh file, then Run Script).
|
|
|
|
| |
interactively.
|
|
|
|
|
| |
CNRI release in a corner of the basement of a government building on a
planet circling Aldebaran.)
|
|
|
|
| |
instead.
|
|
|
|
| |
IDLE, and it likely changes across releases anyway).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
keywords. Cheap approximation to the truth.
|
|
|
|
| |
preferences. It is now in config.txt or ~/.idle.
|
| |
|
| |
|
|
|
|
| |
Get rid of assignment to unused self.text.wordlist.
|
| |
|
| |
|
|
|
|
|
|
| |
parsing functions in support of auto-indent weren't expecting Unicode
strings, but text.get() can now return them (although it remains muddy as
to exactly when or why that can happen). Fixed that with a Big Hammer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
subset of Win32 ShellExecute's functionality. Guido wants this because
IDLE's Help -> Docs function currently crashes his machine because of a
conflict between his version of Norton AntiVirus (6.10.20) and MS's
_popen. Docs for startfile are being mailed to Fred (or just read the
docstring -- it tells the whole story).
Changed webbrowser.py to use os.startfile instead of os.popen on Windows.
Changed IDLE's EditorWindow.py to pass an absolute path for the docs
(hardcoding ShellExecute's "directory" arg to "." as used to be done let
IDLE work, but made the startfile command exceedingly obscure for other
uses -- the MS docs are terrible, of course, & still not sure I
understand it).
Note that Windows Python must link with shell32.lib now! That's where
ShellExecute lives.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The cause was that the replace code necessarily used a PCRE internal
function to to template expansion.
The fix changes the code to use an SRE internal if SRE is used, and a
PCRE internal if SRE is used; in a way that should work with 1.5.2.
The solution can be sped up tremendously under the assumption that the
choice between sre and pre is not changed during the execution of the
program; especially replace-all will be slow.
But I'll leave that to someone else.
|
|
|
|
| |
This closes bug #110660.
|
|
|
|
|
|
|
|
| |
created. This allows the application-specific Tkinter
initialization to be executed if present. Also pass an explicit
className parameter to the Tk() constructor.
This closes SourceForge bug #110618.
|
|
|
|
| |
as main.c.
|
|
|
|
|
|
|
| |
uses the BrowserControl module.
BrowserControl is not removed to allow IDLE to be distributed separately
and still be used with Python 1.5.2.
|
|
|
|
| |
like the short, ambiguous name.
|
|
|
|
|
|
|
| |
Instead of using Netscape through os.system(), use the new
browser.open() function to load the documentation on the
default browser. On Windows, this will use the installed
documentation if it exists, instead of hitting python.org.
|
|
|
|
| |
Web browsers.
|
|
|
|
| |
option name for clarity.
|
| |
|
|
|
|
|
| |
allowing it to be run from anywhere, including through a symlink to
the actual idle.py script.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Fix bad auto-indent I recently introduced when replacing the regexp that
could cause re to blow up:
if or_any_other_block_opener:
# one indenting comment line
^ cursor ended up at the caret (the bug)
^ but belongs here (the post-patch behavior)
|
|
|
|
|
|
| |
process
not yet connected with IDLE
|
|
|
|
|
| |
It beeps if you try to insert or delete before the "iomark" mark.
This makes the shell less confusing for newbies.
|
| |
|