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


Groups > comp.lang.python > #108796

Re: Resources/pointers for writing maintable, testable Python

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Ben Finney <ben+python@benfinney.id.au>
Newsgroups comp.lang.python
Subject Re: Resources/pointers for writing maintable, testable Python
Date Thu, 19 May 2016 10:55:57 +1000
Lines 25
Message-ID <mailman.24.1463619373.27390.python-list@python.org> (permalink)
References <CA+yM-qbQSUKy8f3K1OF0-ON0mU7UugPLVnSkxXENkFes2SYQkA@mail.gmail.com> <85posic1cy.fsf@benfinney.id.au>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace news.uni-berlin.de UXTfFuXHe29IKWJ631IDSAr5zqhCYCB60TSEK8/wNJ5A==
Cancel-Lock sha1:VYC2RcHTJHVD1AQzAqxDgLxQCC0=
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.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.05; 'url:pycon': 0.08; 'pointers': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; '2.7': 0.13; 'brothers': 0.16; 'happily': 0.16; 'jacob': 0.16; 'quoted': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'subject:writing': 0.16; 'thoughts': 0.18; 'libraries': 0.22; 'month,': 0.22; 'written': 0.24; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'era': 0.29; "i'm": 0.30; 'subject:/': 0.30; 'code': 0.30; 'certainly': 0.30; "i'd": 0.31; 'url:python': 0.33; 'advice': 0.35; 'primarily': 0.35; 'but': 0.36; 'should': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'difference': 0.38; 'sure': 0.39; 'resources': 0.39; 'to:addr:python.org': 0.40; 'still': 0.40; 'today,': 0.62; 'today.': 0.67; 'increase': 0.73; 'topic,': 0.79; 'satisfied': 0.83; '_o__)': 0.84; 'received:125': 0.84; 'tastes.': 0.84; 'url:2007': 0.84; 'increases': 0.93; 'scott': 0.93
X-Injected-Via-Gmane http://gmane.org/
X-Gmane-NNTP-Posting-Host jigong.madmonks.org
X-Public-Key-ID 0xAC128405
X-Public-Key-Fingerprint 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405
X-Public-Key-URL http://www.benfinney.id.au/contact/bfinney-pubkey.asc
X-Post-From Ben Finney <bignose+hates-spam@benfinney.id.au>
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
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>
X-Mailman-Original-Message-ID <85posic1cy.fsf@benfinney.id.au>
X-Mailman-Original-References <CA+yM-qbQSUKy8f3K1OF0-ON0mU7UugPLVnSkxXENkFes2SYQkA@mail.gmail.com>
Xref csiph.com comp.lang.python:108796

Show key headers only | View raw


Jacob Scott <jacob.scott@gmail.com> writes:

> Today, I'm happily writing primarily Python (unfortunately, 2.7 -- but I'm
> not sure it makes that much of a difference)

Python 2.7 is still viable, but is certainly a dead end. The difference
increases month by month, and the advantage is only going to increase to
Python 3.

Any new code base should not be written in Python 2. Any libraries you
need which don't work yet on Python 3 should be seriously reconsidered.

> I'd appreciate any pointers to resources I might have missed, general
> thoughts on the topic, etc.

Code Like A Pythonista was written in the Python 2 era
<http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html>
but is still excellent advice today.

-- 
 \         “I have the simplest tastes. I am always satisfied with the |
  `\    best.” —Oscar Wilde, quoted in _Chicago Brothers of the Book_, |
_o__)                                                             1917 |
Ben Finney

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


Thread

Re: Resources/pointers for writing maintable, testable Python Ben Finney <ben+python@benfinney.id.au> - 2016-05-19 10:55 +1000
  Re: Resources/pointers for writing maintable, testable Python Rustom Mody <rustompmody@gmail.com> - 2016-05-18 20:31 -0700
    Re: Resources/pointers for writing maintable, testable Python Chris Angelico <rosuav@gmail.com> - 2016-05-19 13:47 +1000
      Re: Resources/pointers for writing maintable, testable Python DFS <nospam@dfs.com> - 2016-05-19 08:56 -0400
    Re: Resources/pointers for writing maintable, testable Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-05-19 13:56 +1000
      Re: Resources/pointers for writing maintable, testable Python Rustom Mody <rustompmody@gmail.com> - 2016-05-18 21:03 -0700

csiph-web