Mercurial > cpython-lru_cache-weakref
comparison Python/sysmodule.c @ 44086:110ff614ec28
Merged revisions 59245-59254 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r59245 | georg.brandl | 2007-11-30 23:04:45 +0100 (Fri, 30 Nov 2007) | 2 lines
Move lchmod() docs to correct place, and add versionadded tags.
........
r59249 | christian.heimes | 2007-11-30 23:36:10 +0100 (Fri, 30 Nov 2007) | 2 lines
Backport of -r59242:59246 from py3k
Fixed problem with regrtest caused by the additional of objects to _abcoll.
........
r59253 | christian.heimes | 2007-12-01 02:03:20 +0100 (Sat, 01 Dec 2007) | 1 line
Although pyconfig.h claims that WIN32 is obsolete it is still required for the locale module. locale.getdefaultlocale() fails silently w/o the WIN32 macro.
........
r59254 | christian.heimes | 2007-12-01 12:20:10 +0100 (Sat, 01 Dec 2007) | 3 lines
Feature #1534
Added PyFloat_GetMax(), PyFloat_GetMin() and PyFloat_GetInfo() to the float API.
Added a dictionary sys.float_info with information about the internal floating point type to the sys module.
........
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Sat, 01 Dec 2007 12:22:32 +0000 |
| parents | ee081609cee8 |
| children | 0889daf6d0d9 |
comparison
equal
deleted
inserted
replaced
| 44083:351b7bd786e4 | 44086:110ff614ec28 |
|---|---|
| 1080 PyUnicode_DecodeFSDefault(Py_GetExecPrefix())); | 1080 PyUnicode_DecodeFSDefault(Py_GetExecPrefix())); |
| 1081 SET_SYS_FROM_STRING("maxint", | 1081 SET_SYS_FROM_STRING("maxint", |
| 1082 PyInt_FromLong(PyInt_GetMax())); | 1082 PyInt_FromLong(PyInt_GetMax())); |
| 1083 SET_SYS_FROM_STRING("maxsize", | 1083 SET_SYS_FROM_STRING("maxsize", |
| 1084 PyInt_FromSsize_t(PY_SSIZE_T_MAX)); | 1084 PyInt_FromSsize_t(PY_SSIZE_T_MAX)); |
| 1085 SET_SYS_FROM_STRING("float_info", | |
| 1086 PyFloat_GetInfo()); | |
| 1085 SET_SYS_FROM_STRING("maxunicode", | 1087 SET_SYS_FROM_STRING("maxunicode", |
| 1086 PyInt_FromLong(PyUnicode_GetMax())); | 1088 PyInt_FromLong(PyUnicode_GetMax())); |
| 1087 SET_SYS_FROM_STRING("builtin_module_names", | 1089 SET_SYS_FROM_STRING("builtin_module_names", |
| 1088 list_builtin_module_names()); | 1090 list_builtin_module_names()); |
| 1089 { | 1091 { |
