On Oct 6, 2008, at 12:20 PM, Dag Sverre Seljebotn wrote:

> (I've mentioned this idea before but it now has more actuality.)
>
> I just read ticket 95. When it comes to subclassing the module type  
> (if
> this is possible and easy and doesn't cost too much performance etc  
> etc)

I looked into this a touch, and think it'd be fairly easy and very  
little (if any) performance overhead. The only question is if there  
are thing that access/manipulate the module's __dict__ directly,  
which is of course discouraged.

> then this has another advantage: We could make early-bound symbols
> read-only.

I've been thinking *exactly* the same thing.

- Robert

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to