On May 15, 2005, at 6:26 PM, Bill Janssen wrote: >> Yeah, the NeXT style plists could be done too. But the question is, >> why bother? > > In case I encounter a file of this format on a non-Apple platform, of > course. It's particularly interesting because Safari is now storing > web-archive files in this format (binary plist). There's a good > chance that those might be copied off-Apple. > >> The struct module sucks. > > In what way? I think it works pretty well for what it is.
If "works pretty well" means that it's one of the most common sources of bugs in the Python standard library (that corrupt data for years before being found), and that it's harder to write struct based code than it is to write the equivalent in C, then sure. -bob _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig