[Spambayes] PEP-0263 and resourcepackage (ui_html.py)
Meyer, Tony
T.A.Meyer at massey.ac.nz
Mon May 5 11:14:15 EDT 2003
Apparently Python 2.3b1 gives the following warning:
> /opt/python/2.3b1/lib/python2.3/site-packages/spambayes/UserIn
> terface.py:192:
> DeprecationWarning: Non-ASCII character '\xda' in file
> /opt/python/2.3b1/lib/python2.3/site-packages/spambayes/resour
> ces/ui_html.py
> on line 7, but no encoding declared; see
> http://www.python.org/peps/pep-0263.html for details
> from spambayes.resources import ui_html
ui_html.py is created by resource_package and contains a zlib compressed
string, which is where the /xda character is.
What should be done about this?
(a) Ignore the warning, and fix it when phase 2 of the PEP is
implemented.
(b) Ask the resourcepackage people to update it so that it includes an
encoding.
(c) Something else.
=Tony Meyer
More information about the Spambayes
mailing list