From: <otm...@us...> - 2007-08-13 05:13:19
|
Revision: 3414 http://jython.svn.sourceforge.net/jython/?rev=3414&view=rev Author: otmarhumbel Date: 2007-08-12 22:13:17 -0700 (Sun, 12 Aug 2007) Log Message: ----------- applied patch #1682423 from pjenvey to fix bug #1603314. PyModule is now a new-style class. The original addition of revision 3157 did not make it into the 2.3 branch, and therefore got deleted when moving the branch changes back to trunk in revision 3405. Revision Links: -------------- http://jython.svn.sourceforge.net/jython/?rev=3157&view=rev http://jython.svn.sourceforge.net/jython/?rev=3405&view=rev Added Paths: ----------- trunk/jython/src/templates/module.derived trunk/jython/src/templates/module.expose Added: trunk/jython/src/templates/module.derived =================================================================== --- trunk/jython/src/templates/module.derived (rev 0) +++ trunk/jython/src/templates/module.derived 2007-08-13 05:13:17 UTC (rev 3414) @@ -0,0 +1,4 @@ +base_class: PyModule +want_dict: false +ctr: +incl: object Added: trunk/jython/src/templates/module.expose =================================================================== --- trunk/jython/src/templates/module.expose (rev 0) +++ trunk/jython/src/templates/module.expose 2007-08-13 05:13:17 UTC (rev 3414) @@ -0,0 +1,15 @@ +# setup +type_name: module +type_class: PyModule +# getsets +expose_getset: __dict__ getDict setDict delDict +expose_getset: __doc__ getDoc +# exposed methods +expose_meth: __repr__ + `sdeleg`(toString); +expose_new_mutable: +expose_meth: :- __setattr__ n{attribute name}o +expose_meth: :- __delattr__ n{attribute name} +expose_wide_meth: __init__ -1 -1 + `vdeleg`(init); + `void; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |