Chad Crabtree wrote: > Ok I'll explain what I've done so far. [...] > I hope I made myself clearer.
Yes. To add new stuff to the language you would have to work at the interpreter level. Probably you can avoid going too deep using import hooks, as it has already been suggested, to modify what's being imported on the fly. I believe it could work like Psyco if the preprocessor installed the import hooks when imported. Are you interested only in the syntactic sugar or you plan to generate more efficient code? Javier _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor