[Python-3000] PEP 3101 clarification requests

Eric Smith eric+python-dev at trueblade.com
Mon Aug 20 02:56:03 CEST 2007


Talin wrote:
> Wow, excellent feedback. I've added your email to the list of reminders 
> for the next round of edits.

Here's something else for future edits:
1. When converting a string to an integer, what should the rules be? 
Should:
format("0xd", "d")
produce "13", or should it be an error?
2. I'm making the format specifiers as strict as I can. So, I've made 
these ValueError's:
For strings:
 - specifying a sign
 - specifying an alignment of '='
For longs:
 - specify a precision
 - specify a sign with type of 'c'
Eric.


More information about the Python-3000 mailing list

AltStyle によって変換されたページ (->オリジナル) /