Movatterモバイル変換


[0]ホーム

URL:


homepage

Message270725

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
Recipientsbrett.cannon, eric.snow, martin.panter, ncoghlan, wolma
Date2016-07-18.07:47:51
SpamBayes Score-1.0
Marked as misclassifiedYes
Message-id<1468828073.04.0.337001802726.issue27487@psf.upfronthosting.co.za>
In-reply-to
Content
Here is an updated patch. Since the message no longer applies to top-level modules, I went back to a version closer to Wolfgang’s suggestion, which should eliminate the problem with “any parent packages”.Now the messages look like this:/media/disk/home/proj/python/cpython/Lib/runpy.py:125: RuntimeWarning: 'package.module' found in sys.modules after import of package 'package', but prior to execution of 'package.module'; this may result in unpredictable behaviour  warn(RuntimeWarning(msg))/media/disk/home/proj/python/cpython/python: Error while finding module specification for 'package.module' (ValueError: package.module.__spec__ is not set)[Exit 1]
History
DateUserActionArgs
2016-07-18 07:47:53martin.pantersetrecipients: +martin.panter,brett.cannon,ncoghlan,eric.snow,wolma
2016-07-18 07:47:53martin.pantersetmessageid: <1468828073.04.0.337001802726.issue27487@psf.upfronthosting.co.za>
2016-07-18 07:47:53martin.panterlinkissue27487 messages
2016-07-18 07:47:52martin.pantercreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp