On 1/13/2014 1:49 AM, Mark Shannon wrote: >>> So why not replace '%s' with '%a' for the ascii case and >>> with '%b' for directly inserting bytes. >> >> Because %a and %b don't exist in Python 2.7? > > I thought this was about 3.5, not 2.7 ;) > '%s' can't work in 3.5, as we must differentiate between > strings which meed to be encoded and bytes which don't. It's about migrating code to reach a point where it can work on both 2.7 and 3.5. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140113/ee238fc5/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