Ejemplo n.º 1
0
 def __init__(self, extmodule, files_sum_repository=None, encoding='ascii'):
     object.__init__(self)
     self.__extmodule = extmodule
     self.__files_sum_repository = files_sum_repository
     self.__encoding=encoding
     if None is files_sum_repository:
         self.__files_sum_repository = md5sum_repository.dummy_repository_t()
     self.__exposed_decls_db = utils.exposed_decls_db_t()
     self.__exposed_decls_db.register_decls( extmodule.global_ns )
Ejemplo n.º 2
0
 def __init__(self, extmodule, files_sum_repository=None, encoding='ascii'):
     object.__init__(self)
     self.__extmodule = extmodule
     self.__files_sum_repository = files_sum_repository
     self.__encoding=encoding
     if None is files_sum_repository:
         self.__files_sum_repository = md5sum_repository.dummy_repository_t()
     self.__exposed_decls_db = utils.exposed_decls_db_t()
     self.__exposed_decls_db.register_decls( extmodule.global_ns
                                             , extmodule.specially_exposed_decls )