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/2002-December/030901.html below:

[Python-Dev] zipimport & import hooks

[Python-Dev] zipimport & import hooksFredrik Lundh fredrik@pythonware.com
Fri, 6 Dec 2002 14:53:31 +0100
Kevin wrote:

>   2) They don't care if Python stores objects, strings, or bananas in
>      sys.path, so long as=20
>=20
>        sys.path=3Dmap(str,sys.path)=20
>=20
>      results in a human-readable path and does not change how imports =
occur.

quick question: would the following variation of feeling #2 be =
acceptable:

>   2) They don't care if Python stores objects, strings, or bananas in
>      sys.path, so long as=20
>=20
>        sys.path=3Dmap(str,sys.path)=20

+
+      on a sys.path set up by the Python interpreter itself

>      results in a human-readable path and does not change how imports =
occur.

(note that today's Python already allows you to violate the above rule, =
by
adding non-string objects with cunningly constructed __str__ methods...)

</F>




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