ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pythonmac-sig
pythonmac-sig
Re: [Pythonmac-SIG] Some new tools: plistservices, userdefaults, and CFPython
by Sarwat Khan other posts by this author
Sep 5 2003 11:51PM messages near this date
Re: [Pythonmac-SIG] Some new tools: plistservices, userdefaults, and CFPython | Re: [Pythonmac-SIG] Some new tools: plistservices, userdefaults, and CFPython
>  I dunno if it's more functional than the pycfbridge... I've been able 
>  to get away with using the bridge's conversion functions and crossing 
>  my fingers and hoping what I wanted to get pops out.

It's more functional in that it handles datetime.datetime/CFDate and 
CFData objects. It's also configurable for that functionality.

> 
>  Some quick suggestions:
>  	You should probably rewrite the module to use the existing pycfbridge 
>  for interoperability, like PyObjC and my LaunchServices do.

It's not actually a module though, and that's why it doesn't have a 
setup.py. For an example use of the thing take a look at the source for 
the userdefaults module at http://sarwat.net/opensource/ .

CFPython is meant for writing C code. I did hack in a module for 
testing but that's not supposed to be used for anything else. It's like 
choosing between putting pycfbridge.c or CFPython.c in your project to 
translate PyObject*s into CFTypeRefs.

Although if you think it has a useful future a module, let me know; I 
wrote it because it was an easier way of writing the userdefaults 
module. I haven't considered it to be anything else.

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


_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@[...].org
http://mail.python.org/mailman/listinfo/pythonmac-sig
Thread:
Sarwat Khan
Bob Ippolito
Sarwat Khan
Bob Ippolito

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved