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/2000-March/002861.html below:

[Python-Dev] Great Renaming? What is the goal?

[Python-Dev] Great Renaming? What is the goal? [Python-Dev] Great Renaming? What is the goal?Jeremy Hylton jeremy@cnri.reston.va.us
Mon, 27 Mar 2000 12:14:46 -0500 (EST)
>>>>> "PF" == Peter Funk <pf@artcom-gmbh.de> writes:

  PF> That is even worse.  So not only the 'import' sections, which I
  PF> usually keep at the top of my modules, have to be changed: This
  PF> way for example 're.compile(...' has to be changed into
  PF> 'text.re.compile(...' all over the place possibly breaking the
  PF> 'Maximum Line Length' styleguide rule.

There is nothing wrong with changing only the import statement:
    from text import re

The only problematic use of from ... import ... is
    from text.re import *
which adds an unspecified set of names to the current namespace.

Jeremy




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