]> granicus.if.org Git - python/commit
Rationalize use of limits.h, moving the inclusion to Python.h.
authorFred Drake <fdrake@acm.org>
Tue, 26 Sep 2000 05:46:01 +0000 (05:46 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 26 Sep 2000 05:46:01 +0000 (05:46 +0000)
commitd5fadf75e4d18df61db41205ace0cda28d98eeaa
tree1b82c40e9bacf707cc8411fb9f0b6816c6f857d4
parent1b6185941ee5ccbfb7bb79ef2fcd55e279ade902
Rationalize use of limits.h, moving the inclusion to Python.h.
Add definitions of INT_MAX and LONG_MAX to pyport.h.
Remove includes of limits.h and conditional definitions of INT_MAX
and LONG_MAX elsewhere.

This closes SourceForge patch #101659 and bug #115323.
25 files changed:
Include/Python.h
Include/longobject.h
Include/pyport.h
Modules/_localemodule.c
Modules/_sre.c
Modules/arraymodule.c
Modules/md5.h
Modules/selectmodule.c
Modules/stropmodule.c
Modules/structmodule.c
Objects/complexobject.c
Objects/fileobject.c
Objects/floatobject.c
Objects/intobject.c
Objects/listobject.c
Objects/object.c
Objects/stringobject.c
Objects/unicodeobject.c
Parser/myreadline.c
Python/bltinmodule.c
Python/ceval.c
Python/codecs.c
Python/compile.c
Python/getargs.c
Python/modsupport.c