[Pythonmac-SIG] appscript raises deprecation warning for macerrors
Bob Ippolito
bob at redivi.com
Mon Jul 11 07:45:43 CEST 2005
On Jul 10, 2005, at 7:29 PM, brad.allen at omsdal.com wrote:
>
> Bob Ippolito <bob at redivi.com> wrote on 07/10/2005 03:04:00 PM:
>
> > That's really the wrong way to solve that problem, if you read the
> > PEP that the warning references then you'll see how to add a -*-
> > coding: -*- to the file such that it will simply interpret the
> source
> > characters in the correct encoding. In this case, it's almost
> > certainly macroman.
>
> Aha, so those garbage characters might have made sense if I had
> reopened the document using Mac Roman encoding. However, it seemed
> odd that most of those were just individual characters here and
> there typed in the comments, and they didn't look like anything
> a human would have typed on purpose.
Of course it looks like garbage when using an incorrect encoding :)
Whether it is actually garbage or not is another question... I'm
pretty sure that file is automatically generated from Universal
Headers, so whatever it is presumably came from the (ancient) Apple
header files.
-bob
More information about the Pythonmac-SIG
mailing list