Hi list,
I thought it would be nice in Python to allow some sort of meta coding
(which goes far ahead of simple function descriptors).
The most straight forward way would be to allow operations on the AST.
I wrote a small patch for CPython 2.7.1 which, for each code object,
adds the related AST
Hi,
I was thinking about a persistent Python interpreter system. I.e. you
start a Python interpreter instance and you load and create all your
objects, classes and code in there (or load it in there from other
files).
The basic idea is that you wont restart your Python script, you would
always mo
Hi,
I just created some code to support built-in sub modules.
The naive way I tried first was just to add {"Mod.Sub1.Sub2",
init_modsub1sub2} to _PyImport_Inittab. This didn't worked. Maybe it
would be a nice addition so that this works.
Mod itself, in my case, was a package directory with pure