[Patches] [ python-Patches-619471 ] C3 MRO algorithm implementation

noreply@sourceforge.net noreply@sourceforge.net
Sun, 06 Oct 2002 19:54:32 -0700


Patches item #619471, was opened at 2002-10-07 04:33
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=619471&group_id=5470

Category: Core (C code)
Group: None
>Status: Deleted
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_descrt.py pass.

A few cases in test_descr.py are commented out, maybe
they you be adjusted, reconstructed.

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 lst.remove(o)
functionality from C, apart through PyObject_CallMethod...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=619471&group_id=5470