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


Groups > comp.lang.python > #86627

Re: Python Worst Practices

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'win32': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'cpython': 0.05; 'subject:Python': 0.06; 'latter': 0.09; 'lawrence': 0.09; 'linker': 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; 'suggest': 0.14; 'language.': 0.14; 'windows': 0.15; 'know;': 0.16; 'meanwhile,': 0.16; "microsoft's": 0.16; 'pywin32': 0.16; 'rather,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'sorts': 0.16; 'suggest?': 0.16; 'language': 0.16; 'wrote:': 0.18; 'module': 0.19; 'written': 0.21; 'machine': 0.22; 'header:User-Agent:1': 0.23; 'convenient': 0.24; 'java': 0.24; 'extension': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'wonder': 0.29; "doesn't": 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; 'there': 0.35; 'example,': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'rather': 0.38; 'that,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'first': 0.61; 'offer': 0.62; 'decided': 0.64; 'our': 0.64; 'more': 0.64; 'love': 0.65; 'charset:windows-1252': 0.65; 'direct': 0.67; 'mar': 0.68; '2015': 0.84; 'fishing,': 0.84; 'idiot': 0.84; 'instantly': 0.84; 'subject:Practices': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Python Worst Practices
Date Sat, 28 Feb 2015 16:28:13 +0000
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> <CAPTjJmoPr2saa8KXUjq4py-=oDt4HPsvRzd=wVTGNLsuX6=Vcg@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-78-146-7-82.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
In-Reply-To <CAPTjJmoPr2saa8KXUjq4py-=oDt4HPsvRzd=wVTGNLsuX6=Vcg@mail.gmail.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 <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.19337.1425140924.18130.python-list@python.org> (permalink)
Lines 35
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1425140924 news.xs4all.nl 2844 [2001:888:2000:d::a6]:41405
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:86627

Show key headers only | View raw


On 28/02/2015 15:46, Chris Angelico wrote:
> 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
>

I love fishing, just dangle the bait and wait to see what bites :)

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

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


Thread

Re: Python Worst Practices Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-28 16:28 +0000

csiph-web