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/131572.html below:

[Python-Dev] PEP 460: allowing %d and %f and mojibake

[Python-Dev] PEP 460: allowing %d and %f and mojibake [Python-Dev] PEP 460: allowing %d and %f and mojibakeNick Coghlan ncoghlan at gmail.com
Tue Jan 14 23:21:05 CET 2014
On 15 Jan 2014 08:14, "Greg Ewing" <greg.ewing at canterbury.ac.nz> wrote:
>
> Guido van Rossum wrote:
>>
>> Actually, Nick explained that asciistr() + asciistr() returns str,
>
>
> That part seems wrong to me, because it means that
> you can't write polymorphic byte/string functions
> that are composable.
>
> I would be -1 on that, and prefer that
> asciistr + asciistr --> asciistr.

You have to pretty much reimplement str to do that. I wouldn't say no to a
patch that implemented it, but we're unlikely to do that much work
ourselves for something which is primarily intended as a proof of concept.

Cheers,
Nick.

>
> --
> Greg
>
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140115/733df28f/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