- 30 Aug, 1997 4 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
Damn the criticism in c.l.p!
-
Guido van Rossum authored
(which had UserDict/UserList) to libuserdict.tex.
-
Guido van Rossum authored
-
- 29 Aug, 1997 20 commits
-
-
Guido van Rossum authored
a sane filename syntax.
-
Guido van Rossum authored
Adding support for a new OS is now a bit more work, but I bet that 'dos' or 'nt' will cover most situations...
-
Guido van Rossum authored
usage message in *three* parts under 510 bytes, for low-end ANSI compatibility.
-
Guido van Rossum authored
-
Guido van Rossum authored
- Changed semantics for initialized flag (again); forget the ref counting, forget the fatal errors -- redundant calls to Py_Initialize() or Py_Finalize() calls are simply ignored. - Automatically import site.py on initialization, unless a flag is set not to do this by main().
-
Guido van Rossum authored
<*prefix>/lib/python<version>/packages for *.pth files containing directories that are appended to sys.path.
-
Barry Warsaw authored
that class based exceptions are enabled by default. -X disables them in favor of the old-style string exceptions.
-
Barry Warsaw authored
Added PyErr_MemoryErrorInst to hold the pre-instantiated instance when using class based exceptions. Simplified the creation of all built-in exceptions, both class based and string based. Actually, for class based exceptions, the string ones are still created just in case there's a problem creating the class based ones (so you still get *some* exception handling!). Now the init and fini functions run through a list of structure elements, creating the strings (and optionally classes) for every entry. initerrors(): the new base class exceptions StandardError, LookupError, and NumberError are initialized when using string exceptions, to tuples containing the list of derived string exceptions. This GvR trick enables forward compatibility! One bit of nastiness is that the C code has to know the inheritance tree embodied in exceptions.py. Added the two phase init and fini functions.
-
Barry Warsaw authored
the -X command line option. Py_Initialize(): Handle the two phase initialization of the built-in module. Py_Finalize(): Handle the two phase finalization of the built-in module. parse_syntax_error(): New function which parses syntax errors that PyErr_Print() will catch. This correctly parses such errors regardless of whether PyExc_SyntaxError is an old-style string exception or new-fangled class exception. PyErr_Print(): Many changes: 1. Normalize the exception. 2. Handle SystemExit exceptions which might be class based. Digs the exit code out of the "code" attribute. String based SystemExit is handled the same as before. 3. Handle SyntaxError exceptions which might be class based. Digs the various information bits out of the instance's attributes (see parse_syntax_error() for details). String based SyntaxError still works too. 4. Don't write the `:' after the exception if the exception is class based and has an empty string str() value.
-
Barry Warsaw authored
-
Barry Warsaw authored
started with the -X option. This file contains the definitions for the built-in exception classes.
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
for the built-in module.
-
Barry Warsaw authored
PyExc_NumberError, and PyExc_LookupError. Also added extern for pre-instantiated exception instance PyExc_MemoryErrorInst. Removed extern of obsolete exception PyExc_AccessError.
-
Barry Warsaw authored
(PyExc_MemoryErrorInst) raise this instead of PyExc_MemoryError. This only happens when exception classes are enabled (e.g. when Python is started with -X).
-
Barry Warsaw authored
the executable to use during regression testing.
-
Guido van Rossum authored
when building outside the source directory. Courtesy Donn Cave.
-
Guido van Rossum authored
-
Guido van Rossum authored
of co/cp mixup.
-
- 28 Aug, 1997 8 commits
-
-
Barry Warsaw authored
former rather than the latter, since PyErr_NormalizeException takes PyObject** and I didn't want to change the interface for set_exc_info (but I did want the changes propagated to eval_code2!).
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Removed bootstrap script from end of faqwiz.py module. Added instructions to bootstrap script, too. Version bumped to 0.8. Added <html>...</html> feature suggested by Skip Montanaro. Added leading text for Roulette, default to 'Hit Reload ...'. Fix typo in default SRCDIR.
-
- 27 Aug, 1997 8 commits
-
-
Guido van Rossum authored
longer relevant.
-
Guido van Rossum authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
up anything else I saw.
-
Jack Jansen authored
-