Subclassing int for a revolving control number

Calvin Spealman calvin at ironfroggy.com
Tue Jul 20 16:26:31 CEST 2004


Personally, rather than all these suggestions of python-written classes or
of itertools.cycle, I would like a C-extension module with something like
this. All it would have to be is an actually C int value with no bounds
checking. This would be usually for working with low-level data, like
bitmaps or compressed data, where you can't have longs and where you need
good performance on simple arithmetic.




More information about the Python-list mailing list