Movatterモバイル変換


[0]ホーム

URL:


homepage

Message255642

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Authormartin.panter
Recipientsmartin.panter
Date2015-12-01.05:31:33
SpamBayes Score-1.0
Marked as misclassifiedYes
Message-id<1448947894.1.0.971575571341.issue25771@psf.upfronthosting.co.za>
In-reply-to
Content
>>> import importlib.util>>> importlib.util.resolve_name(".submodule", None)Traceback (most recent call last):  File "<stdin>", line 1, in <module>  File "/home/proj/python/cpython/Lib/importlib/util.py", line 26, in resolve_name    '(no leading dot)'.format(name))ValueError: '.submodule' is not a relative name (no leading dot)This message sounds like nonsense. Perhaps the it should say something like:    '.submodule' should be an absolute name (no leading dot)or:    relative import of '.submodule' not allowed outside of a package
History
DateUserActionArgs
2015-12-01 05:31:34martin.pantersetrecipients: +martin.panter
2015-12-01 05:31:34martin.pantersetmessageid: <1448947894.1.0.971575571341.issue25771@psf.upfronthosting.co.za>
2015-12-01 05:31:34martin.panterlinkissue25771 messages
2015-12-01 05:31:33martin.pantercreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp