Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #8241
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.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.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'example:': 0.03; 'python': 0.08; 'readable': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'blah': 0.16; 'iterator': 0.16; 'iterators,': 0.16; 'loop,': 0.23; 'subject:?': 0.29; 'header:X -Complaints-To:1': 0.32; 'to:addr:python-list': 0.33; 'header :User-Agent:1': 0.35; 'something': 0.37; 'limitation': 0.37; 'received:org': 0.38; 'but': 0.38; 'header:Mime-Version:1': 0.39; 'to:addr:python.org': 0.39; 'believe': 0.66; 'concept': 0.73; 'received:139': 0.84; 'sequence:': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Neal Becker <ndbecker2@gmail.com> |
| Subject | writable iterators? |
| Followup-To | gmane.comp.python.general |
| Date | Wed, 22 Jun 2011 15:28:23 -0400 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| X-Gmane-NNTP-Posting-Host | 139.85.237.117 |
| User-Agent | KNode/4.4.11 |
| 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.296.1308770918.1164.python-list@python.org> (permalink) |
| Lines | 12 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1308770918 news.xs4all.nl 14143 [::ffff:82.94.164.166]:53609 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:8241 |
Followups directed to: gmane.comp.python.general
Show key headers only | View raw
AFAICT, the python iterator concept only supports readable iterators, not write. Is this true? for example: for e in sequence: do something that reads e e = blah # will do nothing I believe this is not a limitation on the for loop, but a limitation on the python iterator concept. Is this correct?
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
writable iterators? Neal Becker <ndbecker2@gmail.com> - 2011-06-22 15:28 -0400
Re: writable iterators? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-22 21:54 +0000
Re: writable iterators? Mel <mwilson@the-wire.com> - 2011-06-22 17:59 -0400
Re: writable iterators? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-06-23 01:30 +0200
Re: writable iterators? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-23 11:53 +1000
Re: writable iterators? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-06-23 12:23 +0200
Re: writable iterators? Neal Becker <ndbecker2@gmail.com> - 2011-06-22 19:10 -0400
Re: writable iterators? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-23 11:50 +1000
Re: writable iterators? MRAB <python@mrabarnett.plus.com> - 2011-06-23 01:34 +0100
Re: writable iterators? Ian Kelly <ian.g.kelly@gmail.com> - 2011-06-23 09:02 -0600
Re: writable iterators? Neal Becker <ndbecker2@gmail.com> - 2011-06-23 12:06 -0400
Re: writable iterators? Chris Torek <nospam@torek.net> - 2011-06-23 18:26 +0000
Re: writable iterators? Chris Torek <nospam@torek.net> - 2011-06-23 22:17 +0000
Re: writable iterators? Neal Becker <ndbecker2@gmail.com> - 2011-06-23 21:10 -0400
csiph-web