[New-bugs-announce] [issue32385] Clean up the C3 MRO algorithm implementation.

Serhiy Storchaka report at bugs.python.org
Wed Dec 20 10:40:56 EST 2017

New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

The C3 MRO algorithm implementation uses lists and converts input tuples to lists. This is redundant, because these lists are not mutated. The proposed PR makes the implementation using tuples and gets rid of unneeded conversions.

components: Interpreter Core
messages: 308739
nosy: pitrou, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Clean up the C3 MRO algorithm implementation.
type: performance
versions: Python 3.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list