Re: [Pythonmac-SIG] wxPython build issue

2006-02-03 Thread Bill Northcott
>> I quite agree that it would be best to have a solution guaranteed >> to work in the future. However, the standard makes it very clear >> that these sort of behaviours may change in the future. So it not >> possible to use something like _XOPEN_SOURCE >= 600 with any >> confidence. > >

Re: [Pythonmac-SIG] wxPython build issue

2006-02-03 Thread Bill Northcott
On 04/02/2006, at 12:51 PM, Bob Ippolito wrote: > All this POSIX compliance stuff was broken on Mac OS X 10.2, then > Apple 'fixed' it in 10.3, but it regressed in 10.4 From what I have seen on the particular issue of strcasecmp(), that is backwards. The headers were non-compliant in 10.3 an

Re: [Pythonmac-SIG] [XML-SIG] PyXML 0.8.4 and expat byteorder

2006-02-03 Thread Robert Kim Wireless Internet Advisor
very cool! thanks! - bk On 2/3/06, bear <[EMAIL PROTECTED]> wrote: > I've taken the patch and submitted it to the PyXML sourceforge project > and included a link to your mailing list archive entry for reference. -- Robert Q Kim, Wireless Internet Advisor http://hsdpa-coverage.com http://www.

Re: [Pythonmac-SIG] wxPython build issue

2006-02-03 Thread Kevin Ollivier
Hi Bob, On Feb 3, 2006, at 6:07 PM, Bob Ippolito wrote: > > On Feb 3, 2006, at 6:02 PM, Kevin Ollivier wrote: > >> On Feb 3, 2006, at 5:29 PM, Bill Northcott wrote: >> >>> On 04/02/2006, at 12:00 PM, Bob Ippolito wrote: This is exactly what TigerPython24Fix is for: http://undefined.org/

Re: [Pythonmac-SIG] wxPython build issue

2006-02-03 Thread Kevin Ollivier
Hi Bill, On Feb 3, 2006, at 4:33 PM, Bill Northcott wrote: > Hi Kevin > > On 04/02/2006, at 11:08 AM, Kevin Ollivier wrote: >>> As I read the Opengroup document, Posix 200112L and Xopen 600 >>> have been converged. Older standards would not be the same and >>> certainly older versions of Xop

Re: [Pythonmac-SIG] wxPython build issue

2006-02-03 Thread Bob Ippolito
On Feb 3, 2006, at 6:02 PM, Kevin Ollivier wrote: > On Feb 3, 2006, at 5:29 PM, Bill Northcott wrote: > >> On 04/02/2006, at 12:00 PM, Bob Ippolito wrote: >>> This is exactly what TigerPython24Fix is for: >>> http://undefined.org/python/#TigerPython24Fix >> >> As far as I can see this patch is a

Re: [Pythonmac-SIG] wxPython build issue

2006-02-03 Thread Kevin Ollivier
Hi Bill, On Feb 3, 2006, at 5:29 PM, Bill Northcott wrote: > On 04/02/2006, at 12:00 PM, Bob Ippolito wrote: >>> The issue only arises using Python 2.4.x on Tiger. It does not >>> arise >>> with Python 2.3.x on Tiger or Python 2.4.x on Panther (MacOS 10.3.x) >> >> On top of that, it should onl

Re: [Pythonmac-SIG] wxPython build issue

2006-02-03 Thread Bob Ippolito
On Feb 3, 2006, at 5:29 PM, Bill Northcott wrote: > On 04/02/2006, at 12:00 PM, Bob Ippolito wrote: >>> The issue only arises using Python 2.4.x on Tiger. It does not >>> arise >>> with Python 2.3.x on Tiger or Python 2.4.x on Panther (MacOS 10.3.x) >> >> On top of that, it should only happen i

Re: [Pythonmac-SIG] best way to install packages?

2006-02-03 Thread Bob Ippolito
On Feb 3, 2006, at 5:18 PM, Christopher Barker wrote: > Bob Ippolito wrote: >> You're really confused here. > > Yes, I know. I was hoping for some clarification. Let me try it > this way: > > I am running OS-X 10.4 > > I need Python >= 2.4.1 > > I *need* to build packages that will run on my ma

Re: [Pythonmac-SIG] wxPython build issue

2006-02-03 Thread Bill Northcott
On 04/02/2006, at 12:00 PM, Bob Ippolito wrote: >> The issue only arises using Python 2.4.x on Tiger. It does not arise >> with Python 2.3.x on Tiger or Python 2.4.x on Panther (MacOS 10.3.x) > > On top of that, it should only happen if you're using a Python > 2.4.x build on Tiger that was compi

Re: [Pythonmac-SIG] best way to install packages?

