Size: 435
Comment:
|
← Revision 3 as of 2008-11-15 09:15:59 ⇥
Size: 469
Comment: converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
New-style types in Jython 2.2 were created from Java code using a system of templates that inserted code in the types to be exposed to Python and created new *Derived classes that allowed them to be subclasses. The type exposing templates have been replaced with Java annotations and bytecode generation, but the *Derived items are still generated from templates. They need to be hooked into the bytecode generation system as well. | New-style types in Jython 2.2 were created from Java code using a system of templates that inserted code in the types to be exposed to Python and created new *Derived classes that allowed them to be subclasses. The type exposing templates have been replaced with Java annotations and bytecode generation as explained in PythonTypesInJava, but the *Derived items are still generated from templates. They need to be hooked into the bytecode generation system as well. |
New-style types in Jython 2.2 were created from Java code using a system of templates that inserted code in the types to be exposed to Python and created new *Derived classes that allowed them to be subclasses. The type exposing templates have been replaced with Java annotations and bytecode generation as explained in PythonTypesInJava, but the *Derived items are still generated from templates. They need to be hooked into the bytecode generation system as well.