[Python-ideas] discontinue iterable strings

אלעזר elazarg at gmail.com
Sat Aug 20 13:26:29 EDT 2016


On Sat, Aug 20, 2016 at 4:54 PM Chris Angelico <rosuav at gmail.com> wrote:

> I'm firmly of the opinion that this should not change. Code clarity is
> not helped by creating a brand-new "character" type and not having a
> corresponding literal for it, and the one obvious literal, given the
> amount of prior art using it, would be some form of quote character -
> probably the apostrophe. Since that's not available, I think a
> character type would be a major hurdle to get over.


It's possible (though not so pretty or obvious) to use $a for the character
"a".

~Elazar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160820/b1aa4ef4/attachment.html>


More information about the Python-ideas mailing list