[Python-Dev] Bilingual scripts

Antoine Pitrou solipsis at pitrou.net
Tue May 28 20:02:45 CEST 2013


On Tue, 28 May 2013 13:27:18 -0400
Barry Warsaw <barry at python.org> wrote:
> On May 25, 2013, at 09:53 AM, Antoine Pitrou wrote:
> 
> >How about always running the version specific targets, e.g.
> >nosetests-2.7?
> 
> We have nosetests-2.7 and nosetests3 in /usr/bin, but we generally recommend
> folks not use these, especially for things like (build time) package tests.
> It's harder to iterate over when the installed versions are unknown
> statically, e.g. if you wanted to run all the tests over all available
> versions of Python.

It sounds like you want a dedicated script or utility for this ("run
all the tests over all available versions of Python") rather than hack
it every time you package a Python library.

Your use case also doesn't seem to impact end-users.

> This is why I would really like to see all scripts provide a -m equivalent for
> command line invocation.  This might be a little awkward for < Python 2.7
> (where IIRC -m doesn't work with packages).

Do you still support Python < 2.7?

Regards

Antoine.




More information about the Python-Dev mailing list