Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #20261
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <anh.hai.trinh@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python,': 0.01; 'subject:ANN': 0.02; 'subject:module': 0.04; 'library,': 0.05; 'subject:library': 0.09; 'to:addr:comp.lang.python': 0.09; 'url:github': 0.09; 'api': 0.09; 'parsed': 0.16; 'subject:subprocess': 0.16; 'url:aht': 0.16; 'cc:addr:python- list': 0.16; 'written': 0.19; 'header:In-Reply-To:1': 0.22; 'string': 0.24; 'command': 0.24; 'language.': 0.28; "i'm": 0.28; 'extreme': 0.29; 'cc:addr:python.org': 0.29; '(so': 0.30; 'comments:': 0.30; 'construct': 0.30; 'oop': 0.30; 'taken.': 0.30; 'threads': 0.30; 'does': 0.32; 'header:User-Agent:1': 0.33; 'something': 0.35; 'cc:2**1': 0.36; 'but': 0.37; 'received:google.com': 0.37; 'similar': 0.37; 'using': 0.37; 'another': 0.37; 'received:209.85': 0.38; 'think': 0.38; 'unless': 0.39; 'received:209': 0.39; 'simple': 0.61; 'here': 0.64; 'care': 0.71; 'cc:addr:comp-lang-python-announce': 0.84; 'cc:addr:moderators.isc.org': 0.84; 'for).': 0.91 |
| Newsgroups | comp.lang.python |
| Date | Sun, 12 Feb 2012 01:41:16 -0800 (PST) |
| In-Reply-To | <mailman.5693.1328974297.27778.python-announce-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=27.2.243.51; posting-account=MVB8YgoAAACc-CaFsZLRUc7a0K5QQLP7 |
| References | <mailman.5693.1328974297.27778.python-announce-list@python.org> |
| User-Agent | G2/1.0 |
| X-Google-Web-Client | true |
| MIME-Version | 1.0 |
| Subject | Re: ANN: Sarge, a library wrapping the subprocess module, has been released. |
| From | Anh Hai Trinh <anh.hai.trinh@gmail.com> |
| To | comp.lang.python@googlegroups.com |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | python-list@python.org, comp-lang-python-announce@moderators.isc.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| 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> |
| Message-ID | <mailman.5720.1329039680.27778.python-list@python.org> (permalink) |
| Lines | 13 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1329039680 news.xs4all.nl 6880 [2001:888:2000:d::a6]:38549 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:20261 |
Show key headers only | View raw
Having written something with similar purpose (https://github.com/aht/extproc), here are my comments: * Having command parsed from a string is complicated. Why not just have an OOP API to construct commands? extproc does this, but you opted to write a recursive descent parser. I'm sure it's fun but I think simple is better than complex. Most users would prefer not to deal with Python, not another language. * Using threads and fork()ing process does not play nice together unless extreme care is taken. Disasters await. For a shell-like library, I would recommend its users to never use threads (so that those who do otherwise know what they are in for).
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ANN: Sarge, a library wrapping the subprocess module, has been released. Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2012-02-10 11:28 -0800
Re: ANN: Sarge, a library wrapping the subprocess module, has been released. Anh Hai Trinh <anh.hai.trinh@gmail.com> - 2012-02-12 01:41 -0800
Re: ANN: Sarge, a library wrapping the subprocess module, has been released. Anh Hai Trinh <anh.hai.trinh@gmail.com> - 2012-02-12 01:41 -0800
Re: ANN: Sarge, a library wrapping the subprocess module, has been released. Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2012-02-12 03:31 -0800
Re: ANN: Sarge, a library wrapping the subprocess module, has been released. Anh Hai Trinh <anh.hai.trinh@gmail.com> - 2012-02-12 07:35 -0800
Re: ANN: Sarge, a library wrapping the subprocess module, has been released. Anh Hai Trinh <anh.hai.trinh@gmail.com> - 2012-02-12 08:19 -0800
Re: ANN: Sarge, a library wrapping the subprocess module, has been released. Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2012-02-12 12:21 -0800
Re: ANN: Sarge, a library wrapping the subprocess module, has been released. Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2012-02-12 12:13 -0800
Re: ANN: Sarge, a library wrapping the subprocess module, has been released. Anh Hai Trinh <anh.hai.trinh@gmail.com> - 2012-02-12 19:57 -0800
Re: ANN: Sarge, a library wrapping the subprocess module, has been released. Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2012-02-13 02:34 -0800
Re: ANN: Sarge, a library wrapping the subprocess module, has been released. Rick Johnson <rantingrickjohnson@gmail.com> - 2012-02-12 20:26 -0800
Re: ANN: Sarge, a library wrapping the subprocess module, has been released. Rick Johnson <rantingrickjohnson@gmail.com> - 2012-02-12 20:08 -0800
Re: ANN: Sarge, a library wrapping the subprocess module, has been released. Anh Hai Trinh <anh.hai.trinh@gmail.com> - 2012-02-12 23:08 -0800
Re: ANN: Sarge, a library wrapping the subprocess module, has been released. Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2012-02-13 02:59 -0800
Re: ANN: Sarge, a library wrapping the subprocess module, has been released. Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-02-17 14:49 +0100
Re: ANN: Sarge, a library wrapping the subprocess module, has been released. Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2012-02-17 09:19 -0800
Re: ANN: Sarge, a library wrapping the subprocess module, has been released. 88888 Dihedral <dihedral88888@googlemail.com> - 2012-02-17 09:29 -0800
csiph-web