News

Website is under construction

LogIn

Python: Extend existing classes and auto register nested classes with correct names

Note: The code used to extend a class itself was originally taken from python partial 1.0 and modified to also auto register nested classes with correct name recursively.

The purpose of updating the name of nested classes is so that you can pickle and unpickle the class without problems.
By updating nested classes with correct names, you can use them to emulate namespaces without using modules/packages


Code Source: Download


Code Sample: Download

May 09,2009 1:03 PM by rpgmaker

 0 Comment. View: 691