Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '(python': 0.07; 'string': 0.09; 'python': 0.11; 'windows': 0.15; '.py': 0.16; 'exe': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'simplest': 0.16; 'unicode.': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'seems': 0.21; 'install': 0.23; 'installation': 0.23; 'header:User- Agent:1': 0.23; 'unicode': 0.24; 'people,': 0.24; "i've": 0.25; 'supported': 0.26; 'header:In-Reply-To:1': 0.27; 'feature': 0.29; "doesn't": 0.30; 'mix': 0.30; 'reply.': 0.31; 'author,': 0.31; 'probably': 0.32; 'not.': 0.33; 'problem': 0.35; 'something': 0.35; 'received:84': 0.35; 'but': 0.35; 'there': 0.35; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'subject:The': 0.64; 'header:Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71; 'compiling': 0.84; 'observed': 0.84; 'reply- to:addr:python.org': 0.84 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=cIzZ7DuN c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=oyR3mlnJdzkA:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=8nJEP1OIZ-IA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=THeEF8GcJRQA:10 a=fxJcL_dCAAAA:8 a=a7nHWGcawufpRK1MqAUA:9 a=wPNLvfGTeEIA:10 X-AUTH: mrabarnett:2500 Date: Thu, 30 May 2013 16:45:16 +0100 From: MRAB User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: python-list@python.org Subject: Re: The state of pySerial References: <51A68287.1010505@mrabarnett.plus.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369928704 news.xs4all.nl 15903 [2001:888:2000:d::a6]:57898 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46503 On 30/05/2013 02:32, Ma Xiaojun wrote: > I've already mailed the author, waiting for reply. > > For Windows people, downloading a exe get you pySerial 2.5, which > list_ports and miniterm feature seems not included. To use 2.6, > download the tar.gz and use standard "setup.py install" to install it > (assume you have .py associated) . There is no C compiling involved in > the installation process. > > For whether Python 3.3 is supported or not. I observed something like: > http://paste.ubuntu.com/5715275/ . > > miniterm works for Python 3.3 at this time. > The problem there is that 'desc' is a bytestring, but the regex pattern can match only a Unicode string (Python 3 doesn't let you mix bytestrings and Unicode string like a Python 2). The simplest fix would probably be to decode 'desc' to Unicode.