[issue7055] Automatic test___all__

2009-10-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Finally backported to 2.6 (r75751) and 3.1 (r75752). -- ___ Python tracker ___ ___ Python-bugs-list

[issue7055] Automatic test___all__

2009-10-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r75312, r75314. I'm not sure this should be backported to 2.6 and 3.1 (although it might be useful). -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue7055] Automatic test___all__

2009-10-10 Thread Nick Coghlan
Nick Coghlan added the comment: I'm glad someone with more roundtuits than I had the same idea after the logging error in 2.6.3 :) The regrtest change isn't needed any more since RDM checked that concept in separately - the test update itself looks fine though (and applies and runs cleanly on t

[issue7055] Automatic test___all__

2009-10-04 Thread R. David Murray
R. David Murray added the comment: Hmm. Maybe we could fix it _and_ complain. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue7055] Automatic test___all__

2009-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: You are right, such an approach would be better. I don't really want to mess with test_distutils, however, and I was looking for a reliable fix to the problem. -- ___ Python tracker

[issue7055] Automatic test___all__

2009-10-04 Thread R. David Murray
R. David Murray added the comment: For os.environ, wouldn't it be better to fix the tests so that they don't disturb the environment? Even if the CGIHTTPServer legitimately modifies the environment, shouldn't it be the responsibility of its test suite to wrap it so that the environment isn't mo

[issue7055] Automatic test___all__

2009-10-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file15039/test_all.patch ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue7055] Automatic test___all__

2009-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: There was a problem with os.environ (from distutils and CGIHTTPServer) changes disturbing test_wsgiref, so I've added an unconditional save/restore of os.environ in test.regrtest. -- Added file: http://bugs.python.org/file15040/test_all.patch _

[issue7055] Automatic test___all__

2009-10-04 Thread Georg Brandl
Georg Brandl added the comment: Hey, I was doing that too! :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7055] Automatic test___all__

2009-10-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- keywords: +patch Added file: http://bugs.python.org/file15039/test_all.patch ___ Python tracker ___ ___

[issue7055] Automatic test___all__

2009-10-04 Thread Antoine Pitrou
New submission from Antoine Pitrou : This patch replaces the explicit list of modules in test___all__ with an automatic detection of modules having a __all__ attribute, so that we don't forget any. It doesn't really appear to slow things down; test___all__ only takes one second here. --