Ticket #95 (new defect)

Opened 3 months ago

Last modified 3 months ago

public and readonly module globals

Reported by: robertwb Assigned to: somebody
Priority: major Milestone: wishlist
Component: Code Generation Version:
Keywords: Cc:

Description

Class attributes can be declared public or readonly for access from Python. It'd be nice to be able to do the same for modules (though it might involve ugly hacks like http://mail.python.org/pipermail/python-list/2007-January/422578.html)

- Robert

Change History

10/04/2008 09:22:38 PM changed by robertwb

Or possibly we could subclass the module type, with custom gettattr and setattr methods rather than the generic ones.

10/08/2008 12:05:59 AM changed by robertwb

This would make in-module attribute much faster as well.