[issue18492] Allow all resources if not running under regrtest.py

Serhiy Storchaka report at bugs.python.org
Wed May 14 10:33:55 CEST 2014


Serhiy Storchaka added the comment:

You have convinced me. In general the approach and the patch LGTM.

But I agree with Terry that flag support.regrtest_run is redundant, it duplicates a bit of information which provides support.use_resources. Instead we can rewrite support.is_resource_enabled() as

    return use_resources is None or resource in use_resources

Introducing regrtest_run can cause inconsistency between it and use_resources.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18492>
_______________________________________


More information about the Python-bugs-list mailing list