Lennart Regebro firstname.lastname@example.org writes:
On Mon, Dec 28, 2009 at 11:54, "Martin v. Löwis" email@example.com wrote:
This == operator is fairly common in Debian. For example, the apache2 package installed on my system specifies
Oh, absolutely, but that's when you specify interdependencies between packages. Nobody makes a Python package for generic use and say "you should only use this with Python 2.5.0 and nothing else". Specifying zope.interfaces 1.2.3 for zope.component 1.2.3 makes a lot of sense, but specifying only Python 2.5.0?
I'm operating from the principle that there should not be a special syntax that only applies to dependency on the version of Python.
The same syntax used for specifying any dependency on any package should also be sufficient for specifying a dependency on Python itself. That being so, the cost in complexity of having a special dependency syntax just for the version of Python should weigh strongly against introducing one.