A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-March/078212.html below:

[Python-Dev] Decimal(unicode)

[Python-Dev] Decimal(unicode) [Python-Dev] Decimal(unicode)Greg Ewing greg.ewing at canterbury.ac.nz
Wed Mar 26 00:31:24 CET 2008
Nick Coghlan 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).

How far should this go? Is conversion to numbers really
so special, or should bytes be acceptable in any context
requiring a string, with an implicit encoding of ascii?

-- 
Greg

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4