Re: Python Macros

From: Arich Chanachai (macrocosm_at_fastmail.fm)
Date: 10/05/04


Date: Mon, 04 Oct 2004 23:12:20 -0400
To: python-list@python.org


-------- Original Message --------
Subject: Re: Python Macros
Date: Mon, 04 Oct 2004 23:08:03 -0400
From: Arich Chanachai <macrocosm@fastmail.fm>
To: Paul Foley <mycroft@actrix.co.nz>
References: <mailman.4250.1096902840.5135.python-list@python.org>
<m2r7odrk9o.fsf@mycroft.actrix.gen.nz>

Paul Foley wrote:

>On Mon, 04 Oct 2004 11:26:19 -0400, Arich Chanachai wrote:
>
>
>
>>How hard/easy is it to extend the Python syntax? Perhaps there are
>>macro facilities for this?
>>
>>
>
>No.
>
>
>
>> I'd like to add messages and message
>>passing, for example.
>>
>>
>
>What on Earth can you mean by this? Python already has it, and always
>has. What do you think "foo.bar()" is other than "pass message `bar'
>to object `foo'"?
>
>
>
What if foo doesn't know about bar(), can I tell foo that perhaps it
should send the bar() message to...say....boo?