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


Groups > comp.lang.python > #46414

Re: The state of pySerial

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.084
X-Spam-Evidence '*H*': 0.84; '*S*': 0.00; 'broken': 0.04; 'interfaces': 0.04; '(python': 0.07; 'puts': 0.07; 'pypi': 0.07; 'idea?': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; '2.7': 0.14; 'programs.': 0.14; 'modem': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'side.': 0.16; 'wing': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'finished': 0.19; 'machine': 0.22; 'header:User-Agent:1': 0.23; 'connected': 0.24; "i've": 0.25; 'second': 0.26; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'external': 0.29; "doesn't": 0.30; 'programming.': 0.30; 'url:mailman': 0.30; 'gives': 0.31; 'go.': 0.31; 'ray': 0.31; 'probably': 0.32; 'stuff': 0.32; 'interface': 0.32; 'run': 0.32; 'another': 0.32; 'url:python': 0.33; '"the': 0.34; 'could': 0.34; 'but': 0.35; 'add': 0.35; 'there': 0.35; '2.6': 0.36; 'url:listinfo': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'should': 0.36; 'project': 0.37; 'machines': 0.38; 'outstanding': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'users': 0.40; 'url:mail': 0.40; 'skip:u 10': 0.60; 'problems.': 0.60; 'issues,': 0.61; 'received:173': 0.61; 'offer': 0.62; 'subject:The': 0.64; 'interest': 0.64; 'more': 0.64; 'forward': 0.65; 'world': 0.66; 'side': 0.67; 'physical': 0.72; 'serial': 0.72; 'power': 0.76; 'william': 0.81; 'life.': 0.83; '2.5.': 0.84; '4:00': 0.84; 'intentions': 0.84; 'positively': 0.84; 'received:fios.verizon.net': 0.84; 'unaware': 0.84; 'wiring': 0.84; 'absolutely': 0.87; '2013,': 0.91; 'bless': 0.91; 'homepage': 0.91; 'sensors': 0.91; 'pc.': 0.93; 'state.': 0.95
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Jan Reedy <tjreedy@udel.edu>
Subject Re: The state of pySerial
Date Wed, 29 May 2013 17:38:33 -0400
References <CAGVx7UVrvZUzwYAyj8Yj+1wOm9q_jf_UDwYLgx2u1w+Vv1-rLQ@mail.gmail.com> <A979E66F-ACC8-4116-8F21-8F971545DCB8@mac.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-173-75-251-66.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
In-Reply-To <A979E66F-ACC8-4116-8F21-8F971545DCB8@mac.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2381.1369863510.3114.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1369863510 news.xs4all.nl 15882 [2001:888:2000:d::a6]:60964
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:46414

Show key headers only | View raw


On 5/29/2013 4:00 PM, William Ray Wing wrote:
> On May 29, 2013, at 2:23 PM, Ma Xiaojun <damage3025@gmail.com> wrote:
>
>> Hi, all.
>>
>> pySerial is probably "the solution" for serial port programming.
>> Physical serial port is dead on PC but USB-to-Serial give it a second
>> life. Serial port stuff won't interest end users at all. But it is
>> still used in the EE world and so on. Arduino uses it to upload
>> programs. Sensors may use serial port to communicate with PC. GSM
>> Modem also uses serial port to communicate with PC.
>>
>> Unforunately, pySerial project doesn't seem to have a good state. I
>> find pySerial + Python 3.3 broken on my machine (Python 2.7 is OK) .
>> There are unanswered outstanding bugs, PyPI page has 2.6 while SF
>> homepage still gives 2.5.
>>
>> Any idea?
>> --
>> http://mail.python.org/mailman/listinfo/python-list
>
> Let me add another vote/request for pySerial support.  I've been using it with python 2.7 on OS-X, unaware that there wasn't a path forward to python 3.x.  If an external sensor absolutely positively has to be readable, then RS-232 is the only way to go.  USB interfaces can and do lock up if recovery from a power failure puts power on the external side before the computer has finished initializing the CPU side.  RS-232, bless its primitive heart, could care less.

Then 'someone' should ask the author his intentions and offer to help or 
take over.

I did some RS-232 interfacing in the  1980s, and once past the fiddly 
start/stop/parity bit, baud rate, and wiring issues, I had a program run 
connected to multiple machines for years with no more interface problems.

Terry

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


Thread

Re: The state of pySerial Terry Jan Reedy <tjreedy@udel.edu> - 2013-05-29 17:38 -0400

csiph-web