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
..
1997-10-01 04:29:29 +00:00
1997-01-03 23:00:51 +00:00
1997-04-29 21:34:16 +00:00
1997-10-01 04:29:29 +00:00
1997-04-29 20:31:59 +00:00
1996-12-09 23:14:26 +00:00
1997-04-29 15:39:28 +00:00
1997-10-01 04:29:29 +00:00
1997-10-01 04:29:29 +00:00
1997-08-15 02:52:08 +00:00
1997-04-29 21:34:16 +00:00
1997-10-01 04:29:29 +00:00
1997-10-01 04:29:29 +00:00
1997-04-02 05:33:00 +00:00
1996-08-19 22:12:39 +00:00
1996-12-09 22:32:36 +00:00
1997-10-01 04:29:29 +00:00
1997-08-15 02:52:08 +00:00
1997-10-01 04:29:29 +00:00
1996-12-10 00:32:31 +00:00
1997-04-29 21:34:16 +00:00
1997-10-01 04:29:29 +00:00
1997-10-01 04:29:29 +00:00
1997-01-13 22:57:42 +00:00
1997-05-14 19:22:11 +00:00
1997-10-01 04:29:29 +00:00
1996-10-25 14:44:06 +00:00