sidekick.evil

This module modifies the C Python interpreter and enable some Sidekick idioms to regular Python functions. It also have some internal facilities to patch builtin types that uses techniques similar to those found in the forbiddenfruit package. Use if you are curious, but do not use it for anything serious.

The public API has only two functions, no_evil() and forbidden_powers(). For other functionality, dig the code and know what you are doing.

Functions

forbidden_powers(**kwargs) Apply all powers.
no_evil() Remove overloading arithmetic operators from fn-functions.

API reference

sidekick.evil.no_evil()[source]

Remove overloading arithmetic operators from fn-functions.

sidekick.evil.forbidden_powers(**kwargs)

Apply all powers.