[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Misc NEWS,1.108,1.109
Wed, 31 Jan 2001 13:59:14 +0100
On Wed, Jan 31, 2001 at 12:49:22PM +0000, Finn Bock wrote:
> Using global on an import name is currently ignored by Jython because
> the name assignment is done by the runtime, not the compiler.
So it's impossible to do, in Jython, something like:
but it is possible to do:
import me as _me
me = _me
? I have to say I don't like that; we're always claiming 'import' (and
'def' and 'class' for that matter) are 'just another way of writing
assignment'. All these special cases break that.
Thomas Wouters <email@example.com>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!