On 26-Mar-05, at 8:43 PM, Bob Ippolito wrote:

Which are inconsistent with PyObjC, because the number of arguments does not equal the number of underscores!

Who wants to write code like that :P You're either using PyObjC or not.

So now there are three ways to do it:
1) Use plistlib, which comes with Python anyway, and has a pythonic API (at the expense of having to download it if you're not on a Mac)
2) Use PyObjC, and get the real APIs (at the expense of losing cross-plat support and requiring an extension, but guaranteed compatibility and speed)
3) Use plistservices, and get something that is similar to the real APIs, but mapped in a somewhat ambiguous way, that is different from the PyObjC mapping.

My use of plists are either on a Mac or on a web server. In the second case, #1 and #2 are out (at any rate, it's easier to download plistservices than it is to get the Python's source and extract plistlib). plistlib doesn't make available its ISO 8601 parsing available either. The mapping isn't ambiguous, it's the same as the Java bridge.


{sarwat khan : http://sarwat.net}

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to