Message159403
| Author |
mesheb82 |
| Recipients |
mesheb82 |
| Date |
2012年04月26日.17:37:43 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1335461863.83.0.292616015938.issue14677@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年04月26日 17:37:43 | mesheb82 | set | recipients:
+ mesheb82 |
| 2012年04月26日 17:37:43 | mesheb82 | set | messageid: <1335461863.83.0.292616015938.issue14677@psf.upfronthosting.co.za> |
| 2012年04月26日 17:37:43 | mesheb82 | link | issue14677 messages |
| 2012年04月26日 17:37:43 | mesheb82 | create |
|