Backport PR #14052 on branch 8.12.x (Only enable "resume hinting" with right arrow if at the EOL) (#14068)
Backport PR #14052: Only enable "resume hinting" with right arrow if at
the EOL
Backport PR #14029 on branch 8.12.x (Allow safe access to the `__getattribute__` method of modules) (#14065)
Backport PR #14029: Allow safe access to the `__getattribute__` method
of modules