Changes between Initial Version and Version 1 of Ticket #918

Show
Ignore:
Timestamp:
08/14/09 18:52:14 (5 years ago)
Author:
NotFound
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #918

    • Property summary changed from Change handling of init_class functions to Change handling of class_init functions
  • Ticket #918 – description

    initial v1  
    1 The init_class functions from pmc and dynpmc are inserted in line into the generated init_class that does internal work. This way exposes undocumented variables to the user init_class, which is confusing. 
     1The class_init functions from pmc and dynpmc are inserted in line into the generated class+init that does internal work. This way exposes undocumented variables to the user class_init, which is confusing. 
    22 
    3 The attached patch shows the proposed change: put the code in a static function and call that function from the generated init_class. 
     3The attached patch shows the proposed change: put the code in a static function and call that function from the generated class_init. 
    44 
    55The only problem is that dynpmc from external modules or languages can still be using the now unneeded 'pass' variable, thus that change may need a deprecation cycle.