Re: Looking for a tool to checkfor python script backward compatibility

2009-07-13 Thread Lawrence D'Oliveiro
In message <4a59951a$0$10853$426a7...@news.free.fr>, Baptiste Lepilleur 
wrote:

> I'm looking for a tool that could be used in a pre-commit step to check
> that only features available in a "old" python version are used, say
> python 2.3 for example.

The only sure way would be to run the script under an appropriately old 
version of Python.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Looking for a tool to checkfor python script backward compatibility

2009-07-12 Thread Jean-Paul Calderone

On Sun, 12 Jul 2009 09:47:32 +0200, Baptiste Lepilleur  wrote:

I'm looking for a tool that could be used in a pre-commit step to check that
only features available in a "old" python version are used, say python 2.3
for example.

Does any one know of one ?



Run your test suite with whichever versions of Python you want to support.

Tools like Hudson () and BuildBot
() can help with this.

Jean-Paul
--
http://mail.python.org/mailman/listinfo/python-list


Looking for a tool to checkfor python script backward compatibility

2009-07-12 Thread Baptiste Lepilleur
I'm looking for a tool that could be used in a pre-commit step to check that 
only features available in a "old" python version are used, say python 2.3 
for example.

Does any one know of one ? 


-- 
http://mail.python.org/mailman/listinfo/python-list