A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-October/083136.html below:

[Python-Dev] is the 'path' argument to an importer's find_module() just a hint?

[Python-Dev] is the 'path' argument to an importer's find_module() just a hint? [Python-Dev] is the 'path' argument to an importer's find_module() just a hint?glyph at divmod.com glyph at divmod.com
Mon Oct 27 20:31:15 CET 2008
On 07:24 pm, brett at python.org wrote:
>On Mon, Oct 27, 2008 at 3:50 AM, Nick Coghlan <ncoghlan at gmail.com> 
>wrote:
>>Brett Cannon wrote:

>Good enough for me. Then I am just going to ignore the 'path' argument
>for frozen modules but use it to short-circuit imports for built-in
>modules.

For what it's worth, Twisted uses the __path__ attribute to facilitate 
its plugin mechanism.  If this changes so that importing from frozen 
packages no longer honors __path__, then Twisted will no longer support 
plugins if the package to be plugged into is frozen.

What is the motivation to change this?
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4