This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients brett.cannon, martin.panter, python-dev
Date 2015-12-05.00:19:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1449274754.14.0.212489804911.issue25771@psf.upfronthosting.co.za>
In-reply-to
Content
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))
History
Date User Action Args
2015-12-05 00:19:14martin.pantersetrecipients: + martin.panter, brett.cannon, python-dev
2015-12-05 00:19:14martin.pantersetmessageid: <1449274754.14.0.212489804911.issue25771@psf.upfronthosting.co.za>
2015-12-05 00:19:14martin.panterlinkissue25771 messages
2015-12-05 00:19:14martin.pantercreate