Commit Graph

25106 Commits

Author SHA1 Message Date
Raymond Hettinger a828586c3a Punctuation fix. 2002-12-14 17:17:56 +00:00
Kurt B. Kaiser bfed346259 M Debugger.py
M IOBinding.py
M PyShell.py

* Could not remove last set of saved breakpoints from a file
* Starting with empty edit window, could not load a file
* Multiple adjacent breakpoints were saved as one breakpoint
* Storing breakpoints whenever a file is closed can get them out
  of synch with the saved version of a file.  Only store them when the
  file is saved.
* Add comment on current limitations on file editing in the presence of
  breakpoints.
* Replace get_current_breaks() with update_breakpoints(), add an update to
  PyShellEditorWindow.breakpoints, which is the master breakpoint data
  structure, and which is used to reload the subprocess debugger.
* Revert Debugger.Debugger.load_breakpoints() to use editwin.breakpoints.
  It is easier to debug the debugger if the breakpoint list in IDLE is
  identical to the list in the subprocess debugger and is transferred when
  the subprocess debugger is restarted, because this list can be easily
  queried.
* Cleanup some linespacing and comments in IOBinding.py
2002-12-14 04:38:51 +00:00
Jack Jansen 3c05c1f01e Got rid of outdated defines. 2002-12-14 00:05:00 +00:00
Jack Jansen 9c17b11a67 Removed errors.rsrc: this is loaded dynamically from :Mac:Lib when needed. 2002-12-14 00:02:34 +00:00
Jack Jansen 9e7da62eab Removed: this is loaded dynamically from :Mac:Lib when needed. 2002-12-14 00:01:47 +00:00
Jack Jansen 1562537cd7 Got rid of EasyDialogs dialogs, which are now in :Mac:Lib:dialogs.rsrc. 2002-12-13 23:53:10 +00:00
Jack Jansen 2519cc8eac Got rid of interpreter-internal dialogs.
Tweaked GetArgv() dialog to look better on OSX.
2002-12-13 23:52:19 +00:00
Jack Jansen 9ea729c624 Got rid of non-carbon stuff, and added new Alias, File and Folder modules. 2002-12-13 23:34:03 +00:00
Jack Jansen 805f1deb67 Tweaked button sizes and hid unused items. 2002-12-13 23:33:28 +00:00
Jack Jansen 19ac481a2c Sigh: the Jaguar workaround for the prefs file broke saving it on OS9. Temporary workaround is to ignore the exception (it's only about file creator/type anyway). 2002-12-13 23:32:51 +00:00
Jack Jansen 9937a04994 Tweaked some button sizes to make them look better on OSX. 2002-12-13 23:31:55 +00:00
Jack Jansen 6d802a0ce3 Tweaks to make this module OS9-compatible. 2002-12-13 23:16:00 +00:00
Jack Jansen b2ef47b84e More pre-carbon stuff bites the dust. 2002-12-13 22:55:09 +00:00
Jack Jansen b132a39399 Removed: not carbon-compatible. 2002-12-13 22:49:24 +00:00
Guido van Rossum 0847c5c6c7 execve(), spawnve(): add some extra sanity checking to env;
PyMapping_Check() doesn't guarantee that PyMapping_Size() won't raise
an exception, nor that keys and values are lists.

Also folded some long lines and did a little whitespace normalization.

Probably a 2.2 backport candidate.
2002-12-13 18:36:22 +00:00
Guido van Rossum 3bbc0eea10 Tighten the tests for assignment to __bases__: disallow empty tuple. 2002-12-13 17:49:38 +00:00
Jack Jansen 3d87e3cdf7 The speech manager interface is no longer supported and a replacement is
(unfortunately: especially the grail demo was hiarious) still missing.
2002-12-13 15:25:26 +00:00
Jack Jansen 72f3b7a5de Added missing casts. 2002-12-13 15:23:10 +00:00
Jack Jansen 747c3d3f02 We need macglue on MacPython-OS9 too. 2002-12-13 15:20:53 +00:00
Jack Jansen fcbe5e55f5 Outdated. 2002-12-13 15:18:04 +00:00
Jack Jansen 32f614b895 Got rid of unused Compat files. 2002-12-13 15:16:59 +00:00
Just van Rossum feddf77ad2 another wrong assumption fixed 2002-12-13 15:14:22 +00:00
Jack Jansen 68c8138e89 Still used the old config file. Fixed. 2002-12-13 15:14:00 +00:00
Jack Jansen 04543deb6c Compatibility files that haven't been used in a long time. 2002-12-13 15:05:00 +00:00
Jack Jansen 65cbf93fce Get rid of support for Universal Headers older than 3.4 and various other
outdated things.
2002-12-13 15:02:02 +00:00
Jack Jansen 55309a31df Get rid of 2.2 "poor mans universal newlines" now that the real thing
is implemented.
2002-12-13 13:57:35 +00:00
Jack Jansen 8bf053fead It was an old MacPython artefact that these files were still in the source
tree. Removed them, anyone really desparate to recover them can get them
from the CVS repository.
2002-12-13 13:38:28 +00:00
Jack Jansen bb3e4cb14b Tkinter isn't supported under Carbon. Under MacOSX native it is, but
that version doesn't need these workarounds.
2002-12-13 13:35:33 +00:00
Jack Jansen 5e13951ad7 Very outdated: this is a 68K support file. 2002-12-13 13:33:34 +00:00
Andrew M. Kuchling 6c50df2d90 Add Tkinter threading change
Fix markup errors
Rewrite a sentence
2002-12-13 12:53:16 +00:00
Just van Rossum 71fd01c099 and now the real fix... 2002-12-13 11:07:20 +00:00
Just van Rossum 61fcf76294 fixed bool browsing bug, sf bug #652591 2002-12-13 10:58:10 +00:00
Chui Tey 067d734f9e Prevent debugger from stepping into Idle rpc code 2002-12-12 20:53:19 +00:00
Martin v. Löwis de3337913f Patch #536661: Improve performance of splitext. Add test_macpath. 2002-12-12 20:30:20 +00:00
Martin v. Löwis 427a290c9a Patch #629126: Detect BLT by also looking for libBLT. 2002-12-12 20:23:38 +00:00
Martin v. Löwis 00b6127097 Patch #650653: Raise always value error if the table is not 256 bytes long. 2002-12-12 20:03:19 +00:00
Thomas Heller 63b4dd33c9 Description of description was really confusing, and added some markup. 2002-12-12 19:35:00 +00:00
Kurt B. Kaiser e54710bd72 M CallTipWindow.py
M CallTips.py

Calltip fetch was erroring when an Edit window was used without a Shell.
Also, fix CallTipWindow.py so test code will run and add a comment about a
bug which causes the calltip window to override all others.
2002-12-12 19:15:39 +00:00
Walter Dörwald 7e5c6a02eb Change issubclass() so that recursive tuples (directly or indirectly
containing class objects) are allowed as the second argument.
This makes issubclass() more similar to isinstance() where recursive
tuples are allowed too.
2002-12-12 19:14:08 +00:00
Thomas Heller 1b3b49d132 Mention the bdist_wininst postinstall script. 2002-12-12 19:13:44 +00:00
Martin v. Löwis 7d1349553b Always initialize objc. 2002-12-12 19:05:48 +00:00
Thomas Heller 2c3bfc2a1a Raw documentation for the bdist_wininst postinstallation script.
People are already using it, so these docs are certainly better than
no docs at all. Markup is mostly missing and the layout is probably
ugly, but this can be fixed later.

Question: there are references to MS docs for the CSIDL_... constants
and the IShellLink interface. Are these pointers sufficient, or should
the MS docs reworded and repeated here?
2002-12-12 18:54:19 +00:00
Jason Tishler e4a070a320 Patch #551960: Add check for setrlimit() support
test_resource calls resource.setrlimit() to change the file size limits.
This fails on Cygwin, which supports setrlimit() and getrlimit(), just not
changing that particular setting. (The same would apply to any other
platform that has those functions but not that particular feature.)

Since getrlimit() works and setrlimit() can be used for other reasons, a
check for ValueError was added to that part of the test.
2002-12-12 18:13:36 +00:00
Marc-André Lemburg 20b91358e5 News item for the change to turn _codecs into a builtin module. 2002-12-12 18:01:43 +00:00
Marc-André Lemburg b28de0d79f Patch to make _codecs a builtin module. This is necessary since
Python 2.3 will support source code encodings which rely on the
builtin codecs being available to the parser.

Remove struct dependency from codecs.py
2002-12-12 17:37:50 +00:00
Greg Ward b69bb3d019 Typo fix. 2002-12-12 17:35:45 +00:00
Greg Ward afd44de812 Hardcode the recognized whitespace characters to the US-ASCII whitespace
chars.  See the comment for rationale.
2002-12-12 17:24:35 +00:00
Martin v. Löwis b5bfb9f38c Support threads-enabled Tcl installations. 2002-12-12 17:07:58 +00:00
Walter Dörwald d9a6ad3beb Enhance issubclass() and PyObject_IsSubclass() so that a tuple is
supported as the second argument. This has the same meaning as
for isinstance(), i.e. issubclass(X, (A, B)) is equivalent
to issubclass(X, A) or issubclass(X, B). Compared to isinstance(),
this patch does not search the tuple recursively for classes, i.e.
any entry in the tuple that is not a class, will result in a
TypeError.

This closes SF patch #649608.
2002-12-12 16:41:44 +00:00
Just van Rossum b083cb3901 Patch #651621, approved by MvL.
This patch allows ZipFile.writestr() to be called with
an archive file name instead of a ZipInfo instance:

z = ZipFile("myarchive.zip", "w")
z.writestr("foo/baz/file.ext", data)
z.close()

I found the old writestr() method very inconvenient
for simple (but common) things.

If called with a file name instead of a ZipInfo
instance, the date_time is set to the current date/time,
which makes sense to me for anonymous data.
2002-12-12 12:23:32 +00:00