[Patches] [ python-Patches-619475 ] C3 MRO algorithm implementation
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 03 Nov 2002 12:39:21 -0800
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: Guido van Rossum (gvanrossum)
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...
----------------------------------------------------------------------
>Comment By: Samuele Pedroni (pedronis)
Date: 2002-11-03 21:39
Message:
Logged In: YES
user_id=61408
FYI, I will be off-line from 4 to 16 Nov.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=619475&group_id=5470