Python/Jedi improvements