On Jun 3, 2008, at 11:50 PM, Ronald Oussoren wrote:
I had to patch the Python.h in the standard Python distribution to
have
the "ifdef 64-bit" conditional code, so that the single header file
works
with both 32- and 64-bit.
NOTE that the patches I used in the modified MacPorts came from
Apple:
http://www.opensource.apple.com/darwinsource/10.5.2/python-30.1.2/
I'll probably commit a patch that enables 4-way universal builds for
Python 2.6 on Leopard later this week. That patch is more involved
than just patching a header file, I've also enabled building most of
the Carbon bindings in 64-bit mode (by disabling everything that
isn't supported in 64-bit mode).
The patch should be complete by now, I just have to do some more
testing before I commit.
Very nice!
Do these patches get pushed upstream to Apple? Who do we rattle over
there to get this in an Apple OS release?
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig