These are the undefined behaviours of pkpy. The behaviour of pkpy is undefined if you do the following things.
- Delete a builtin object. For example,
- Call an unbound method with the wrong type of
self. For example,
- Use goto statement to jump out of a context block.
__new__returns an object that is not an instance of
__new__with a type that is not a subclass of
__contains__, etc.. returns a value that is not a boolean.
- Division by zero.