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!newsfeed.xs4all.nl!newsfeed4.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.064 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'url:sourceforge': 0.03; 'broken': 0.04; 'interfaces': 0.04; '(python': 0.07; 'puts': 0.07; 'pypi': 0.07; 'idea?': 0.09; 'python': 0.11; 'jan': 0.12; '2.7': 0.14; 'programs.': 0.14; '"python': 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; 'modem': 0.16; 'newer,': 0.16; 'reedy': 0.16; 'side.': 0.16; 'wing': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'finished': 0.19; 'machine': 0.22; '>>>': 0.22; 'header:User-Agent:1': 0.23; 'connected': 0.24; "i've": 0.25; 'second': 0.26; 'header:In-Reply- To:1': 0.27; 'external': 0.29; "doesn't": 0.30; '2.3': 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; 'users': 0.40; 'url:mail': 0.40; 'skip:u 10': 0.60; 'problems.': 0.60; 'issues,': 0.61; 'offer': 0.62; 'subject:The': 0.64; 'interest': 0.64; 'more': 0.64; 'forward': 0.65; 'world': 0.66; 'side': 0.67; 'header:Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71; '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; 'reply-to:addr:python.org': 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-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=KrN0hwmN 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=pGLkceISAAAA:8 a=FP58Ms26AAAA:8 a=gFnS2ZBCLgPxJPfqvEoA:9 a=wPNLvfGTeEIA:10 a=VqHmbIynjQ4A:10 a=MSl-tDqOz04A:10 X-AUTH: mrabarnett:2500 Date: Wed, 29 May 2013 23:34:47 +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: 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: 40 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369866883 news.xs4all.nl 15886 [2001:888:2000:d::a6]:47016 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46418 On 29/05/2013 22:38, Terry Jan Reedy wrote: > On 5/29/2013 4:00 PM, William Ray Wing wrote: >> On May 29, 2013, at 2:23 PM, Ma Xiaojun 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. > This page: http://pyserial.sourceforge.net/pyserial.html#requirements says: "Python 2.3 or newer, including Python 3.x" > 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. >