cpython/Modules
Tim Peters a40c793d06 Rework the way we try to check for libm overflow, given that C99 no longer
requires that errno ever get set, and it looks like glibc is already
playing that game.  New rules:

+ Never use HUGE_VAL.  Use the new Py_HUGE_VAL instead.

+ Never believe errno.  If overflow is the only thing you're interested in,
  use the new Py_OVERFLOWED(x) macro.  If you're interested in any libm
  errors, use the new Py_SET_ERANGE_IF_OVERFLOW(x) macro, which attempts
  to set errno the way C89 said it worked.

Unfortunately, none of these are reliable, but they work on Windows and I
*expect* under glibc too.
2001-09-05 22:36:56 +00:00
..
.cvsignore
Setup.config.in gcmodule is now always compiled 2001-08-30 00:13:38 +00:00
Setup.dist Merge changes from r22a2-branch back into trunk. Also, change patch 2001-08-22 19:24:42 +00:00
_codecsmodule.c Patch #445762: Support --disable-unicode 2001-08-17 18:39:25 +00:00
_curses_panel.c init_curses_panel(): Be more consistent with indentation and blank lines. 2001-01-27 18:58:04 +00:00
_cursesmodule.c [Bug #457654] bkgd() used a hard-coded A_NORMAL attribute, when it should 2001-09-04 19:34:32 +00:00
_localemodule.c Patch #449815: Set filesystemencoding based on CODESET. 2001-09-05 17:09:48 +00:00
_sre.c Removed unreachable return to silence SGI compiler. 2001-08-30 14:37:07 +00:00
_testcapimodule.c Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
_tkinter.c Patch #445762: Support --disable-unicode 2001-08-17 18:39:25 +00:00
_weakref.c Use new GC API. 2001-08-29 23:54:21 +00:00
addrinfo.h Fix portability problems with glibc 2.0, as reported in #449157. 2001-08-15 17:14:33 +00:00
almodule.c
ar_beos Moved BeOS/ar-fake and BeOS/linkmodule to Modules/ar_beos and 2001-02-16 03:24:50 +00:00
arraymodule.c Fix buffer_info() docstring to match reality. See SF bug #444842. 2001-07-27 16:05:32 +00:00
audioop.c
binascii.c This closes bug #430849 (internal error produced by binascii.a2b_base64) 2001-06-07 05:51:36 +00:00
bsddbmodule.c Don't raise MemoryError in keys() when the database is empty. 2001-03-22 00:19:22 +00:00
cPickle.c load_int: The fallback to long ints was coded in such a way that it 2001-08-28 22:08:34 +00:00
cStringIO.c In O_writelines: Replace use of string.joinfields with "".join. 2001-02-09 23:44:22 +00:00
ccpython.cc
cdmodule.c
cgen.py
cgensupport.c
cgensupport.h
clmodule.c
cmathmodule.c Rework the way we try to check for libm overflow, given that C99 no longer 2001-09-05 22:36:56 +00:00
config.c.in gcmodule is now enabled here 2001-08-30 00:12:32 +00:00
cryptmodule.c
cstubs
dbmmodule.c SF Patch #103185, by jlt63: Some more standard modules cleanup for Cygwin 2001-01-22 15:29:14 +00:00
dlmodule.c Patch #404680: disables the nis module and enables the dl module when 2001-02-27 20:54:23 +00:00
errnomodule.c
fcntlmodule.c fcntl.ioctl(): Update error message; necessity noted by Michael Hudson. 2001-05-14 21:02:36 +00:00
flmodule.c
fmmodule.c
fpectlmodule.c Define sunmath prototypes if sunmath.h was not included. 2001-03-07 10:22:20 +00:00
fpetestmodule.c
gcmodule.c Make more things internal to this file. Remove 2001-08-30 00:05:51 +00:00
gdbmmodule.c SF patch 404928: Support for next Cygwin gcc (2.95.2-8) 2001-02-28 16:44:18 +00:00
getaddrinfo.c Removed an unreachable break statement to silence SGI compiler. 2001-08-30 14:15:38 +00:00
getbuildinfo.c Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
getnameinfo.c Fix portability problems with glibc 2.0, as reported in #449157. 2001-08-15 17:14:33 +00:00
getpath.c With WITH_NEXT_FRAMEWORK defined we now also expect a normal Python 2001-08-15 01:14:40 +00:00
glmodule.c
grpmodule.c Make sure we close the group and password databases when we are done with 2001-03-11 03:03:07 +00:00
imageop.c
imgfile.c
ld_so_aix
ld_so_beos Remove a hard coded Python version, and a now incorrect relative path. Closes 2001-02-16 03:27:35 +00:00
license.terms
linuxaudiodev.c Applying SF patch #412553 by Christopher Lee: fix linuxaudiodev 2001-04-02 17:59:02 +00:00
main.c PEP 238 documented -Qwarn as warning only for classic int or long 2001-09-04 03:51:09 +00:00
makesetup Separate CFLAGS and CPPFLAGS. CFLAGS should not contain preprocessor 2001-06-02 06:16:02 +00:00
makexp_aix
mathmodule.c Rework the way we try to check for libm overflow, given that C99 no longer 2001-09-05 22:36:56 +00:00
md5.h Rationalize use of limits.h, moving the inclusion to Python.h. 2000-09-26 05:46:01 +00:00
md5c.c Fix includes; not including Python.h caused the module not to compile on 2000-09-28 02:54:51 +00:00
md5module.c
mmapmodule.c Fix SF #441664: Python crash on del of a slice of a mmap 2001-07-16 15:47:36 +00:00
mpzmodule.c Python.h: Don't attempt to redefine NDEBUG if it's already defined. 2001-07-15 18:38:47 +00:00
newmodule.c Back out trying to use the C values for CO_xxx. 2001-08-24 06:29:12 +00:00
nismodule.c Move declaration of 'clnt_create()' NIS function to pyport.h, as it's 2001-01-21 23:34:12 +00:00
operator.c Add wrappers around the rich-comparison operations. 2001-08-09 20:14:34 +00:00
parsermodule.c Use the abstract object interfaces when digging around in module objects 2001-08-15 16:44:56 +00:00
pcre-int.h
pcre.h
pcremodule.c Make more warnings go away on the SGI compiler. 2001-07-19 21:29:49 +00:00
posixmodule.c SF bug [#456252] Python should never stomp on [u]intptr_t. 2001-08-29 21:37:10 +00:00
puremodule.c
pwdmodule.c Make sure we close the group and password databases when we are done with 2001-03-11 03:03:07 +00:00
pyexpat.c Patch #445762: Support --disable-unicode 2001-08-17 18:39:25 +00:00
pypcre.c
python.c
readline.c Cleaned up the docstring for readline.set_completer(). 2001-08-01 21:44:14 +00:00
regexmodule.c initregex(): this function is declared void, so the recent change to 2001-07-09 18:15:38 +00:00
regexpr.c Python.h: Don't attempt to redefine NDEBUG if it's already defined. 2001-07-15 18:38:47 +00:00
regexpr.h
resource.c
rgbimgmodule.c
rotormodule.c Part of SF patch #102409 by jlt63 to support building these modules 2001-01-10 21:03:32 +00:00
selectmodule.c Stop adding 3 to FD_SETSIZE -- it makes no sense. If it turns out it 2001-08-16 21:59:46 +00:00
sgimodule.c
shamodule.c Cleanup logic a little. Check args first, then try to create the 2001-01-29 22:46:35 +00:00
signalmodule.c Make more warnings go away on the SGI compiler. 2001-07-19 21:29:49 +00:00
socketmodule.c SF bug [#456252] Python should never stomp on [u]intptr_t. 2001-08-29 21:37:10 +00:00
sre.h merged with pythonware's SRE 2.1.1 codebase 2001-07-02 16:42:49 +00:00
sre_constants.h added martin's BIGCHARSET patch to SRE 2.1.1. martin reports 2x 2001-07-02 16:58:38 +00:00
stropmodule.c Add warnings to the strop module, for to those functions that really 2001-05-15 02:14:44 +00:00
structmodule.c SF bug #442520: test_struct fails on SPARC. 2001-07-18 20:47:31 +00:00
sunaudiodev.c
svmodule.c
symtablemodule.c Export three optimization (fast locals) flags 2001-04-16 18:42:13 +00:00
syslogmodule.c
tclNotify.c
termios.c Forward-port revision 2.24.2.4 from the release21-maint branch: 2001-06-15 12:05:44 +00:00
testcapi_long.h Fix error in comment, and in test_long_api and test_longlong_api remove 2001-06-16 08:10:13 +00:00
threadmodule.c Use PyThreadState_DeleteCurrent() instead of PyThreadState_Delete() 2001-01-23 01:47:18 +00:00
timemodule.c make the gettmarg error message more correct by making it more vague ;-) 2001-08-22 12:39:16 +00:00
timing.h
timingmodule.c
tkappinit.c
unicodedata.c Kill a warning on the SGI compiler. 2001-07-19 21:11:13 +00:00
unicodedata_db.h compress unicode decomposition tables (this saves another 55k) 2001-01-21 22:41:08 +00:00
unicodename_db.h compress unicode decomposition tables (this saves another 55k) 2001-01-21 22:41:08 +00:00
xreadlinesmodule.c Remove bogus PyGC_HEAD_SIZE. 2001-08-29 23:50:42 +00:00
xxmodule.c
xxsubtype.c Change the type names to xxsublist.<name>. 2001-08-16 09:10:42 +00:00
yuv.h
yuvconvert.c
zlibmodule.c Patch #103926: fix two warnings from Tru64's compiler 2001-02-22 15:52:55 +00:00