Split python sources.
Avoid magic numbers.
Add match condition for function name (close gh-2).
Add an internal function to share between variants (ref gh-4).
Add variants for read_only_wo_len (close gh-4).
Don't prepend a tab before generated code.
Add an entry to use read_only_wo_len_all().