Skip to content
Snippets Groups Projects
user avatar
Danilo Piparo authored
pythonisations are lazy: upon class usage, the class gets pythonised, not before.
For some core classes though, for example TDirectory, lazy pythonisation is not possible.
This change introduces non-lazy pythonisations to address such cases.
The syntax for lazy pythonisations becomes

@pythonization()
def pythonize_myclass(klass, name):
  ...

to make a pythonisation non-lazy:

@pythonization(lazy=False)
def pythonize_myclass(klass, name):
  ...
0e736717
History
Name Last commit Last update