On Wed, Jul 31, 2013 at 9:15 PM, <wxjmfa...@gmail.com> wrote: > ... char never consumes or requires more than 4 bytes ... >
The integer 5 should be able to be stored in 3 bits. >>> sys.getsizeof(5) 14 Clearly Python is doing something really horribly wrong here. In fact, sys.getsizeof needs to be changed to return a float, to allow it to more properly reflect these important facts. ChrisA -- http://mail.python.org/mailman/listinfo/python-list