Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #46503

Re: The state of pySerial

Date 2013-05-30 16:45 +0100
From MRAB <python@mrabarnett.plus.com>
Subject Re: The state of pySerial
References <CAGVx7UVrvZUzwYAyj8Yj+1wOm9q_jf_UDwYLgx2u1w+Vv1-rLQ@mail.gmail.com> <A979E66F-ACC8-4116-8F21-8F971545DCB8@mac.com> <ko5sg7$css$1@ger.gmane.org> <51A68287.1010505@mrabarnett.plus.com> <CAGVx7UXEP2-FQdvbeYw_npvz6jJNbkD4KwY-ckz-DjHczQiRcA@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2427.1369928704.3114.python-list@python.org> (permalink)

Show all headers | View raw


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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: The state of pySerial MRAB <python@mrabarnett.plus.com> - 2013-05-30 16:45 +0100

csiph-web