2006-02-03 Thread Christopher Barker
Bob Ippolito wrote: > You're really confused here. Yes, I know. I was hoping for some clarification. Let me try it this way: I am running OS-X 10.4 I need Python >= 2.4.1 I *need* to build packages that will run on my machine, and I can give binaries to others running 10.4. I can also give the

Re: [Pythonmac-SIG] wxPython build issue

2006-02-03 Thread Bob Ippolito
On Feb 3, 2006, at 4:39 PM, Bill Northcott wrote: > On 04/02/2006, at 11:28 AM, Christopher Barker wrote: >> I'm a bit confused where the problem is here. I've just installed >> OS-X 10.4, and I'm trying to decide where to go with my python >> version. I was planning on going all 10.4, rather tha

Re: [Pythonmac-SIG] best way to install packages?

2006-02-03 Thread Bob Ippolito
On Feb 3, 2006, at 4:21 PM, Christopher Barker wrote: > Ronald Oussoren wrote: >> Even more important that versioning is that eggs give you an easy way >> to uninstall software (although I'm not quite sure about scripts). > > It really does look like eggs are the way of the future. > >>> Bob's "o

Re: [Pythonmac-SIG] wxPython build issue

2006-02-03 Thread Bill Northcott
On 04/02/2006, at 11:28 AM, Christopher Barker wrote: > I'm a bit confused where the problem is here. I've just installed > OS-X 10.4, and I'm trying to decide where to go with my python > version. I was planning on going all 10.4, rather than using a > python framework built for 10.3. Howeve

Re: [Pythonmac-SIG] wxPython build issue

2006-02-03 Thread Bill Northcott
Hi Kevin On 04/02/2006, at 11:08 AM, Kevin Ollivier wrote: >> As I read the Opengroup document, Posix 200112L and Xopen 600 have >> been converged. Older standards would not be the same and >> certainly older versions of Xopen might have strcasecmp and >> friends in string.h. OTOH higher v

Re: [Pythonmac-SIG] wxPython build issue

2006-02-03 Thread Christopher Barker
Guys, I'm a bit confused where the problem is here. I've just installed OS-X 10.4, and I'm trying to decide where to go with my python version. I was planning on going all 10.4, rather than using a python framework built for 10.3. However, I need wxPython, so I'm interested in this thread. Bil

Re: [Pythonmac-SIG] wxPython build issue

2006-02-03 Thread Kevin Ollivier
Hi Bill, On Feb 3, 2006, at 3:57 PM, Bill Northcott wrote: >>> PS I still have the issue from my other posting which Adriano >>> posted in September. >> >> Could you give me a thread to look up so that I can follow up? > > I spent a bit more time on this, but I have to quit now. > > The proble

Re: [Pythonmac-SIG] best way to install packages?

2006-02-03 Thread Christopher Barker
Ronald Oussoren wrote: > Even more important that versioning is that eggs give you an easy way > to uninstall software (although I'm not quite sure about scripts). It really does look like eggs are the way of the future. >> Bob's "official unofficial" 2.4.1 framework build for 10.3 (this will >>

Re: [Pythonmac-SIG] wxPython build issue

2006-02-03 Thread Kevin Ollivier
Hi Bill, On Feb 3, 2006, at 12:13 PM, Bill Northcott wrote: > On 04/02/2006, at 3:52 AM, Kevin Ollivier wrote: >>> So I added more alternative conditions to wx/string.h:46 thus: >>> #if defined(HAVE_STRCASECMP_IN_STRINGS_H) || _POSIX_C_SOURCE == >>> 200112L || _XOPEN_SOURCE == 600 >>> >>> This

Re: [Pythonmac-SIG] wxPython build issue

2006-02-03 Thread Bill Northcott
>> PS I still have the issue from my other posting which Adriano >> posted in September. > > Could you give me a thread to look up so that I can follow up? I spent a bit more time on this, but I have to quit now. The problem here is that if is included with _POSIX_C_SOURCE defined, the gamm

Re: [Pythonmac-SIG] PyXML 0.8.4 and expat byteorder

2006-02-03 Thread bear
I've taken the patch and submitted it to the PyXML sourceforge project and included a link to your mailing list archive entry for reference. http://sourceforge.net/tracker/index.php?func=detail&aid=1423775&group_id=6473&atid=306473 Bob Ippolito wrote: > Here's the PyXML patch that gets expat by

[Pythonmac-SIG] PyXML 0.8.4 and expat byteorder

2006-02-03 Thread Bob Ippolito
Here's the PyXML patch that gets expat byteorder from pyconfig.h. I don't know who the maintainer is nor do I have any interest in subscribing to xml-sig (this CC will probably bounce, or get stuck in mod queue for days/weeks/forever). If you give a damn about PyXML please make sure to ge

[Pythonmac-SIG] cElementTree 1.0.5 and expat byte order

2006-02-03 Thread Bob Ippolito
The method that cElementTree uses to determine byte order is not reliable on some platforms such as Mac OS X or Darwin where you may be compiling for multiple architectures at the same time (in my particular case, i386 and ppc). The best way to determine byte order is either at runtime or

Re: [Pythonmac-SIG] building universal binaries

2006-02-03 Thread Bob Ippolito
On Feb 3, 2006, at 12:05 PM, Jeremy Kloth wrote: > On Friday, February 03, 2006 12:51 PM, Bob Ippolito wrote: >> Packages that do something with sys.byteorder at setup.py time are >> probably going to be broken also... but I've never seen that either. > > Any package that wraps Expat will probabl

Re: [Pythonmac-SIG] building universal binaries

2006-02-03 Thread Jeremy Kloth
On Friday, February 03, 2006 12:51 PM, Bob Ippolito wrote: > Packages that do something with sys.byteorder at setup.py time are > probably going to be broken also... but I've never seen that either. Any package that wraps Expat will probably be using sys.byteorder as Expat needs to know the byte

Re: [Pythonmac-SIG] wxPython build issue

2006-02-03 Thread Bill Northcott
On 04/02/2006, at 3:52 AM, Kevin Ollivier wrote: >> So I added more alternative conditions to wx/string.h:46 thus: >> #if defined(HAVE_STRCASECMP_IN_STRINGS_H) || _POSIX_C_SOURCE == >> 200112L || _XOPEN_SOURCE == 600 >> >> This definitely works on MacOS X 10.4 and I don't see how it can >> brea

Re: [Pythonmac-SIG] building universal binaries

2006-02-03 Thread Bob Ippolito
On Feb 3, 2006, at 11:41 AM, Bob Ippolito wrote: > > On Feb 3, 2006, at 11:01 AM, Ronald Oussoren wrote: > >> >> On 3-feb-2006, at 20:00, Bob Ippolito wrote: >> >>> >>> On Feb 3, 2006, at 10:52 AM, Ronald Oussoren wrote: >>> On 3-feb-2006, at 5:23, Bob Ippolito wrote: > It fixe

Re: [Pythonmac-SIG] building universal binaries

2006-02-03 Thread Bob Ippolito
On Feb 3, 2006, at 10:59 AM, Ronald Oussoren wrote: > > On 3-feb-2006, at 18:28, Bob Ippolito wrote: > >> On Jan 27, 2006, at 12:19 AM, Ronald Oussoren wrote: >> >>> >>> On 27-jan-2006, at 8:46, Kevin Ollivier wrote: >>> On Jan 26, 2006, at 10:55 PM, Bob Ippolito wrote: > Some exten

Re: [Pythonmac-SIG] building universal binaries

2006-02-03 Thread Bob Ippolito
On Feb 3, 2006, at 11:01 AM, Ronald Oussoren wrote: > > On 3-feb-2006, at 20:00, Bob Ippolito wrote: > >> >> On Feb 3, 2006, at 10:52 AM, Ronald Oussoren wrote: >> >>> >>> On 3-feb-2006, at 5:23, Bob Ippolito wrote: >>> It fixes a couple of the endian issues in the Mac modules (platfo

Re: [Pythonmac-SIG] building universal binaries

2006-02-03 Thread Ronald Oussoren
On 3-feb-2006, at 20:00, Bob Ippolito wrote: On Feb 3, 2006, at 10:52 AM, Ronald Oussoren wrote: On 3-feb-2006, at 5:23, Bob Ippolito wrote: It fixes a couple of the endian issues in the Mac modules (platform.mac_ver, applesingle, gestalt, and the OSType converter functions) How do y

Re: [Pythonmac-SIG] building universal binaries

2006-02-03 Thread Bob Ippolito
On Feb 3, 2006, at 10:52 AM, Ronald Oussoren wrote: > > On 3-feb-2006, at 5:23, Bob Ippolito wrote: > >> It fixes a couple of the endian issues in the Mac modules >> (platform.mac_ver, applesingle, gestalt, and the OSType converter >> functions) > > How do you convert four character codes? Is

Re: [Pythonmac-SIG] building universal binaries

2006-02-03 Thread Ronald Oussoren
On 3-feb-2006, at 18:28, Bob Ippolito wrote: On Jan 27, 2006, at 12:19 AM, Ronald Oussoren wrote: On 27-jan-2006, at 8:46, Kevin Ollivier wrote: On Jan 26, 2006, at 10:55 PM, Bob Ippolito wrote: Some extensions aren't going to build cleanly universal, and most users probably aren't goin

Re: [Pythonmac-SIG] building universal binaries

2006-02-03 Thread Ronald Oussoren
On 3-feb-2006, at 5:23, Bob Ippolito wrote: It fixes a couple of the endian issues in the Mac modules (platform.mac_ver, applesingle, gestalt, and the OSType converter functions) How do you convert four character codes? Is 'abcd' big endian or platform-native? Ronald smime.p7s Descrip

Re: [Pythonmac-SIG] best way to install packages?

2006-02-03 Thread Ronald Oussoren
On 3-feb-2006, at 18:59, Christopher Barker wrote: Andrew Jaffe wrote: Anyway, is there a 'best' way to install python packages on a mac nowadays? It seems that there at least three possibilities: - plain old setup.py install - bdist_mpkg - eggs (in which case I realize I'm not sure

Re: [Pythonmac-SIG] best way to install packages?

2006-02-03 Thread Bob Ippolito
On Feb 3, 2006, at 9:59 AM, Christopher Barker wrote: > Andrew Jaffe wrote: >> Anyway, is there a 'best' way to install python packages on a >> mac nowadays? It seems that there at least three possibilities: >> >>- plain old setup.py install >>- bdist_mpkg >>- eggs (in which case I re

Re: [Pythonmac-SIG] best way to install packages?

2006-02-03 Thread Ronald Oussoren
On 3-feb-2006, at 18:09, Bob Ippolito wrote: On Feb 3, 2006, at 8:57 AM, Andrew Jaffe wrote: I originally posted this in a different thread, but I realize that the first post was about 10 levels deep, so possibly ignored by people who might care or be able to help (or possibly just ignor

Re: [Pythonmac-SIG] Non-obvious Question about PyObjC and Xcode

2006-02-03 Thread Ronald Oussoren
On 3-feb-2006, at 6:31, Daniel Lord wrote: I am a neophyte when it comes to Cocoa and ObjC so forgive me if his question is nonsensical and the answer is obvious to you seasoned professionals. I decided to tackle a formidable task: learning Cocoa and Objective-C by approaching them through Pyth

Re: [Pythonmac-SIG] best way to install packages?

2006-02-03 Thread Christopher Barker
Andrew Jaffe wrote: > Anyway, is there a 'best' way to install python packages on a > mac nowadays? It seems that there at least three possibilities: > >- plain old setup.py install >- bdist_mpkg >- eggs (in which case I realize I'm not sure I know exactly *how* to > do this) The "Be

Re: [Pythonmac-SIG] building universal binaries

2006-02-03 Thread Bob Ippolito
On Jan 27, 2006, at 12:19 AM, Ronald Oussoren wrote: > > On 27-jan-2006, at 8:46, Kevin Ollivier wrote: > >> On Jan 26, 2006, at 10:55 PM, Bob Ippolito wrote: >> >>> Some extensions aren't going to build cleanly universal, and most >>> users probably aren't going to have all the SDKs installed s

Re: [Pythonmac-SIG] best way to install packages?

2006-02-03 Thread Bob Ippolito
On Feb 3, 2006, at 8:57 AM, Andrew Jaffe wrote: > I originally posted this in a different thread, but I realize that the > first post was about 10 levels deep, so possibly ignored by people who > might care or be able to help (or possibly just ignored as a dumb > question). Anyway, is there a 'be

[Pythonmac-SIG] best way to install packages?

2006-02-03 Thread Andrew Jaffe
Hi All, I originally posted this in a different thread, but I realize that the first post was about 10 levels deep, so possibly ignored by people who might care or be able to help (or possibly just ignored as a dumb question). Anyway, is there a 'best' way to install python packages on a mac no

Re: [Pythonmac-SIG] wxPython build issue

2006-02-03 Thread Kevin Ollivier
Hi Bill, On Feb 2, 2006, at 11:53 PM, Bill Northcott wrote: > On 03/02/2006, at 6:32 PM, Kevin Ollivier wrote: >>> I found that _POSIX_C_SOURCES is defined in pyconfig.h in Python 2.4 >>> but not 2.3. So this problem will only arise using Python 2.4 on >>> Tiger. Python 2.4 on Panther, or 2.3 o

Re: [Pythonmac-SIG] building universal binaries

2006-02-03 Thread Ronald Oussoren
On Friday, February 03, 2006, at 01:00PM, Bob Ippolito <[EMAIL PROTECTED]> wrote: >> >> I've made a private branch of python24-maint via SVK that's probably >> most of the way there. It fixes a couple of the endian issues in the >> Mac modules (platform.mac_ver, applesingle, gestalt, and the OS

Re: [Pythonmac-SIG] building universal binaries

2006-02-03 Thread Bob Ippolito
On Feb 2, 2006, at 8:23 PM, Bob Ippolito wrote: > > On Jan 27, 2006, at 8:31 AM, Ronald Oussoren wrote: > >> >> On 27-jan-2006, at 16:38, bear wrote: >> >>> Ronald Oussoren wrote: On 27-jan-2006, at 4:22, bear wrote: > Ronald Oussoren wrote: >> That part is easy enough. If