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
_codecsmodule.c Patch #445762: Support --disable-unicode 2001-08-17 18:39:25 +00:00
_curses_panel.c
_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
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
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
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
cryptmodule.c
cStringIO.c
cstubs
dbmmodule.c
dlmodule.c
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
fpetestmodule.c
gcmodule.c Make more things internal to this file. Remove 2001-08-30 00:05:51 +00:00
gdbmmodule.c
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
imageop.c
imgfile.c
ld_so_aix
ld_so_beos
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
md5c.c
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
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
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
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
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
sgimodule.c
shamodule.c
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
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
unicodename_db.h
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