tell producing long int

Steve Juranich sjuranic at condor.ee.washington.edu
Fri Sep 8 13:44:24 EDT 2000


I just did the same thing on Solaris 5.6, and I didn't get a LONG.  I got a
regular int.  Maybe it's the OS?

----------------------------------------------------------------------
Stephen W. Juranich                         sjuranic at ee.washington.edu
Electrical Engineering         http://students.washington.edu/sjuranic
University of Washington             http://rcs.ee.washington.edu/ssli


On Fri, 8 Sep 2000, Robin Becker wrote:

> Paul Eddington reports a problem with reportlab caused by tell --> L
> ints
> 
> The machine was an 32 bit SG O2 running IRIX6.3 using python compiled 
> with the n32 option. It does appear to be a problem with the tell. As 
> you can see below:
> 
> Python 1.5.2+ (#1, Oct 27 1999, 13:48:24) [C] on irix6-n32
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> f = open('test.dat','w')
> >>> f.write('a test')
> >>> f.tell()
> 6L
> 
> Anyone know if this is a reasonable way to build python or is it a
> property of the os that tell produces L ints?
> -- 
> Robin Becker
> 
> 




More information about the Python-list mailing list