[Python-Dev] Extended Function syntax
Michael Hudson
mwh@python.net
Mon, 27 Jan 2003 18:34:32 +0000
Oren Tirosh <oren-py-d@hishome.net> writes:
> On Mon, Jan 27, 2003 at 04:22:52PM +0000, Michael Hudson wrote:
>>
>> So we're around to suggesting
>>
>> def <arbitrary-rvalue>(params):
>> ...
>
> I hope you're joking...
Well, not entirely. I was more trying to tease out of you what you
intended.
> Just in case you are not: a fully-qualified name consists of identifiers
> separated by dots.
I hadn't seen the phrase "fully-qualified name" used in this thread;
it wasn't obvious to me that any such limitation was implied. I may
have missed something, of course.
> It's not an arbitrary expression. At least that's how
> it works in the Python module namespace.
But as a generalisation of "foo=new.function(CODE, GLOBS, 'foo')",
what I mentioned would be valid too. I'm not sure it's *sensible*,
but that's a different kettle of fish...
Cheers,
M.
--
... Windows proponents tell you that it will solve things that
your Unix system people keep telling you are hard. The Unix
people are right: they are hard, and Windows does not solve
them, ... -- Tim Bradshaw, comp.lang.lisp