cpython/Misc/NEWS.d/next/Core and Builtins/2018-03-25-19-49-06.bpo-330...

5 lines
227 B
ReStructuredText

When using the -m switch, sys.path[0] is now explicitly expanded as the
*starting* working directory, rather than being left as the empty path
(which allows imports from the current working directory at the time of the
import)