Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #20087
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <mateusz@loskot.net> |
| 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; 'subject:module': 0.04; 'library,': 0.05; 'sanity': 0.07; 'python': 0.08; 'context:': 0.09; 'conventions.': 0.09; 'url:peps': 0.09; 'code).': 0.16; 'nabble.com.': 0.16; 'really.': 0.16; 'received:192.168.236': 0.16; 'received:216.139': 0.16; 'received:216.139.236': 0.16; 'received:nabble.com': 0.16; 'url:nabble': 0.16; 'url:pep-0008': 0.16; 'archive': 0.21; 'wrote': 0.21; 'header:In-Reply-To:1': 0.22; 'pep': 0.23; 'url:dev': 0.23; 'writes:': 0.25; 'code': 0.26; 'import': 0.27; '-----': 0.28; 'url:gt': 0.30; 'error': 0.30; 'list': 0.32; 'thank': 0.35; 'to:addr:python-list': 0.35; 'url:python': 0.35; 'skip:& 10': 0.37; 'but': 0.37; 'charset:us- ascii': 0.37; 'received:192': 0.38; 'url:org': 0.39; 'mailing': 0.39; 'recommended': 0.39; 'to:addr:python.org': 0.40; 'view': 0.61; 'due': 0.66; 'subject:Read': 0.91 |
| Date | Thu, 9 Feb 2012 08:44:33 -0800 (PST) |
| From | mloskot <mateusz@loskot.net> |
| To | python-list@python.org |
| In-Reply-To | <878vkc426c.fsf@benfinney.id.au> |
| References | <CABUeae_vv=THd0VLsAteEKu7z8U2KA4p+vK1a=nAeMSKzM-L7g@mail.gmail.com> <878vkc426c.fsf@benfinney.id.au> |
| Subject | Re: Read-only attribute in module |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5598.1328805883.27778.python-list@python.org> (permalink) |
| Lines | 30 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1328805883 news.xs4all.nl 6923 [2001:888:2000:d::a6]:59619 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:20087 |
Show key headers only | View raw
Ben Finney-10 wrote > > Mateusz Loskot <mateusz@> writes: > >> So, the following >> >> import xyz >> print(xyz.flag) # OK >> xyz.flag = 0 # error due to no write access > > PEP 8 <URL:http://www.python.org/dev/peps/pep-0008/> gives the style > guide for Python code (strictly for the standard library, but it is > recommended for all Python code). > Ben, That's what I thought really. Thank you for confirming the sanity of the style-powered conventions. Best regards, ----- -- Mateusz Loskot http://mateusz.loskot.net -- View this message in context: http://python.6.n6.nabble.com/Read-only-attribute-in-module-tp4378950p4380150.html Sent from the Python - python-list mailing list archive at Nabble.com.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Read-only attribute in module Mateusz Loskot <mateusz@loskot.net> - 2012-02-09 11:43 +0000
Re: Read-only attribute in module Ben Finney <ben+python@benfinney.id.au> - 2012-02-09 23:32 +1100
Re: Read-only attribute in module mloskot <mateusz@loskot.net> - 2012-02-09 08:44 -0800
Re: Read-only attribute in module Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-10 01:04 +0000
Re: Read-only attribute in module Terry Reedy <tjreedy@udel.edu> - 2012-02-09 22:27 -0500
Re: Read-only attribute in module Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-10 22:23 +0000
Re: Read-only attribute in module Arnaud Delobelle <arnodel@gmail.com> - 2012-02-10 10:09 +0000
csiph-web