[Patches] [ python-Patches-619475 ] C3 MRO algorithm implementation
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 06 Oct 2002 20:02:42 -0700
Patches item #619475, was opened at 2002-10-07 05:02
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=619475&group_id=5470
Category: Core (C code)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Samuele Pedroni (pedronis)
Assigned to: Nobody/Anonymous (nobody)
Summary: C3 MRO algorithm implementation
Initial Comment:
At least is a beginning. On Linux all tests and the
modified test_descr.py pass.
A few cases in test_descr.py are commented out,
maybe they should be adjusted, reconstructed.
For order disagreement situations: backup logic
picking an element from the first non-empty list and
removing it from all lists, where it appears, and just
throwing a warning instead of an exception could be
put where I set the exception now.
Although in the long run people should learn to use
consistent hiearchies anyway.
PS: I was wondering how to get/reuse lst.remove(o)
functionality from C, apart through
PyObject_CallMethod...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=619475&group_id=5470