WIP: fixup: add compatibility with missing __code__ attribute
In order to apply 4115e465 it is needed to upgrade an existing side which only contains func_code
In order to apply 4115e465 it is needed to upgrade an existing side which only contains func_code