Message405682
> 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". |
|
Date |
User |
Action |
Args |
2021-11-04 11:53:01 | arhadthedev | set | recipients:
+ arhadthedev, serhiy.storchaka, sobolevn |
2021-11-04 11:53:01 | arhadthedev | set | messageid: <1636026781.86.0.870568493349.issue45672@roundup.psfhosted.org> |
2021-11-04 11:53:01 | arhadthedev | link | issue45672 messages |
2021-11-04 11:53:01 | arhadthedev | create | |
|