Mercurial > cpython-lru_cache-weakref
comparison Python/sysmodule.c @ 52233:9b358eae532a legacy-trunk
Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.
Backport of r70459.
| author | Mark Dickinson <dickinsm@gmail.com> |
|---|---|
| date | Fri, 20 Mar 2009 15:51:55 +0000 |
| parents | e239e977bb32 |
| children | f90b3eec7c32 |
comparison
equal
deleted
inserted
replaced
| 52231:4fdb10dbc736 | 52233:9b358eae532a |
|---|---|
| 1041 /* concatenating string here */ | 1041 /* concatenating string here */ |
| 1042 PyDoc_STR( | 1042 PyDoc_STR( |
| 1043 "\n\ | 1043 "\n\ |
| 1044 Static objects:\n\ | 1044 Static objects:\n\ |
| 1045 \n\ | 1045 \n\ |
| 1046 float_info -- a dict with information about the float inplementation.\n\ | |
| 1047 long_info -- a struct sequence with information about the long implementation.\n\ | |
| 1046 maxint -- the largest supported integer (the smallest is -maxint-1)\n\ | 1048 maxint -- the largest supported integer (the smallest is -maxint-1)\n\ |
| 1047 maxsize -- the largest supported length of containers.\n\ | 1049 maxsize -- the largest supported length of containers.\n\ |
| 1048 maxunicode -- the largest supported character\n\ | 1050 maxunicode -- the largest supported character\n\ |
| 1049 builtin_module_names -- tuple of module names built into this interpreter\n\ | 1051 builtin_module_names -- tuple of module names built into this interpreter\n\ |
| 1050 version -- the version of this interpreter as a string\n\ | 1052 version -- the version of this interpreter as a string\n\ |
| 1441 PyInt_FromLong(PyInt_GetMax())); | 1443 PyInt_FromLong(PyInt_GetMax())); |
| 1442 SET_SYS_FROM_STRING("py3kwarning", | 1444 SET_SYS_FROM_STRING("py3kwarning", |
| 1443 PyBool_FromLong(Py_Py3kWarningFlag)); | 1445 PyBool_FromLong(Py_Py3kWarningFlag)); |
| 1444 SET_SYS_FROM_STRING("float_info", | 1446 SET_SYS_FROM_STRING("float_info", |
| 1445 PyFloat_GetInfo()); | 1447 PyFloat_GetInfo()); |
| 1448 SET_SYS_FROM_STRING("long_info", | |
| 1449 PyLong_GetInfo()); | |
| 1446 #ifdef Py_USING_UNICODE | 1450 #ifdef Py_USING_UNICODE |
| 1447 SET_SYS_FROM_STRING("maxunicode", | 1451 SET_SYS_FROM_STRING("maxunicode", |
| 1448 PyInt_FromLong(PyUnicode_GetMax())); | 1452 PyInt_FromLong(PyUnicode_GetMax())); |
| 1449 #endif | 1453 #endif |
| 1450 SET_SYS_FROM_STRING("builtin_module_names", | 1454 SET_SYS_FROM_STRING("builtin_module_names", |
