cpython/Objects
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 Ignore a bunch of generated files. 2000-05-02 18:34:30 +00:00
abstract.c Patch #445762: Support --disable-unicode 2001-08-17 18:39:25 +00:00
bufferobject.c repr's converted to using PyString_FromFormat() instead of sprintf'ing 2001-08-24 18:34:26 +00:00
cellobject.c Use new GC API. 2001-08-29 23:54:21 +00:00
classobject.c Use new GC API. 2001-08-29 23:54:21 +00:00
cobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
complexobject.c Patch #453627: Define the following macros when compiling on a UnixWare 7.x system: 2001-09-05 14:45:54 +00:00
descrobject.c Make getset subclassable. 2001-08-30 03:10:36 +00:00
dictobject.c Repair typo in comment. 2001-09-02 18:35:54 +00:00
fileobject.c Changes to automatically enable large file support on some systems. 2001-09-05 14:58:11 +00:00
floatobject.c Rework the way we try to check for libm overflow, given that C99 no longer 2001-09-05 22:36:56 +00:00
frameobject.c Squash new compiler wng in debug build. 2001-08-30 00:32:51 +00:00
funcobject.c Use new GC API. 2001-08-29 23:54:21 +00:00
intobject.c Make the error msgs in our pow() implementations consistent. 2001-09-05 06:24:58 +00:00
iterobject.c Patch #427190: Implement and use METH_NOARGS and METH_O. 2001-08-16 13:15:00 +00:00
listobject.c Give the internal immutable list type .extend and .pop methods (they 2001-08-30 06:15:32 +00:00
longobject.c Make the error msgs in our pow() implementations consistent. 2001-09-05 06:24:58 +00:00
methodobject.c Removed some unreachable break statements to silence SGI compiler. 2001-08-30 13:58:58 +00:00
moduleobject.c Use new GC API. 2001-08-29 23:54:21 +00:00
object.c At Guido's suggestion, here's a new C API function, PyObject_Dir(), like 2001-09-04 22:08:56 +00:00
obmalloc.c Identifiers matching _[A-Z_]\w* are reserved for C implementations. 2001-03-11 18:36:13 +00:00
rangeobject.c repr's converted to using PyString_FromFormat() instead of sprintf'ing 2001-08-24 18:34:26 +00:00
sliceobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
stringobject.c Fix a memory leak in str_subtype_new(). (All the other 2001-08-31 16:11:15 +00:00
tupleobject.c Rewrite the tuple() docstring to parallel the list() docstring. 2001-09-02 06:42:25 +00:00
typeobject.c Give 'super' a decent repr(), and readonly attributes to access the 2001-08-30 23:13:11 +00:00
unicodectype.c removed "register const" from scalar arguments to the unicode 2001-06-27 22:08:26 +00:00
unicodeobject.c Make unicode subclassable. 2001-08-30 03:12:59 +00:00
unicodetype_db.h forgot to check in the new makeunicodedata.py script 2001-01-21 17:01:31 +00:00
xxobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00