Commit Graph

342 Commits

Author SHA1 Message Date
Raymond Hettinger
96bf0d75e2 Kurt pointed out another method affected by the changes to pyclbr.py. 2003-01-22 13:29:00 +00:00
Raymond Hettinger
18acea7c8e SF bug #668906: class browser raises AttributeError
The Py2.3 updates to the pyclbr module return both Class and Function
objects.  The IDLE ClassBrowser module only knew about Class and could
not handle objects which did not define "super".

Fixed by adding a guard.
2003-01-18 22:53:36 +00:00
Martin v. Löwis
2206cd17ce Properly find and install icons even if calling setup.py from the build dir. 2003-01-16 11:03:33 +00:00
Raymond Hettinger
a9cfa5501f SF bug #652933 (for IdleFork): Open Module "math" Fails
When a module doesn't have a __path__ attribute, trigger a dialog box
rather than dumping a traceback to the console.
2003-01-07 09:55:03 +00:00
Guido van Rossum
a1962d6efd Get rid of 1.5.2 compatibility hack. :-) 2002-12-03 09:28:36 +00:00
Raymond Hettinger
1644986758 Clarify the meaning of "requires Python 1.5.2". 2002-11-08 05:49:47 +00:00
Martin v. Löwis
dc46175dc3 Add --check-tkinter to setup.py. Install IDLE. Fixes #634078. 2002-11-06 21:59:33 +00:00
Guido van Rossum
eb58f5d6cd Use column= rather than col=; with Tk 8.4 col= no longer works.
[SF patch 634250 -- that was an IDLEFORK patch.]
2002-11-06 19:00:30 +00:00
Martin v. Löwis
40b11b890c Support sdist. 2002-11-05 23:01:50 +00:00
Neal Norwitz
a39a445c9b Remove unnecessary imports 2002-09-12 20:36:01 +00:00
Neal Norwitz
089061f7f0 Remove unused local variables 2002-09-12 20:34:41 +00:00
Neal Norwitz
a59ab05fda Remove unnecessary imports 2002-09-12 20:29:56 +00:00
Walter Dörwald
aaab30e00c Apply diff2.txt from SF patch http://www.python.org/sf/572113
(with one small bugfix in bgen/bgen/scantools.py)

This replaces string module functions with string methods
for the stuff in the Tools directory. Several uses of
string.letters etc. are still remaining.
2002-09-11 20:36:02 +00:00
Raymond Hettinger
b2c729fe27 Extended IDLE's open module menu item to handle hierarchical module names.
Will look at doing something similar in import.c so that the effort won't
have to be repeated elsewhere.

Closes SF patch 600152.
2002-09-08 03:42:01 +00:00
Tim Peters
280488b9a3 Whitespace normalization. 2002-08-23 18:19:30 +00:00
Martin v. Löwis
75ea1e11dc Convert characters from the locale's encoding on output.
Reject characters outside the locale's encoding on input.
2002-08-10 12:22:12 +00:00
Guido van Rossum
3b0a3293c3 Massive changes from SF 589982 (tempfile.py rewrite, by Zack
Weinberg).  This changes all uses of deprecated tempfile functions to
the recommended ones.
2002-08-09 16:38:32 +00:00
Martin v. Löwis
eade4a1580 Patch #590913: PEP 263 support. 2002-08-05 14:55:21 +00:00
Martin v. Löwis
5428fff111 Use ascii_letters to avoid UnicodeErrors. 2002-08-05 14:53:52 +00:00
Guido van Rossum
f8c8cf8a9d Get rid of _expand() altogether - the match object supports m.expand(). 2002-07-24 19:13:08 +00:00
Guido van Rossum
77f6ccd1f7 The test for re.engine was misfiring because re.engine is no longer
defined and the default was "pre" instead of "sre".  Give up on 1.5.2
compatibility, hardcode the sre solution.  However, this XXX comment
still applies, AFAIK:
        # XXX This code depends on internals of the regular expression
        # engine!  There's no standard API to do a substitution when you
        # have already found the match.  One should be added.
2002-07-24 01:49:16 +00:00
Guido van Rossum
2ca7862e97 Add primitive printing support for Unix and Windows. 2002-06-10 18:52:02 +00:00
Guido van Rossum
24989727b9 Use self.__class__ to instantiate a TreeNode item recursively, to
allow subclassing.
2002-05-27 13:35:05 +00:00
Raymond Hettinger
7f7d5bf438 Patch 543222. Disable script bindings in shell window. 2002-05-21 17:00:20 +00:00
Raymond Hettinger
8eaa3ad22c Patches 558535. The standard Windows binding for Edit Select All
is Control-A rather than Alt-A.
2002-05-21 12:26:59 +00:00