This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients mark.dickinson, vstinner
Date 2010-06-08.21:57:40
SpamBayes Score 0.01077788
Marked as misclassified No
Message-id <1276034262.58.0.704700895441.issue8950@psf.upfronthosting.co.za>
In-reply-to
Content
> One of the places that the 'L' code *is* used is when parsing
> strange C types (like off_t)

It has unexepected consequences. Example:

   >>> x=open("x", "w")
   >>> x.seek(0.0)
   0.0
   >>> x.seek(-0.0)
   -0.0
   >>> x.seek(0.1)
   0.1
   >>> x.tell()
   0

I think that we should just raise an error in Python 3.2 because I consider this as a bug. It remembers me another bug related to file and float: http://bugs.python.org/issue5080#msg92400
History
Date User Action Args
2010-06-08 21:57:42vstinnersetrecipients: + vstinner, mark.dickinson
2010-06-08 21:57:42vstinnersetmessageid: <1276034262.58.0.704700895441.issue8950@psf.upfronthosting.co.za>
2010-06-08 21:57:41vstinnerlinkissue8950 messages
2010-06-08 21:57:40vstinnercreate