[Python-Dev] Deprecation warning on integer shifts and such
Sun, 11 Aug 2002 23:33:59 +0200
As of recently I'm getting deprecation warnings on lots of
constructs of the form "0xff << 24", telling me that in Python
2.4 this will return a long.
As these things are bitpatterns (they're all generated from .h
files for system call interfaces and such) that the user will
pass to methods that wrap underlying API calls I don't want them
to be longs. How do I force them to remain ints?
- Jack Jansen <Jack.Jansen@oratrix.com>
- If I can't dance I don't want to be part of your revolution --
Emma Goldman -