Python Macros
Alex Martelli
aleaxit at yahoo.com
Wed Oct 6 04:34:45 EDT 2004
More information about the Python-list mailing list
Wed Oct 6 04:34:45 EDT 2004
- Previous message (by thread): Python Macros
- Next message (by thread): Python Macros
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
gabriele renzi <rff_rff at remove-yahoo.it> wrote: > Jacek Generowicz ha scritto: > > > _Most_ object-oriented languages support object orientation via the > > message passing paradigm. Python included. > > I disagree slightly. > I think the difference is really subtle, but there are some dict-based > languages like python and some message-based like smalltalk. > Actually I think the discriminating is having a doesNotUnderstand:-like > facility versus a __getattr__ one. Please explain how this syntax choice "discriminates" anything whatsoever? __getattr__ is called when some message isn't understood by the "normal" mechanisms of the object, too. Alex
- Previous message (by thread): Python Macros
- Next message (by thread): Python Macros
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list