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/2010-July/102224.html below:

[Python-Dev] Python Language Summit EuroPython 2010

[Python-Dev] Python Language Summit EuroPython 2010 [Python-Dev] Python Language Summit EuroPython 2010Eric Smith eric at trueblade.com
Thu Jul 22 19:50:02 CEST 2010
Thanks for writing this, Tim.

On 7/21/10 11:11 AM, Tim Golden wrote:

> The issue of a __format__ equivalent for bytes was also raised as was the
> idea of object methods to render an object as string or bytes, which could
> be used in the polymorphic functions above.

Does this mean bytes.__format__, or does it mean bytes.format? 
bytes.__format__ already exists, but it just calls object.__format__. 
I'm not sure what the desired functionality for bytes.__format__ would be.

If it means bytes.format, this would be relatively easy to do in 
CPython, if there's agreement to add it.

-- 
Eric.
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