New submission from mesheb82 <mesheb82 at gmail.com>:
I’m running:
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32
I was testing out some print functionality and I made an error in typing (I meant to use %8.8f), but is this behavior intentional or is it an error?
>> print '%8.8s' %(10000000001.)
>> '10000000'
I would expect this to return a TypeError.
I also tested this on Python 2.4 and Python 2.5 on linux and had the same behavior.
Steve
----------
components: IO
messages: 159403
nosy: mesheb82
priority: normal
severity: normal
status: open
title: Python 2.6 Printing Error
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14677>
_______________________________________