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 arhadthedev
Recipients arhadthedev, serhiy.storchaka, sobolevn
Date 2021-11-04.11:53:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636026781.86.0.870568493349.issue45672@roundup.psfhosted.org>
In-reply-to
Content
> because this modification does not affect behavior

Unfortunately, this one (that I missed by not reading the report thoroughly) makes the framework totally unsuitable for CI.

However, looking at such false positives allows to muse about reasons behind design choises. For example (in a snippet you cited), why Python runtime stores bases as a tuple, not as a linked list. Anyway, application of the method resolution order scans them sequentially, they are not of a primitive type (so tuples give no optimization), a call of bases.index() may be replaced with a reference property inside class internals, etc.

Though, I perfectly understand that such treatment leads to immense amount of refactoring with no performance gain, probably counterweighted with removal of couple of internal packages that will become unused after it. That's why I wrote about "a task of the OP themselves".
History
Date User Action Args
2021-11-04 11:53:01arhadthedevsetrecipients: + arhadthedev, serhiy.storchaka, sobolevn
2021-11-04 11:53:01arhadthedevsetmessageid: <1636026781.86.0.870568493349.issue45672@roundup.psfhosted.org>
2021-11-04 11:53:01arhadthedevlinkissue45672 messages
2021-11-04 11:53:01arhadthedevcreate