On 3/29/2014 12:01 PM, Gregory P. Smith wrote: > From a 2.x-3.x compatible code standpoint the above could exist but > the container class constructor would be a no-op on Python 2. > if sys.version_info[0] == 2: > BytesFormatter = str > else: > class BytesFormatter: ... def __mod__ ... If done as a container class, the Python 2 version should implement the same restrictions on %s for numerics, and implement %b. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140329/0ca97ae3/attachment.html>
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