[Python-Dev] To 3.0.2 or not to 3.0.2?

Georg Brandl g.brandl at gmx.net
Tue Feb 17 22:02:33 CET 2009


Benjamin Peterson schrieb:
> On Tue, Feb 17, 2009 at 5:25 AM, Samuele Pedroni <pedronis at openend.se> wrote:
>> Didn't a test fail because of this? seems the underlying issue is that this
>> part of the stdlib didn't have enough test coverage. It seems that having
>> very good/improving test coverage like is recommended  for 3rd-party project
>> wanting to switch would be a good goal for 3.0 evolution too. We know from
>> PyPy experience that while always improving the test suite coverage is quite
>> spotty at times.
> 
> No, a test didn't fail. Our new distutils maintainer, Tarek Ziade,
> though, has been increasing the distutils test coverage greatly.

In addition to testing, this specific issue could have been found easily by
running something like pylint over the stdlib, because undefined globals
are one of the things they can detect with 100% accuracy...

The hard thing about pylint of course is to get the signal/noise ratio right :)

Georg

-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-Dev mailing list