Ralf Schmitt <schmir at gmail.com> added the comment: why not use sizeof? you'll probably run into this again.. __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue2790> __________________________________