[Pythonmac-SIG] convert binary plist to xml string

Bill Janssen janssen at parc.com
Mon May 16 21:07:22 CEST 2005


> 
> On May 16, 2005, at 2:08 PM, Bill Janssen wrote:
> 
> > Pascal data structures?!
> 
> Have you ever looked at the Carbon/QuickTime APIs?  I guess not.

Nope.

> Mac OS past was originally written with Pascal calling conventions and  
> pascal strings (unsigned char length prefixed strings), so you see  
> them all over the place.  It's ugly, but so are the APIs that use  
> them :)
> 
> -bob

Isn't that what the "p" code in struct is for?  Reading/writing those?
Or is the length prefix a short or int?

Bill


More information about the Pythonmac-SIG mailing list