Roundup Tracker - Issues

Message2637

Author calvin
Recipients
Date 2003-08-20.06:09:14
Message-id
In-reply-to
Logged In: YES 
user_id=9205

the shift op still prints a warning:
>>> 0xffff000 << 4
/home/calvin/.python:1: FutureWarning: x<<y losing bits or
changing sign will return a long in Python 2.4 and up
  from __future__ import nested_scopes
-65536

Writing explicitely the above negative value in
portalocker.py does not print the warning, and seems to work
(I executed "python2.3.exe portalocker.py" for test).
History
Date User Action Args
2009-02-03 14:22:52adminlinkissue786711 messages
2009-02-03 14:22:52admincreate