Neal Norwitz
1ac754fa10
Check return result from Py_InitModule*(). This API can fail.
...
Probably should be backported.
2006-01-19 06:09:39 +00:00
Martin v. Löwis
c16f3bd8a3
Patch #708495 : Port more stuff to OpenVMS.
2003-05-03 09:14:54 +00:00
Guido van Rossum
9b1a80baf4
Patch for the DEC Alpha under Linux, by Lee Busby.
2002-09-26 16:52:02 +00:00
Mark Hammond
fe51c6d66e
Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype
...
for Py_Main().
Thanks to Kalle Svensson and Skip Montanaro for the patches.
2002-08-02 02:27:13 +00:00
Jack Jansen
4892f2406f
Got rid of a few more NeXT ifdefs. The last, I think.
2002-02-01 15:46:29 +00:00
Martin v. Löwis
43b936d08c
Patch #477750 : Use METH_ constants in Modules.
2002-01-17 23:15:58 +00:00
Martin v. Löwis
c4db476c87
Define sunmath prototypes if sunmath.h was not included.
2001-03-07 10:22:20 +00:00
Andrew M. Kuchling
5a571639fc
Patch #103012 : Update fpectlmodule for current glibc;
...
The _setfpucw() function/macro doesn't seem to exist any more;
instead there's an _FPU_SETCW macro.
2001-01-04 01:01:12 +00:00
Guido van Rossum
cf06571a8b
Use PyOS_setsig() instead of signal(). Also remove redundant spaces
...
from the FreeBSD code.
2000-09-21 14:32:04 +00:00
Guido van Rossum
4622e146ee
Randall Hopper: Add fpectl functionality patch for FreeBSD.
2000-09-19 13:35:40 +00:00
Tim Peters
4f1b2081e9
Removed all instances of RETSIGTYPE from the source code: signal
...
handlers "return void", according to ANSI C.
Removed the new Py_RETURN_FROM_SIGNAL_HANDLER macro.
Left RETSIGTYPE in the config stuff, because it's not clear to
me that others aren't relying on it (e.g., extension modules).
2000-07-23 21:18:09 +00:00
Guido van Rossum
a7379d9a34
Avoid triggering Alpha OSF/1 specific code on Alpha NT or Linux.
1999-04-19 16:50:26 +00:00
Guido van Rossum
5de54208a5
Needed to add DL_EXPORT to (redundant?) extern decl of module init function.
1998-12-10 16:49:28 +00:00
Guido van Rossum
3886bb6997
Add DL_EXPORT() to all modules that could possibly be used
...
on BeOS or Windows.
1998-12-04 18:50:17 +00:00
Guido van Rossum
aa6fa6bbeb
Patch by Oliver Andrich for Lunix using glibc.
1997-12-15 18:07:10 +00:00
Guido van Rossum
e85da651dd
Some patches to Lee Busby's fpectl mods that accidentally didn't make it
...
into 1.5a4.
1997-10-20 23:50:01 +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
1ed5e57684
Keep gcc -Wall happy.
1997-04-29 21:34:16 +00:00
Guido van Rossum
1aeb1047ba
Include setjmp.h so it compiles if WANT_SIGFPE_HANDLER is undefined.
1997-03-14 04:32:25 +00:00
Guido van Rossum
52fa3a6909
Changes for Lee Busby's SIGFPE patch set.
...
Two new modules fpectl and fpetest.
Surround various and sundry f.p. operations with PyFPE_*_PROTECT macros.
1997-02-14 22:59:58 +00:00