[Python-Dev] Next-to-last wart in Python syntax.
Thomas Wouters
thomas@xs4all.net
Tue, 13 Mar 2001 01:01:45 +0100
On Mon, Mar 12, 2001 at 06:48:21PM -0500, Barry A. Warsaw wrote:
> >>>>> "GvR" == Guido van Rossum <guido@digicool.com> writes:
> GvR> Yes, that was on the list once but got dropped. You might
> GvR> want to get together with Finn and Samuele to see what their
> GvR> rules are. (They allow the use of some keywords at least as
> GvR> keyword=expression arguments and as object.attribute names.)
> I'm actually a little surprised that the "Jython vs. CPython"
> differences page doesn't describe this (or am I missing it?):
Nope, it's not in there. It should be under the Syntax heading.
> http://www.jython.org/docs/differences.html
Funnily enough:
"Jython supports continue in a try clause. CPython should be fixed - but
don't hold your breath."
It should be updated for CPython 2.1 when it's released ? :-)
[*snip* how Barry thinks he remembers how Jython might handle keywords]
> It would eliminate much of the need for writing obfuscated code like
> "class_" or "klass".
Yup. That's one of the reasons I brought it up. (That, and Mark mentioned
it's actually necessary for .NET Python to adhere to 'the spec'.)
Holding-my-breath-ly y'rs,
--
Thomas Wouters <thomas@xs4all.net>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!