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/2011-April/110535.html below:

[Python-Dev] PEP 396, Module Version Numbers

[Python-Dev] PEP 396, Module Version NumbersAntoine Pitrou solipsis at pitrou.net
Thu Apr 7 13:51:48 CEST 2011
On Thu, 07 Apr 2011 12:10:59 +0100
Michael Foord <fuzzyman at voidspace.org.uk> wrote:
> On 06/04/2011 15:26, Nick Coghlan wrote:
> > On Wed, Apr 6, 2011 at 6:22 AM, Glenn Linderman<v+python at g.nevcal.com>  wrote:
> >> With more standardization of versions, should the version module be promoted
> >> to stdlib directly?
> > When Tarek lands "packaging" (i.e. what distutils2 becomes in the
> > Python 3.3 stdlib), the standardised version handling will come with
> > it.
> >
> >> On 4/5/2011 11:52 AM, Barry Warsaw wrote:
> >>
> >>      DEFAULT_VERSION_RE = re.compile(r'(?P<version>\d+\.\d(?:\.\d+)?)')
> >>
> >>      __version__ = pkgutil.get_distribution('elle').metadata['version']
> >>
> 
> I really dislike this way of specifying the version. For a start it is 
> really ugly.

Agreed, it is incredibly obscure and unpleasantly opaque.

Regards

Antoine.


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