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/2014-January/131441.html below:

[Python-Dev] PEP 460 reboot

[Python-Dev] PEP 460 reboot [Python-Dev] PEP 460 rebootGlenn Linderman v+python at g.nevcal.com
Mon Jan 13 21:54:31 CET 2014
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>
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