I guess you'll make Python slower if you implement this kind of feature. Exposing internal APIs is not always a good thing. People rely on that and afterwards this new feature can't be removed. Your suggestion will do also this change and afterwards you never can change it again. It's not always a good Idea. Maybe this helps you with you problem, but it may cause many other problems.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!