Message255909
Thanks, the fix is fine and there is no big need to backport it. For the record, I only came across this playing with runpy. Old message:
$ python3 -m .submodule
/sbin/python3: Error while finding spec for '.submodule' (<class 'ValueError'>: '.submodule' is not a relative name (no leading dot))
New message:
$ ./python -m .submodule
/media/disk/home/proj/python/cpython/python: Error while finding spec for '.submodule' (<class 'ValueError'>: no package specified for '.submodule' (required for relative module names)) |
|
Date |
User |
Action |
Args |
2015-12-05 00:19:14 | martin.panter | set | recipients:
+ martin.panter, brett.cannon, python-dev |
2015-12-05 00:19:14 | martin.panter | set | messageid: <1449274754.14.0.212489804911.issue25771@psf.upfronthosting.co.za> |
2015-12-05 00:19:14 | martin.panter | link | issue25771 messages |
2015-12-05 00:19:14 | martin.panter | create | |
|