lfs confusion
Peter Hansen
peter at engcorp.com
Thu Sep 23 13:46:51 EDT 2004
Andrew Dalke wrote:
> Python is undergoing a process of int/long unification.
> str(long_number) as of 2.0 no longer puts a "L" at the end
> of string.
>
> If you want to use your method, try using 'repr' instead
> of 'str'. That probably won't happen for the long term
> though (3.0 and greater?).
Wouldn't doing type(fd.tell()) be better than coupling
the logic to what might be a changing representation of
the data?
-Peter
More information about the Python-list
mailing list