Message158232
I'm attaching a patch to better explain what I'm suggesting. As you can see, this patch doesn't change the signature of discover, nor does it change the semantics for any code that doesn't pass pattern, or that passes some pattern other than None.
The only change is that now, passing pattern=None is the same as not passing pattern at all. As a result, load_tests might now pass pattern=pattern as the documentation suggests, and still be called with pattern=None without raising an exception. |
|
Date |
User |
Action |
Args |
2012-04-13 20:56:28 | gagern | set | recipients:
+ gagern, ezio.melotti, eric.araujo, michael.foord, rik.poggi |
2012-04-13 20:56:28 | gagern | set | messageid: <1334350588.48.0.989532401478.issue11218@psf.upfronthosting.co.za> |
2012-04-13 20:56:27 | gagern | link | issue11218 messages |
2012-04-13 20:56:27 | gagern | create | |
|