Staging
v0.8.1
v0.8.1
Revision a40c793d06ee2b42a5013015352616b4ca6b288b authored by Tim Peters on 05 September 2001, 22:36:56 UTC, committed by Tim Peters on 05 September 2001, 22:36:56 UTC
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.
1 parent 75ed167
File | Mode | Size |
---|---|---|
Demo | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Python | ||
RISCOS | ||
Tools | ||
.cvsignore | -rw-r--r-- | 109 bytes |
.hgtags | -rw-r--r-- | 2.1 KB |
LICENSE | -rw-r--r-- | 12.0 KB |
Makefile.pre.in | -rw-r--r-- | 25.4 KB |
PLAN.txt | -rw-r--r-- | 12.2 KB |
README | -rw-r--r-- | 38.1 KB |
acconfig.h | -rw-r--r-- | 7.3 KB |
configure | -rwxr-xr-x | 199.8 KB |
configure.in | -rw-r--r-- | 48.1 KB |
install-sh | -rwxr-xr-x | 5.5 KB |
pyconfig.h.in | -rw-r--r-- | 18.8 KB |
setup.py | -rw-r--r-- | 30.1 KB |
Computing file changes ...