[Python-Dev] Re: native code compiler? (or, OCaml vs. Python)

Jeremy Hylton jeremy@zope.com (Jeremy Hylton)
Mon, 3 Feb 2003 17:51:26 -0500


>>>>> "GvR" == Guido van Rossum <guido@python.org> writes:

  >> But it is useful for to replace modules.  For example, if you
  >> want to debug a module that uses the thread module, you can
  >> replace it's "thread" global with something that hooks
  >> "start_new_thread."  I think that pattern is not uncommon.

  GvR> My proposal is to allow rebinding existing globals, just not to
  GvR> allow binding *new* globals *if* they shadow certain builtins.

Oh!  +1 on that.

just-add-a-future-statement-ly y'rs,
Jeremy