Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #73935
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <demianbrecht@gmail.com> |
| 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; '(of': 0.07; 'hires': 0.09; 'spaces': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'breakpoints': 0.16; 'editor,': 0.16; 'pep8': 0.16; 'statements,': 0.16; 'tabs': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'print': 0.22; 'own.': 0.24; 'stick': 0.24; 'switched': 0.24; 'cc:2**0': 0.24; "i've": 0.25; '>': 0.26; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'libraries': 0.31; 'with,': 0.31; 'run': 0.32; 'worked': 0.33; 'received:google.com': 0.35; 'skip:& 10': 0.38; 'issue': 0.38; 'most': 0.60; 'new': 0.61; "you're": 0.61; 'making': 0.63; 'jul': 0.74; 'hammer': 0.84 |
| 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:to :cc:content-type; bh=DkebRNCunZzYUyl8UFFoy25C+NsRUn/QcMmbA6U9Lcc=; b=yHVhVrN7b17Q9dWTci2q4oNXXchLoKIbEXzJKHpjx0I5dfn9woKZUxTaLSetPx7nTl fAX5CLHKYHkbXKKBahk6IrKQpBEUtvX+m7HDbXMV+G89ydMeuMEcPfB5UB7yEZ2g85M8 1yKIAPNgFosS2NmUs40VAF4k1oPFSIbRbalVV9PEmDJO4tLG6m+ifg9OVqD+JBvYS0go Um4vW9WlbMmClbfrnvzx19x2GXiUh7SNnMhKXHgxNflg4FggloZRQtZxJyT8gVHp2/dE 1jErNcyJL/MBuiYrz+VIrOSU5bxjE2PAo76pRrFXcM/u7F+kckTM9FUg1lBRw4ogtTNC eNAw== |
| MIME-Version | 1.0 |
| X-Received | by 10.152.19.164 with SMTP id g4mr6236156lae.47.1404444222200; Thu, 03 Jul 2014 20:23:42 -0700 (PDT) |
| In-Reply-To | <53B59358.2040404@tobiah.org> |
| References | <53B59358.2040404@tobiah.org> |
| Date | Thu, 3 Jul 2014 20:23:42 -0700 |
| Subject | Re: PEP8 and 4 spaces |
| From | Demian Brecht <demianbrecht@gmail.com> |
| To | Tobiah <tshepard@rcsreg.com> |
| Content-Type | multipart/alternative; boundary=089e01494230f8a24c04fd55a63f |
| Cc | Python <python-list@python.org> |
| 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.11479.1404444230.18130.python-list@python.org> (permalink) |
| Lines | 41 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1404444230 news.xs4all.nl 2875 [2001:888:2000:d::a6]:41660 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:73935 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Jul 3, 2014 10:31 AM, "Tobiah" <tshepard@rcsreg.com> wrote: > Just need ammo for when the hammer of code unification comes down. One issue that I've encountered in the past (one of the reasons outside of pep8) that I switched to spaces is when working with libraries other than your own. If you want to stick print statements, breakpoints or make any other modifications to the code you're working with, chances are if you're using tabs in your editor, you're going to run into issues when making those changes. Most (of not all) libraries I've worked with use spaces. Pep8 suggests the use of spaces. New hires who have spent any amount of time in python are /likely/ most used to using spaces. For those reasons I much prefer spaces over tabs.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: PEP8 and 4 spaces Demian Brecht <demianbrecht@gmail.com> - 2014-07-03 20:23 -0700
csiph-web