[docs] Python 2.6 Float Error

Sandro Tosi sandro.tosi at gmail.com
Sat Apr 28 10:49:03 CEST 2012


Hello Steven,
this mailing list is about bugs/enhancements to CPython documentation,
and your email doesn't fit this description. I'd suggest to contact a
user support forum, such as
http://mail.python.org/mailman/listinfo/python-list

Regards,
Sandro

On Thu, Apr 26, 2012 at 19:32, Steven Doyle <sdoyle at m4-engineering.com>wrote:

>  Hi,****
>
> ** **
>
> 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.****
>
> ** **
>
> Steve****
>
> ** **
>
>  ****
>
> *Steven P. Doyle*
>
> Staff Engineer ****
>
> *M4 **Engineering, Inc.*****
>
> 562.981.7797 x231
> 562.981.2127 fax*
> *steve.doyle at m4-engineering.com ****
>
> ** **
>
> ** **
>
> _______________________________________________
> docs mailing list
> docs at python.org
> http://mail.python.org/mailman/listinfo/docs
>
> --
> Sandro Tosi (aka morph, morpheus, matrixhasu)
> My website: <http://mail.python.org/mailman/listinfo/docs>
> http://matrixhasu.altervista.org/
> Me at Debian: http://wiki.debian.org/SandroTosi
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20120428/8935f3a1/attachment.html>


More information about the docs mailing list