Commit Graph

12 Commits

Author SHA1 Message Date
Guido van Rossum 730806d3d9 Make new gcc -Wall happy 1998-04-10 22:27:42 +00:00
Guido van Rossum 4f199eaa6e Threading speedup patches by Christopher Lindblad <cjl@infoseek.com>. 1998-04-09 20:56:35 +00:00
Guido van Rossum 0cb96de269 Apply two changes, systematically:
(1) Use PyErr_NewException("module.class", NULL, NULL) to create the
    exception object.

(2) Remove all calls to Py_FatalError(); instead, return or
    ignore the errors -- the import code now checks PyErr_Occurred()
    after calling a module's init function, so it's no longer a
    fatal error for the initialization to fail.

Also did some small cleanups, e.g. removed unnecessary test for
"already initialized" from initfpectl(), and unified
initposix()/initnt().

I haven't checked this very thoroughly, so while the changes are
pretty trivial -- beware of untested code!
1997-10-01 04:29:29 +00:00
Guido van Rossum 77eecfa94d Patches by AMK to check that the db is still open. 1997-07-17 22:56:01 +00:00
Roger E. Masse d9240d19b2 Already renamed. Indented. 1997-01-16 22:05:33 +00:00
Guido van Rossum 81b24c0221 Fix bad format char in error msg (%s should be %d).
Keep gcc -Wall happy.
1996-12-05 23:30:16 +00:00
Guido van Rossum d266eb460e New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
Guido van Rossum 6beb479b39 Force O_BINARY in flags if defined, for e.g. Microsoft platforms. 1996-09-11 23:22:25 +00:00
Guido van Rossum 622f577eac Dynamically initialize ob_type field, for Windows DLL 1996-09-11 23:18:43 +00:00
Guido van Rossum dfe8ad969c Converted to new style names by Skip Montanaro 1996-07-24 00:51:20 +00:00
Guido van Rossum dd96ca77da Be more careful about default args. 1996-05-23 22:57:54 +00:00
Guido van Rossum 1100dca602 Initial revision 1995-08-30 23:43:03 +00:00