[Python-Dev] New universal import mechanism ( Re: [Python-checkins] python/dist/src/Python import.c,2.210,2.211)

Wiktor Sadowski Wiktor Sadowski" <art@wiktorsadowski.com
Mon, 2 Dec 2002 06:22:43 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0696_01C299CB.38DFD840
Content-Type: text/plain;
	charset="windows-1250"
Content-Transfer-Encoding: quoted-printable

Just van Rossum  wrote:

>>Could you please post a normal diff of your patch? It looks very =
interesting.
Sorry, I haven't got time for cleaning up my modified Python C code and  =
building the diffs.

>.I'm not entirely sure yet how my idea and yours could be integrated, =
but I think
> it's work a look.

The concept is the same , there are differences in implementations.
The implementation you have posted is much more pure Python oriented.
I am using C structures and pointers to C functions (wherever possible) =
instead of Python objects=20
(well PyObjects are still C structures) , so maybe it's a little faster =
(maybe not)=20

Looks like I was wasting my time.;)

Wiktor Sadowski
art@wiktorsadowski.com





------=_NextPart_000_0696_01C299CB.38DFD840
Content-Type: text/html;
	charset="windows-1250"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1250">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>Just van=20
Rossum&nbsp; wrote:</FONT><BR></FONT></DIV>
<DIV>&gt;&gt;Could you please post a normal diff of your patch? It looks =
very=20
interesting.<BR>Sorry, I haven't got time for cleaning up my modified =
Python C=20
code and&nbsp;&nbsp;building the diffs.</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>&gt;.I'm not=20
entirely sure yet how my idea and yours could be integrated, but I =
think<BR>&gt;=20
it's work a look.</FONT><BR></FONT></DIV>
<DIV>The concept is the same , there are differences in =
implementations.</DIV>
<DIV>The&nbsp;implementation you have posted is much more pure Python=20
oriented.</DIV>
<DIV>I am using C structures and pointers to C functions (wherever =
possible)=20
instead of Python objects </DIV>
<DIV>(well&nbsp;PyObjects are still C structures) , so&nbsp;maybe =
it's&nbsp;a=20
little faster (maybe not) </DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>Looks like I was wasting my time.;)</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>Wiktor Sadowski</DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"mailto:art@wiktorsadowski.com">art@wiktorsadowski.com</A></FONT><=
/DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;</DIV>
<DIV>&nbsp;</DIV></FONT></BODY></HTML>

------=_NextPart_000_0696_01C299CB.38DFD840--