Guido at Google

drew.smathers at gmail.com drew.smathers at gmail.com
Thu Dec 22 20:15:49 CET 2005


And I have around one year to wait for Ruby to get rid of the nasty
syntax copied from Perl and make it look as beautiful as Python ....
Then I'll consider switching.  ;)

Ummm, I'm sorry, did you say clean reflective meta-model???

So this:

caller[0] =~ /in `([^']+)'/ ? $1 : '(anonymous)'

vs. the python example:

filename, line, fname, source = traceback.extract_stack(limit=2)[0]
        return fname

is what you call clean??  Hmmm ... interesting.




More information about the Python-list mailing list