Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #86624
| Path | csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@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; 'win32': 0.03; 'cpython': 0.05; 'subject:Python': 0.06; 'latter': 0.09; 'lawrence': 0.09; 'linker': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'suggest': 0.14; 'windows': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'know;': 0.16; 'meanwhile,': 0.16; "microsoft's": 0.16; 'pywin32': 0.16; 'rather,': 0.16; 'sorts': 0.16; 'suggest?': 0.16; 'language': 0.16; 'wrote:': 0.18; 'module': 0.19; 'written': 0.21; 'machine': 0.22; 'cc:addr:python.org': 0.22; 'convenient': 0.24; 'java': 0.24; 'cc:2**0': 0.24; 'extension': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'wonder': 0.29; "doesn't": 0.30; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'bunch': 0.31; 'libraries': 0.31; 'languages': 0.32; 'linux': 0.33; 'classes': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'example,': 0.37; 'being': 0.38; 'rather': 0.38; 'that,': 0.38; 'first': 0.61; 'offer': 0.62; 'decided': 0.64; 'more': 0.64; 'direct': 0.67; 'mar': 0.68; '2015': 0.84; 'idiot': 0.84; 'instantly': 0.84; 'subject:Practices': 0.84; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=fDdlQWScqX7qLfpjriH6v+irts5SIzp19VMPfd+fMOs=; b=a7QSJ9hf86ASv/zQ/TK85WOOJlcQ0aUGtTqPlXFWqarJfG2oEolGWpg4csiIJq/BKo uivPjaWSrLznIaAiNcwklAbYiS6uAOz1Ee1ZqEbVTs6Gk1xdtPBf4psEPrWxnXyDyDRY uvMCeKIXT+6PbOahIXOdVfjQXscnqzIoaHuUu2LHwKOhh6DkVR/rZ6nLeOIX5lHOsWt5 YedfADdohR550YVv0MZOQEFJEY9EHQpbaDALBHsbLc9RDrg9DqZwtF9clD58H4+HLwb4 Bv5+gohdc8ZBNjzxKnO/bC74XaPSOh/mDNaY5yLYcDfw+9GVOeMOHhXED9Wxiyo5bOWo eOTw== |
| MIME-Version | 1.0 |
| X-Received | by 10.107.136.80 with SMTP id k77mr10375632iod.53.1425138401248; Sat, 28 Feb 2015 07:46:41 -0800 (PST) |
| In-Reply-To | <mcsn4j$ue8$1@ger.gmane.org> |
| References | <mclca6$iie$1@ger.gmane.org> <7053A277-9687-49B0-9FDB-CB4DB3E76DEC@gmail.com> <54F0E38D.40006@davea.name> <CAPTjJmqTsB-of0JdJKW4BNW23DEpZ17353fHa9iBHfV8-3uANw@mail.gmail.com> <mcsn4j$ue8$1@ger.gmane.org> |
| Date | Sun, 1 Mar 2015 02:46:41 +1100 |
| Subject | Re: Python Worst Practices |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.19336.1425138879.18130.python-list@python.org> (permalink) |
| Lines | 24 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1425138879 news.xs4all.nl 2874 [2001:888:2000:d::a6]:60145 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:86624 |
Show key headers only | View raw
On Sun, Mar 1, 2015 at 2:33 AM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote: > > It also makes me wonder what idiot decided to use C as the language for the > first Python implementation? Or was it written in something else and then > ported? Guido, probably. And what other language would you suggest? What other language has comparably extensive multi-platform support? Writing a Python implementation in C instantly makes Python available on all sorts of platforms, with direct access to native libraries on all of them. For example, CPython on Windows can make use of a whole bunch of Microsoft's win32 APIs, via the pywin32 extensions; meanwhile, CPython on Linux can use the inotify functions, again via an extension module (pyinotify or python-inotify). Jython doesn't offer that, as far as I know; or rather, Jython offers access to Java classes rather than to C libraries, and there are a lot more of the latter than the former. Of all the languages that offer convenient access to the same sorts of libraries that C code can (generally, those that compile to machine code and use the same kinds of linker information), which would you suggest as being better than C? C may not be perfect, but it's pretty decent at what it does. ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-03-01 02:46 +1100
csiph-web