unfortunately it's going to
> take a little time.
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Hardy
> Sent: Tuesday, November 27, 2007 7:40 PM
> To: Discussion of IronPython
> Subject: [IronPython
ut unfortunately it's going to
take a little time.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Hardy
Sent: Tuesday, November 27, 2007 7:40 PM
To: Discussion of IronPython
Subject: [IronPython] Issues with Silly Module Tricks
Hi,
Hi,
The following code is adapted from the Pygments library:
automod_test.py
import types
class _automodule(types.ModuleType):
"""Automatically import lexers."""
def __getattr__(self, name):
return "blah"
import sys
oldmod = sys.modules['automod_test']
newmod = _automodule('auto