Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 8402:0cb0394c2edc legacy-trunk
A bunch of functions are now properly implemented in abstract.c, and
the code here becomes much simpler. In particular: abs(), divmod(),
pow(), int(), long(), float(), len(), tuple(), list().
Also make sure that no use of a function pointer gotten from a
tp_as_sequence or tp_as_mapping structure is made without checking it
for NULL first.
A few other cosmetic things, such as properly reindenting slice().
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 22 May 1998 00:51:39 +0000 |
| parents | bbd2b5d8d0b6 |
| children | 070de4d39ddd |
comparison
equal
deleted
inserted
replaced
| 8401:70f93e0c580e | 8402:0cb0394c2edc |
|---|
