Hi, On Mon, Feb 07, 2005 at 07:58:04PM +0100, [EMAIL PROTECTED] wrote: > Log: > added class NiceTranslate for compilation of dynamically > generated methods, see _classobj.py . > The generated code objects have correct source info > instead of just "<string>"
Funny how often we reinvent this particular wheel! That's at least the third way to work around this limitation of exec/compile that we have in PyPy. The first one should be removed, the second one is dyncode from the py lib, the third one is yours. My guess is that we need a very simple one that we use systematically for all of our dynamic compilation needs in PyPy, which interfaces nicely with dyncode but does't require the py lib to be imported outside of debugging code. Armin _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
