[Python-ideas] Keyword/Symbol literals

Ed Kellett edk141 at gmail.com
Wed Jan 21 10:07:14 CET 2015


On Wed Jan 21 2015 at 07:59:41 Todd <toddrjen at gmail.com> wrote:

> At best this saves one character, may reduce readability, and would
> require a huge amount of software to support another code path.  Is there
> any advantage to this besides the one character saved?
>

If symbols are [a subclass of] str, I don't see why a huge amount of
software - or indeed any software - would need to do anything special to
support it. (Other than the implementation of the feature itself,
obviously).

That said, I still don't think it's very useful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150121/405c2750/attachment.html>


More information about the Python-ideas mailing list