- 22 Sep, 1998 1 commit
-
-
Guido van Rossum authored
Windows. If sys.stdin doesn't appear to be a real file (characterized by having a working fileno()), don't use any console specific methods -- go straight to the default.
-
- 21 Sep, 1998 10 commits
-
-
Guido van Rossum authored
-- don't just die.
-
Guido van Rossum authored
(Reported by Gary Herron.)
-
Guido van Rossum authored
This simplified some other places in the code.
-
Guido van Rossum authored
Suggested by Jim Hugunin.
-
Guido van Rossum authored
only there to override reload() in a way that doesn't make a whole lot of sense and moreover broke since the latest changes in ihooks.
-
Guido van Rossum authored
function is only used when running the calibration code, and it turns out that recent changes in the timing code caused this statement to raise an exception.
-
Guido van Rossum authored
triggered in situations that are not an error.
-
Guido van Rossum authored
system calls.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
- 18 Sep, 1998 2 commits
-
-
Fred Drake authored
-
Guido van Rossum authored
native format, as void* (translated to Python int or long). Also adds PyLong_FromVoidPtr and PyLong_AsVoidPtr to longobject.c.
-
- 17 Sep, 1998 8 commits
-
-
Guido van Rossum authored
-
Jack Jansen authored
manually generated).
-
Guido van Rossum authored
-
Guido van Rossum authored
of some paragraphs).
-
Guido van Rossum authored
alias delimiter to ';;'.
-
Guido van Rossum authored
compiler doesn't grumble. Greg Stein's suggestion.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
- 15 Sep, 1998 1 commit
-
-
Guido van Rossum authored
there's an __getinitargs__() method), if a TypeError occurs, catch and reraise it but add info to the error about the class name being instantiated. This makes debugging a lot easier if __getinitargs__() returns something bogus (e.g. a string instead of a singleton tuple).
-
- 14 Sep, 1998 18 commits
-
-
Guido van Rossum authored
for callit, used by the after() command. This can happen when the callback deletes the window.
-
Barry Warsaw authored
initialization of class exceptions. Specifically: init_class_exc(): This function now returns an integer status of the class exception initialization. No fatal errors in this method now. Also, use PySys_WriteStderr() when writing error messages. When an error occurs in this function, 0 is returned, but the partial creation of the exception classes is not undone (this happens elsewhere). Things that could trigger the fallback: - exceptions.py fails to be imported (due to syntax error, etc.) - one of the exception classes is missing (e.g. due to library version mismatch) - exception class can't be inserted into __builtin__'s dictionary - MemoryError instance can't be pre-allocated - some other PyErr_Occurred newstdexception(): Changed the error message. This is still a fatal error because if the string based exceptions can't be created, we really can't continue. initerrors(): Be sure to xdecref the .exc field, which might be non-NULL if class exceptions init was aborted. _PyBuiltin_Init_2(): If class exception init fails, print a warning message and reinstate the string based exceptions.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
and without a message number argument: the argument was called 'msg' but the code expected it to be called 'which'. In line with the other methods, I've renamed the argument to 'which', and adapted the doc string not to refer to 'msg'.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Barry Warsaw authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
This makes it possible to accept that on Linux %w returns "01" instead of "1", for example.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
(Jack Jansen and/or Just van Rossum)
-