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