[Python-Dev] Re: super() harmful?

2005-01-05 Thread James Y Knight
On Jan 5, 2005, at 6:36 PM, Guido van Rossum wrote: The idea of calling both __init__ methods doesn't work if there's a diamond; if there *is* a diamond (or could be one), using super() is the only sane solution. Very true. So then don't use it. You couldn't have diamonds at all before 2.2. With *c

RE: [Python-Dev] an idea for improving struct.unpack api

2005-01-05 Thread Raymond Hettinger
[Ilya Sandler] > A problem: > > The current struct.unpack api works well for unpacking C-structures where > everything is usually unpacked at once, but it > becomes inconvenient when unpacking binary files where things > often have to be unpacked field by field. Then one has to keep track > of of

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread Bob Ippolito
On Jan 5, 2005, at 18:46, Martin v. Löwis wrote: Bob Ippolito wrote: I just dug up some information I had written on this particular topic but never published, if you're interested: http://bob.pythonmac.org/archives/2005/01/05/versioned-frameworks- considered-harmful/ Interesting. I don't get

[Python-Dev] an idea for improving struct.unpack api

2005-01-05 Thread Ilya Sandler
A problem: The current struct.unpack api works well for unpacking C-structures where everything is usually unpacked at once, but it becomes inconvenient when unpacking binary files where things often have to be unpacked field by field. Then one has to keep track of offsets, slice the strings,cal

Re: [Csv] Re: [Python-Dev] csv module TODO list

2005-01-05 Thread Andrew McNamara
>>I'm still trying to understand what *needs* to be done - I would move to >>how this is done only later. What APIs should be extended/changed, and >>in what way? [...] >The reader interface currently returns a row at a time, consuming as many >lines from the supplied iterable (with the most common

Re: [Python-Dev] csv module TODO list

