From: Brett Cannon Date: Mon, 2 Feb 2009 05:58:30 +0000 (+0000) Subject: Note to move __package__ stuff over to rpartition to make Nick happy. Also make X-Git-Tag: v3.1a1~313 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=02a6888d91ed6a9d8c52db8e54fca6e633fbb9cb;p=thirdparty%2FPython%2Fcpython.git Note to move __package__ stuff over to rpartition to make Nick happy. Also make sure that accepting the empty string for top-level modules is okay. --- diff --git a/Lib/importlib/NOTES b/Lib/importlib/NOTES index 7a9ca6652f0f..5e65270bad23 100644 --- a/Lib/importlib/NOTES +++ b/Lib/importlib/NOTES @@ -1,6 +1,10 @@ to do ///// +* Use rpartition for getting the package of a module. + + + Make sure that an empty string is acceptable for __package__. + * Create meta_path importer for sys.path. + Create hook.