I never suggested adding this "for consistency".
Then what ARE you suggesting it for?
As far as I can tell, it would be a handy shorthand.
And you had suggested it could result in more efficient bytecode, but I think someone else thought that wasn't the case.
It could lead to some optimization -- literals being treated as contents, yes?
But what does that matter? are they heavenly used in any common code?
-CHB
-- Christopher Barker, PhD (Chris)
Python Language Consulting
- Teaching
- Scientific Software Development
- Desktop GUI and Web Development
- wxPython, numpy, scipy, Cython