2005-01-05 Thread Andrew McNamara
Can you please elaborate on that? What needs to be done, and how is that going to be done? It might be possible to avoid considerable uglification. >> >> I'm not altogether sure there. The parsing state machine is all written in >> C, and deals with signed chars - I expect we'll need t

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread "Martin v. Löwis"
Jack Jansen wrote: But I do care:-) Specifically because I trust the crowd here to come up with good ideas (even if they're not Mac users:-). Thanks a lot. The "new" solution is basically to go back to the Unix way of building an extension: link it against nothing and sort things out at runtime

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread "Martin v. Löwis"
Bob Ippolito wrote: I just dug up some information I had written on this particular topic but never published, if you're interested: http://bob.pythonmac.org/archives/2005/01/05/versioned-frameworks- considered-harmful/ Interesting. I don't get the part why "-undefined dynamic_lookup" is a good

[Python-Dev] Re: super() harmful?

2005-01-05 Thread Guido van Rossum
On Wed, 5 Jan 2005 18:00:38 -0500, James Y Knight <[EMAIL PROTECTED]> wrote: > On Jan 5, 2005, at 1:23 PM, Guido van Rossum wrote: > >> The issue of mixing super() and explicit calls to the superclass's > >> method occur with any method. (Thus making it difficult/impossible for > >> a framework to

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread Jack Jansen
[Grmpf. I should check which account I use before pressing send. Here goes again] On 5-jan-05, at 1:08, Bob Ippolito wrote: The problem we're trying to solve is that due to the way Apple's framework architecture works newer versions of frameworks are preferred (at link time, and sometimes ev

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread Bob Ippolito
On Jan 5, 2005, at 17:38, Martin v. Löwis wrote: Bob Ippolito wrote: Nope. The only way to link to a non-current framework version is to forego any linker searching and specify the dyld file directly, i.e. /Library/Frameworks/Python.framework/Versions/2.3/Python. The gcc toolchain does not

[Python-Dev] Re: super() harmful?

2005-01-05 Thread James Y Knight
On Jan 5, 2005, at 1:23 PM, Guido van Rossum wrote: The issue of mixing super() and explicit calls to the superclass's method occur with any method. (Thus making it difficult/impossible for a framework to convert to using super without breaking client code that subclasses). Well, client classes wh

Re: [Python-Dev] Let's get rid of unbound methods

2005-01-05 Thread Armin Rigo
Hi Phillip, On Wed, Jan 05, 2005 at 01:03:42PM -0500, Phillip J. Eby wrote: > >Is there any other use case for 'C.x' not returning the same as > >'appropriate_super_class_of_C.__dict__["x"]' ? > > Er, classmethod would be one; a rather important one at that. Oups. Right, sorry. Armin

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread "Martin v. Löwis"
Bob Ippolito wrote: Nope. The only way to link to a non-current framework version is to forego any linker searching and specify the dyld file directly, i.e. /Library/Frameworks/Python.framework/Versions/2.3/Python. The gcc toolchain does not in any way whatsoever understand versioned framewor

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread "Martin v. Löwis"
Michael Hudson wrote: Martin, can you please believe that Jack, Bob, Ronald et al know what they are talking about here? I find that really hard to believe, because it contradicts to what I think Apple wants me to believe. I'm willing to follow a series of statements that I can confirm to be facts

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread Bob Ippolito
On Jan 5, 2005, at 16:58, Martin v. Löwis wrote: Ronald Oussoren wrote: It gets worse when you have a user-installed python 2.3 and a user-installed python 2.4. Those will be both be installed as /Library/Frameworks/Python.framework. Yes, but one is installed in Versions/2.3, and the other in Ver

Re: [Python-Dev] csv module TODO list

2005-01-05 Thread "Martin v. Löwis"
Andrew McNamara wrote: Can you please elaborate on that? What needs to be done, and how is that going to be done? It might be possible to avoid considerable uglification. I'm not altogether sure there. The parsing state machine is all written in C, and deals with signed chars - I expect we'll need

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread "Martin v. Löwis"
Ronald Oussoren wrote: It gets worse when you have a user-installed python 2.3 and a user-installed python 2.4. Those will be both be installed as /Library/Frameworks/Python.framework. Yes, but one is installed in Versions/2.3, and the other in Versions/2.4. This means that you cannot use the -

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread Bob Ippolito
On Jan 5, 2005, at 16:15, Martin v. Löwis wrote: Bob Ippolito wrote: Then you haven't done the appropriate research by searching pythonmac-sig. Hmm. > Do you even own a Mac? Do I have to, in order to understand the issues? But to answer your question: yes, I do. Well, this issue has been discussed

Re: [Python-Dev] Please help complete the AST branch

2005-01-05 Thread Kurt B. Kaiser
Jeremy Hylton <[EMAIL PROTECTED]> writes: >> 29 conflicts > > Oh. That's not as bad as I expected. Proceeding >> Major conflict: >> Python/compile.c(Probably not merged during 1st merge) > > I think that's right. I didn't merge any of the changes, then. > >> Lib/test/test_c

[Python-Dev] Re: Please help complete the AST branch

2005-01-05 Thread Terry Reedy
"Terry Reedy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Python/Attic/compile.txt?rev=1.1.2.8&only_with_tag=ast-branch&view=auto > > Clicking on the above gave me: > > (502) Bad Gateway > The proxy server received an i

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread "Martin v. Löwis"
Bob Ippolito wrote: Then you haven't done the appropriate research by searching pythonmac-sig. Hmm. > Do you even own a Mac? Do I have to, in order to understand the issues? But to answer your question: yes, I do. Regards, Martin ___ Python-Dev mailing

Re: [Python-Dev] Please help complete the AST branch

2005-01-05 Thread Jeremy Hylton
On Wed, 05 Jan 2005 13:20:51 -0500, Kurt B. Kaiser <[EMAIL PROTECTED]> wrote: > Jeremy Hylton <[EMAIL PROTECTED]> writes: > > > Does anyone want to volunteer to integrate the current head to the > > branch? I think that's a pretty important near-term step. > > I'll take a shot at it. Great! I

Re: [Python-Dev] Please help complete the AST branch

2005-01-05 Thread Jeremy Hylton
On Wed, 5 Jan 2005 13:28:11 -0500, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > Would it be helpful for me to move the peepholer out of compile.c into a > separate source file? It doesn't really matter. There are two reasons. 1) We've been working on the new compiler code in newcompile.c, rath

[Python-Dev] Re: csv module TODO list

2005-01-05 Thread Magnus Lie Hetland
Quite a while ago I posted some material to the csv-list about problems using the csv module on Unix-style colon-separated files -- it just doesn't deal properly with backslash escaping and is quite useless for this kind of file. I seem to recall the general view was that it wasn't intended for thi

Re: [Python-Dev] ast branch pragmatics

2005-01-05 Thread Kurt B. Kaiser
Jeremy Hylton <[EMAIL PROTECTED]> writes: > The existing ast-branch mostly works, but it does not include most of > the new features of Python 2.4. There is a substantial integration > effort, perhaps easy for someone who does a lot of CVS branch merges. > (In particular, the head has already be

RE: [Python-Dev] Please help complete the AST branch

2005-01-05 Thread Raymond Hettinger
Would it be helpful for me to move the peepholer out of compile.c into a separate source file? Raymond Hettinger ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/m

Re: [Python-Dev] ast branch pragmatics

2005-01-05 Thread Guido van Rossum
> I think it would be easier to create a new branch from the current > head, integrate the small number of changed files from ast-branch, and > work with that branch instead. The idea is that it's an end-run > around doing an automatic CVS merge and relying on someone to manually > merge the chang

[Python-Dev] Re: super() harmful?

2005-01-05 Thread Guido van Rossum
> The issue of mixing super() and explicit calls to the superclass's > method occur with any method. (Thus making it difficult/impossible for > a framework to convert to using super without breaking client code that > subclasses). Well, client classes which are leaves of the class tree can still s

Re: [Python-Dev] Please help complete the AST branch

2005-01-05 Thread Kurt B. Kaiser
Jeremy Hylton <[EMAIL PROTECTED]> writes: > Does anyone want to volunteer to integrate the current head to the > branch? I think that's a pretty important near-term step. I'll take a shot at it. I see the following: 2216 changes: 1428 modifications w/o confict 399 adds 360 removes 29 conflict

Re: [Python-Dev] Let's get rid of unbound methods

2005-01-05 Thread Guido van Rossum
> Um, isn't all this stuff going to be more complicated and spread out over > more of the code than just leaving unbound methods in place? Well, in an early version of Python it was as simple as I'd like ot to be again: the instancemethod type was only used for bound methods (hence the name) and C

Re: [Python-Dev] Let's get rid of unbound methods

2005-01-05 Thread Phillip J. Eby
At 12:29 PM 1/5/05 -0500, Barry Warsaw wrote: On Wed, 2005-01-05 at 10:41, Glyph Lefkowitz wrote: > I think it would be reasonable to assign im_class only to functions > defined in class scope. The only serialization that would break in that > case is if your example had a 'del f' at the end. +1.

[Python-Dev] Re: Please help complete the AST branch

2005-01-05 Thread Terry Reedy
"Jeremy Hylton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The file Python/compile.txt on the ast-branch has a brief overview of > the project: http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Python/Attic/compile.txt?rev=1.1.2.8&only_with_tag=ast-branch&view=auto

Re: [Python-Dev] Let's get rid of unbound methods

2005-01-05 Thread Phillip J. Eby
At 04:30 PM 1/5/05 +, Armin Rigo wrote: Hi Guido, On Tue, Jan 04, 2005 at 10:28:03AM -0800, Guido van Rossum wrote: > Let's get rid of unbound methods. Is there any other use case for 'C.x' not returning the same as 'appropriate_super_class_of_C.__dict__["x"]' ? Er, classmethod would be one; a

Re: [Python-Dev] Let's get rid of unbound methods

2005-01-05 Thread Jim Fulton
Armin Rigo wrote: Hi Jim, On Tue, Jan 04, 2005 at 02:44:43PM -0500, Jim Fulton wrote: Actually, unbound builtin methods are a different type than bound builtin methods: Of course, but conceptually they are similar. You would still encounter the concept if you got an unbound builtin method. There

RE: [Python-Dev] Re: [Csv] csv module TODO list

2005-01-05 Thread Robert Brewer
Skip Montanaro wrote: > Andrew> There's a bunch of jobs we (CSV module > maintainers) have been > Andrew> putting off - attached is a list (in no particular order): > > ... > > In addition, it occurred to me this evening that there's > functionality in the csv module I don't think a

RE: [Python-Dev] Let's get rid of unbound methods

2005-01-05 Thread Andrew Koenig
> duck typing? That's the Australian pronunciation of "duct taping". ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-arc

Re: [Python-Dev] Let's get rid of unbound methods

2005-01-05 Thread Barry Warsaw
On Wed, 2005-01-05 at 10:41, Glyph Lefkowitz wrote: > I think it would be reasonable to assign im_class only to functions > defined in class scope. The only serialization that would break in that > case is if your example had a 'del f' at the end. +1. If you're doing something funkier, then you

Re: [Python-Dev] Let's get rid of unbound methods

2005-01-05 Thread Barry Warsaw
On Wed, 2005-01-05 at 10:37, Glyph Lefkowitz wrote: > One approach I have taken in order to avoid copiously over-documenting > every super() using class is to decouple different phases of > initialization by making __init__ as simple as possible (setting a few > attributes, resisting the temptatio

[Python-Dev] Re: super() harmful?

2005-01-05 Thread James Y Knight
I'm not sure why super got dragged into this, but... On Jan 4, 2005, at 9:02 PM, Guido van Rossum wrote: I think that James Y Knight's page misrepresents the issue. Quoting: But __init__ *is* special, in that it is okay for a subclass __init__ (or __new__) to have a different signature than the ba

[Python-Dev] ast branch pragmatics

2005-01-05 Thread Jeremy Hylton
The existing ast-branch mostly works, but it does not include most of the new features of Python 2.4. There is a substantial integration effort, perhaps easy for someone who does a lot of CVS branch merges. (In particular, the head has already been merged to this branch once.) I think it would b

Re: [Python-Dev] Let's get rid of unbound methods

2005-01-05 Thread Shane Holloway (IEEE)
Alex Martelli wrote: def f(*a): pass class C(object): pass class D(object): pass C.f = D.f = f If now we want C.f.im_class to differ from D.f.im_class then we need f to get copied implicitly when it's assigned to C.f (or, of course, when C.f is accessed... but THAT might be substantial overhead).

Re: [Python-Dev] Please help complete the AST branch

2005-01-05 Thread Jeremy Hylton
On Thu, 6 Jan 2005 01:32:44 +0900, Jiwon Seo <[EMAIL PROTECTED]> wrote: > I'd like to help here on the AST branch, if it's not too late. > (Especially I'm interested with the generator expression part.) Great! It's not too late. > If I want to volunteer, do I just begin to work with it? Or do I

Re: [Python-Dev] Let's get rid of unbound methods

2005-01-05 Thread Armin Rigo
Hi Guido, On Tue, Jan 04, 2005 at 10:28:03AM -0800, Guido van Rossum wrote: > Let's get rid of unbound methods. Is there any other use case for 'C.x' not returning the same as 'appropriate_super_class_of_C.__dict__["x"]' ? I guess it's too late now but it would have been nice if user-defined __g

Re: [Python-Dev] Please help complete the AST branch

2005-01-05 Thread Jiwon Seo
I'd like to help here on the AST branch, if it's not too late. (Especially I'm interested with the generator expression part.) If I want to volunteer, do I just begin to work with it? Or do I need to read something or discuss with someone? Thanks. Jiwon. On Mon, 3 Jan 2005 23:03:33 -0500, Jerem

Re: [Python-Dev] Let's get rid of unbound methods

2005-01-05 Thread Armin Rigo
Hi Jim, On Tue, Jan 04, 2005 at 02:44:43PM -0500, Jim Fulton wrote: > >Actually, unbound builtin methods are a different type than bound > >builtin methods: > > Of course, but conceptually they are similar. You would still > encounter the concept if you got an unbound builtin method. There are

Re: [Python-Dev] Let's get rid of unbound methods

2005-01-05 Thread Glyph Lefkowitz
On Wed, 2005-01-05 at 12:11 +0100, Alex Martelli wrote: > Hmmm, seems to me we'd need copies of the function object for this > purpose: For the stated use-case of serialization, only one copy would be necessary, and besides - even *I* don't use idioms as weird as the one you are suggesting very

Re: [Python-Dev] Let's get rid of unbound methods

2005-01-05 Thread Glyph Lefkowitz
On Tue, 2005-01-04 at 22:12 -0500, Bob Ippolito wrote: > If you have a class hierarchy where this is a problem, it's probably > pretty fragile to begin with, and you should think about making it > simpler. I agree with James's rant almost entirely, but I like super() anyway. I think it is an in

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread Bob Ippolito
On Jan 5, 2005, at 3:33 AM, Martin v. Löwis wrote: Bob Ippolito wrote: It doesn't for reasons I care not to explain in depth, again. Search the pythonmac-sig archives for longer explanations. The gist is that you specifically do not want to link directly to the framework at all when buildin

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread Michael Hudson
"Martin v. Löwis" <[EMAIL PROTECTED]> writes: > Bob Ippolito wrote: >> It doesn't for reasons I care not to explain in depth, again. >> Search the pythonmac-sig archives for longer explanations. The >> gist is that you specifically do not want to link directly to the >> framework at all when b

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread Alex Martelli
On 2005 Jan 05, at 12:40, Ronald Oussoren wrote: ... The Tiger that was released at WWDC included a patched version of Python 2.3.3. See: http://www.opensource.apple.com/darwinsource/WWDC2004/. Thanks! So, since WWDC was on June 28 and 2.3.4 had been released on May 27, we get some first sen

[Python-Dev] Re: csv module TODO list

2005-01-05 Thread Andrew McNamara
>Quite a while ago I posted some material to the csv-list about >problems using the csv module on Unix-style colon-separated files -- >it just doesn't deal properly with backslash escaping and is quite >useless for this kind of file. I seem to recall the general view was >that it wasn't intended fo

Re: [Python-Dev] Please help complete the AST branch

2005-01-05 Thread Alex Martelli
On 2005 Jan 04, at 22:11, Brett C. wrote: ... Speaking for myself, I have a burning interest in the AST branch (though I can't seem to get it correctly downloaded so far, I guess it's just my usual CVS-clumsiness and I'll soon find out what I'm doing wrong & fix it) See http://www.python

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread Ronald Oussoren
On 5-jan-05, at 12:28, Alex Martelli wrote: On 2005 Jan 05, at 00:06, Jack Jansen wrote: ... We've solved this issue for the trunk and we can solve it for 2.4.1: if MACOSX_DEPLOYMENT_TARGET isn't set and we're on 10.3 we force it to 10.3. Moreover, when it is 10.3 or higher (possibly after bei

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread Alex Martelli
On 2005 Jan 05, at 00:06, Jack Jansen wrote: ... We've solved this issue for the trunk and we can solve it for 2.4.1: if MACOSX_DEPLOYMENT_TARGET isn't set and we're on 10.3 we force it to 10.3. Moreover, when it is 10.3 or higher (possibly after being forced) we use the dynamic_lookup way of

Re: [Python-Dev] Let's get rid of unbound methods

2005-01-05 Thread Alex Martelli
On 2005 Jan 05, at 04:42, Barry Warsaw wrote: On Tue, 2005-01-04 at 18:01, Jack Jansen wrote: But I'm more worried about losing the other information in an unbound method, specifically im_class. I would guess that info is useful to class browsers and such, or are there other ways to get at that? Th

[Python-Dev] Re: [Csv] csv module TODO list

2005-01-05 Thread Andrew McNamara
>Also, review comments from Neal Norwitz, 22 Mar 2003 (some of these should >already have been addressed): I should apologise to Neal here for not replying to him at the time. Okay, going though the issues Neal raised... >* remove TODO comment at top of file--it's empty Was fixed. >* is CSV go

Re: [Python-Dev] csv module TODO list

2005-01-05 Thread Andrew McNamara
>> Yep, although that means we wear the cost of decoding and encoding for >> all 8 bit input. > >Right, but it makes the code very clean and straight forward. I agree it makes for a very clean solution, and 99% of the time I'd chose that option. >Again, it depends on what you need. If performance

Re: [Python-Dev] csv module TODO list

2005-01-05 Thread M.-A. Lemburg
Andrew McNamara wrote: Yes, although it would be nice to also retain the 8-bit versions as well. You can do so by using latin-1 as default encoding. Works great ! Yep, although that means we wear the cost of decoding and encoding for all 8 bit input. Right, but it makes the code very clean and stra

Re: [Python-Dev] csv module TODO list

2005-01-05 Thread Andrew McNamara
>> Yes, although it would be nice to also retain the 8-bit versions as well. > >You can do so by using latin-1 as default encoding. Works great ! Yep, although that means we wear the cost of decoding and encoding for all 8 bit input. What does the _sre.c code do? >Depends on your needs: CSV file

Re: [Python-Dev] csv module TODO list

2005-01-05 Thread M.-A. Lemburg
Andrew McNamara wrote: Andrew McNamara wrote: There's a bunch of jobs we (CSV module maintainers) have been putting off - attached is a list (in no particular order): * unicode support (this will probably uglify the code considerably). Martin v. Löwis wrote: Can you please elaborate on that? What

Re: [Python-Dev] csv module TODO list

2005-01-05 Thread Andrew McNamara
>> Andrew McNamara wrote: >>> There's a bunch of jobs we (CSV module maintainers) have been putting >>> off - attached is a list (in no particular order): >>> * unicode support (this will probably uglify the code considerably). >> >Martin v. Löwis wrote: >> Can you please elaborate on that? What n

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread Ronald Oussoren
On 5-jan-05, at 9:33, Martin v. Löwis wrote: Bob Ippolito wrote: It doesn't for reasons I care not to explain in depth, again. Search the pythonmac-sig archives for longer explanations. The gist is that you specifically do not want to link directly to the framework at all when building exte

Re: [Python-Dev] csv module TODO list

2005-01-05 Thread M.-A. Lemburg
Martin v. Löwis wrote: Andrew McNamara wrote: There's a bunch of jobs we (CSV module maintainers) have been putting off - attached is a list (in no particular order): * unicode support (this will probably uglify the code considerably). Can you please elaborate on that? What needs to be done, and h

Re: [Python-Dev] csv module TODO list

2005-01-05 Thread "Martin v. Löwis"
Andrew McNamara wrote: There's a bunch of jobs we (CSV module maintainers) have been putting off - attached is a list (in no particular order): * unicode support (this will probably uglify the code considerably). Can you please elaborate on that? What needs to be done, and how is that going to be

Re: [Python-Dev] 2.3.5 schedule, and something I'd like to get in

2005-01-05 Thread "Martin v. Löwis"
Bob Ippolito wrote: It doesn't for reasons I care not to explain in depth, again. Search the pythonmac-sig archives for longer explanations. The gist is that you specifically do not want to link directly to the framework at all when building extensions. Because an Apple-built extension then