Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'languages,': 0.04; 'mrab': 0.05; 'escape': 0.07; 'subject:help': 0.07; 'python': 0.09; '22,': 0.09; 'backwards': 0.09; 'contexts': 0.09; 'pep': 0.09; '"internal': 0.16; '(well,': 0.16; 'clause.': 0.16; 'justified': 0.16; 'lowercase': 0.16; 'oct': 0.16; 'travis': 0.16; 'underscores,': 0.16; 'wrote:': 0.17; 'variable': 0.20; 'header :In-Reply-To:1': 0.25; '(e.g.': 0.27; 'went': 0.28; 'attempting': 0.29; 'consistency': 0.29; 'e.g.': 0.30; 'received:209.85.160.46': 0.32; 'retain': 0.33; 'to:addr:python-list': 0.33; 'front': 0.33; 'languages': 0.33; 'recommended': 0.33; "can't": 0.34; 'received:google.com': 0.34; 'received:172.16': 0.34; 'clear': 0.35; 'pm,': 0.35; 'received:209.85': 0.35; 'message- id:@gmail.com': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'where': 0.40; 'skip:" 10': 0.40; 'subject:-': 0.40; 'header:Received:5': 0.40; 'header:Message- Id:1': 0.62; 'success': 0.63; 'here': 0.65; 'charset:windows-1252': 0.65; 'felt': 0.75; 'vital': 0.75; 'done."': 0.84; 'prevailing': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=9pPPgdaNZrblq85uuKgj4AgnAOqAy8hbwX78t8At0tM=; b=x1R5IJiVoMlAXzctiOHLqjwtERABdjgD3HsngKCsJO45QptMbUQ6BhPCKvX3HLIoUp cfHa1wYeHUbXS22iHHVbyZqJ843U1jYzd31ip2vHxy7brqVx19oXYTkljSkhhkKmpHO6 1lnS7r+OYQnJTauT9xbJ6YNbeOfmE1YrdFTzS6kKXpaxFNmo5KKiQ3BQ7LizxvMlmqd2 jcsj4gQ2OtOjn8Fem4ms3tjwQ4A2IlDy17MN8n3XMGNhOajPPZmPYplu4Nnn4t9L/+zo Urh63L/I5Qfx5GKmvGIbtlCZAqKXsScI5JYpku/nRLZ1RkeAJ/QDyzchR9dtJIWW0yE/ lLhg== Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Style help for a Smalltalk-hack From: Travis Griggs In-Reply-To: <5085F3DA.1010809@mrabarnett.plus.com> Date: Tue, 23 Oct 2012 08:18:32 -0700 Content-Transfer-Encoding: quoted-printable References: <168DF25C-0C43-45F2-BEDC-17AC4210F207@gmail.com> <5085F3DA.1010809@mrabarnett.plus.com> To: python-list@python.org X-Mailer: Apple Mail (2.1499) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list 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: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1351005517 news.xs4all.nl 6945 [2001:888:2000:d::a6]:42861 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:31935 On Oct 22, 2012, at 6:33 PM, MRAB wrote: > By the way, in Python the recommended style for variable names (well, > what you'd call a 'variable' in other languages :-)) is lowercase with > underscores, e.g. "byte_stream". We went with the=20 "...mixedCase is allowed only in contexts where that's already the = prevailing style (e.g. threading.py), to retain backwards = compatibility=85" escape clause. :) The group of us here are working in multiple languages, and all use it = (mixedCase) across all of them. Because PEP 8 makes it clear up front = that "internal consistency is preferred", we felt justified in marching = on. -- Travis Griggs "A vital ingredient of success is not knowing that what you're = attempting can't be done." -Terry Pratchett