Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39259 - python 2.3.3 serial module gives DeprecationWarning: Non-ASCII character
Summary: python 2.3.3 serial module gives DeprecationWarning: Non-ASCII character
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-24 09:36 UTC by Richard
Modified: 2004-01-24 17:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard 2004-01-24 09:36:31 UTC
After emerging to Python 2.3.3 and running python-updater, I receive the following warning when I import serial:

DeprecationWarning: Non-ASCII character '\xae' in file /usr/lib/python2.3/site-packages/serial/serialposix.py


Reproducible: Always
Steps to Reproduce:
1.python
2.import serial
3.

Actual Results:  
>>> import serial
/usr/lib/python2.3/site-packages/serial/__init__.py:15: DeprecationWarning:
Non-ASCII character '\xae' in file
/usr/lib/python2.3/site-packages/serial/serialposix.py on line 55, but no
encoding declared; see http://www.python.org/peps/pep-0263.html for details
  from serialposix import *
>>>

Expected Results:  
>>> import serial
>>>
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2004-01-24 11:41:56 UTC
thanks for your report, can you please try pyserial-2.0 that is now in x86 stable? this should work with py2.3 now.
Comment 2 Richard 2004-01-24 17:29:26 UTC
pyserial-2.0 seems to work well in Python 2.3.3.  Thanks