On 8/19/07, Eric Smith <[EMAIL PROTECTED]> wrote:
> 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?I can't see that as anything besides an error. There should be no implicit conversions from strings to ints. > 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' Works for me. Will probably catch a few bugs. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
