[spambayes-bugs] [ spambayes-Bugs-770175 ] resources/ui_html.py as plain ASCII

SourceForge.net noreply at sourceforge.net
Sat Jul 12 09:36:06 EDT 2003


Bugs item #770175, was opened at 2003-07-12 10:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770175&group_id=61702

Category: pop3proxy
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Skip Montanaro (montanaro)
Assigned to: Richie Hindle (richiehindle)
Summary: resources/ui_html.py as plain ASCII

Initial Comment:
Python 2.3 emits a warning about non-ASCII data in
resources/ui_html.py:

/Users/skip/src/spambayes/spambayes/
UserInterface.py:193: DeprecationWarning: Non-ASCII 
character '\xda' in file /Users/skip/src/spambayes/
spambayes/resources/ui_html.py on line 7, but no encoding 
declared; see http://www.python.org/peps/pep-0263.html 
for details

I could add a coding comment but have no idea what to
add since that's not any Unicode encoding.  Instead, the
attached patch further encodes the compressed data as
base64 so the file only contains ASCII data.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770175&group_id=61702



More information about the Spambayes-bugs mailing list