cpython/Misc/NEWS.d/next/Core and Builtins/2019-08-06-23-39-05.bpo-374...

3 lines
200 B
ReStructuredText

Ensure explicit relative imports from interactive sessions and scripts (having no parent package) always raise ImportError, rather than treating the current module as the package.
Patch by Ben Lewis.