This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ezio.melotti, jkloth, serhiy.storchaka, vstinner
Date 2015-09-23.11:06:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <5267913.9xKx59uMj6@raxxla>
In-reply-to <1443003154.43.0.463395539822.issue25220@psf.upfronthosting.co.za>
Content
середа, 23-вер-2015 10:12:35 STINNER Victor написано:
> New submission from STINNER Victor:
> 
> The Lib/test/regrtest.py file became a monster. It's very long, it uses a
> lot of global variables. It's hard to review and hard to maintain. I
> propose to:
> 
> - split single file regrtest.py into multiple files in a new
> Lib/test/regrtest/ package

You can just mover parts of the code into utility files (or to the test.support 
package) without converting regrtest.py to a package. This preserves 
compatibility with running Lib/test/regrtest.py as a script.

> - refactor the test runner as a class to avoid global variables

Global variables are not evil in a script. Are there other reasons besides 
aesthetic?
History
Date User Action Args
2015-09-23 11:06:39serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, jkloth, ezio.melotti
2015-09-23 11:06:39serhiy.storchakalinkissue25220 messages
2015-09-23 11:06:39serhiy.storchakacreate