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 Michael.Felt
Recipients Michael.Felt, vstinner
Date 2019-04-14.16:04:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555257880.16.0.504596384662.issue36624@roundup.psfhosted.org>
In-reply-to
Content
I took a peak at test.support.

a) I see that while many tests import test.support, or from test.support import <something> - not all tests use this.

b) I see that only 35 .py files in Lib/test have the string sys.platform.startswith, and there are 76 files that have sys.platform (so, there are roughly 40 files that have sys.platform without startswith).

I can start by adding _AIX to test.support and adding (as needed) from test.support import _AIX (and later _Linux, _Darwin) in the "35" files. If that seems to be working - and looking - proper the other 40 files could be added to the change.

Is this a good way to get started?
History
Date User Action Args
2019-04-14 16:04:40Michael.Feltsetrecipients: + Michael.Felt, vstinner
2019-04-14 16:04:40Michael.Feltsetmessageid: <1555257880.16.0.504596384662.issue36624@roundup.psfhosted.org>
2019-04-14 16:04:40Michael.Feltlinkissue36624 messages
2019-04-14 16:04:40Michael.Feltcreate