[Python-Dev] Decimal(unicode)

Alex Martelli aleaxit at gmail.com
Tue Mar 25 18:00:07 CET 2008


On Tue, Mar 25, 2008 at 9:43 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
   ...
>  Since we have some strong use cases at least for the bytes->int case,
>  consistency then suggests that the other numeric types should all accept
>  bytes as well (interpreting them as ASCII encoded strings).

+1 -- it seems very practical as well as consistent, and I see no downsides.


Alex


More information about the Python-Dev mailing list