Skip to content

version 0.1.2

Choose a tag to compare

@tintinweb tintinweb released this 06 Oct 20:05
· 33 commits to master since this release

minor update

  • added unittests to cover the registry interface
  • Instruction.clone(_template_cls) now takes an optional _template_cls to clone the current instruction into a user provided class that at least takes the same constructor arguments as Instruction()
  • added InstructionRegistry() that allows to create a registry based on a caller provided Instruction() subclass. check out the testcase in tests/test_registry for how to use this. Allows you to quickly build a registry for your own Instruction class.