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/2009-December/094719.html below:

[Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2

[Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2 [Python-Dev] Proposing PEP 345 : Metadata for Python Software Packages 1.2MRAB python at mrabarnett.plus.com
Tue Dec 29 00:48:20 CET 2009
Antoine Pitrou wrote:
> David Lyon <david.lyon <at> preisshare.net> writes:
>> Requires a particular python version.
>>
>>   > Requires-Python: 2.5:2.7
> 
> Why not drop ranges as well as operators and simply use commas?
> The above would be rewritten as:
> 
> Requires-Python: 2.5, 2.6, 2.7
> 
> This would prevent the ambiguity on the inclusive or exclusive nature of the
> upper bound of the range.
> 
That would mean that commas mean "and" for some entries but "or" for
others.

> You might argue that if you want to include 8 versions of Python this makes the
> notation slightly longer, but who tests their package with 8 different versions
> of Python?
> (and if you don't test exhaustively, just use the "2.5+" notation)
> 
Wouldn't "2.5+" include "3"? How often would that be used, considering
the differences between Python 2.x and Python 3.x?
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