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/2010-October/104476.html below:

[Python-Dev] question/comment about documentation of relative imports

[Python-Dev] question/comment about documentation of relative imports [Python-Dev] question/comment about documentation of relative importsGuido van Rossum guido at python.org
Tue Oct 5 20:21:56 CEST 2010
On Tue, Oct 5, 2010 at 11:17 AM, Darren Dale <dsdale24 at gmail.com> wrote:
> The issue is implementing a PEP with nice support for relative
> imports, and then documenting that it should never be used.

Isn't this mostly historical? Until the new relative-import syntax was
implemented there were various problems with relative imports. The
short-term solution was to recommend not using them. The long-term
solution was to implement an unambiguous syntax. Now it is time to
withdraw the anti-recommendation. Of course, without going overboard
-- I still find them an acquired taste; but they have their place.

-- 
--Guido van Rossum (python.org/~guido)
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