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


Groups > comp.lang.python > #30671

Re: Slicing iterables in sub-generators without loosing elements

Newsgroups comp.lang.python
Date 2012-10-02 20:21 -0700
References <mailman.1636.1348935354.27098.python-list@python.org> <040cf4f0-e6de-45b1-add4-462c02fc2c7f@googlegroups.com> <mailman.1700.1349079470.27098.python-list@python.org> <e895bf8b-514b-4dc2-a43e-50de4f9c3a9e@googlegroups.com> <mailman.1732.1349196199.27098.python-list@python.org>
Subject Re: Slicing iterables in sub-generators without loosing elements
From Ramchandra Apte <maniandram01@gmail.com>
Message-ID <mailman.1751.1349234486.27098.python-list@python.org> (permalink)

Show all headers | View raw


On Tuesday, 2 October 2012 22:13:20 UTC+5:30, Mark Lawrence  wrote:
> On 02/10/2012 17:12, Ramchandra Apte wrote:
> 
> > On Monday, 1 October 2012 13:47:50 UTC+5:30, Mark Lawrence  wrote:
> 
> >> On 01/10/2012 01:58, 88888 Dihedral wrote:
> 
> >>
> 
> >>>
> 
> >>
> 
> >>> Your question seems vague to me. If you know you are storing
> 
> >>
> 
> >>> only immutable tuples in a list, then the way to iterate is simple.
> 
> >>
> 
> >>>
> 
> >>
> 
> >>
> 
> >>
> 
> >> Does Python have a magic method that let's me use mutable tuples?  I'd
> 
> >>
> 
> >> also like immutable lists.  Is it worth raising a feature request on the
> 
> >>
> 
> >> bug tracker?
> 
> >>
> 
> >>
> 
> >>
> 
> >> --
> 
> >>
> 
> >> Cheers.
> 
> >>
> 
> >>
> 
> >>
> 
> >> Mark Lawrence.
> 
> >
> 
> > Mark, you are talking to a bot.
> 
> >
> 
> 
> 
> What happened to freedom of speech?  If I want to talk to a bot, I'll 
> 
> talk to a bot.  Besides I'm not convinced it/he/she is a bot.  Plus if 
> 
> you read my post carefully, add in several years experience of Python 
> 
> the language and Python the comedy, you might come to the conclusion 
> 
> that a certain amount of urine extraction was going on :)
> 
> 
> 
> -- 
> 
> Cheers.
> 
> 
> 
> Mark Lawrence.

Never said you can't.

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


Thread

Slicing iterables in sub-generators without loosing elements Thomas Bach <thbach@students.uni-mainz.de> - 2012-09-29 18:14 +0200
  Re: Slicing iterables in sub-generators without loosing elements Paul Rubin <no.email@nospam.invalid> - 2012-09-29 09:26 -0700
    Re: Slicing iterables in sub-generators without loosing elements Thomas Bach <thbach@students.uni-mainz.de> - 2012-09-29 18:44 +0200
  Re: Slicing iterables in sub-generators without loosing elements 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-30 17:58 -0700
    Re: Slicing iterables in sub-generators without loosing elements Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-10-01 09:19 +0100
      Re: Slicing iterables in sub-generators without loosing elements Ramchandra Apte <maniandram01@gmail.com> - 2012-10-02 09:12 -0700
        Re: Slicing iterables in sub-generators without loosing elements Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-10-02 17:44 +0100
          Re: Slicing iterables in sub-generators without loosing elements Ramchandra Apte <maniandram01@gmail.com> - 2012-10-02 20:21 -0700
          Re: Slicing iterables in sub-generators without loosing elements Ramchandra Apte <maniandram01@gmail.com> - 2012-10-02 20:21 -0700
        Re: Slicing iterables in sub-generators without loosing elements Chris Angelico <rosuav@gmail.com> - 2012-10-03 03:58 +1000
          Re: Slicing iterables in sub-generators without loosing elements Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-10-03 00:57 +0000
            Re: Slicing iterables in sub-generators without loosing elements 88888 Dihedral <dihedral88888@googlemail.com> - 2012-10-02 18:11 -0700
              Re: Slicing iterables in sub-generators without loosing elements Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-10-03 01:24 +0000
                Re: Slicing iterables in sub-generators without loosing elements 88888 Dihedral <dihedral88888@googlemail.com> - 2012-10-02 18:42 -0700
        Re: Slicing iterables in sub-generators without loosing elements Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-10-02 19:35 +0100
        Re: Slicing iterables in sub-generators without loosing elements Terry Reedy <tjreedy@udel.edu> - 2012-10-02 14:59 -0400
      Re: Slicing iterables in sub-generators without loosing elements Ramchandra Apte <maniandram01@gmail.com> - 2012-10-02 09:12 -0700
      Re: Slicing iterables in sub-generators without loosing elements 88888 Dihedral <dihedral88888@googlemail.com> - 2012-10-02 13:54 -0700
      Re: Slicing iterables in sub-generators without loosing elements 88888 Dihedral <dihedral88888@googlemail.com> - 2012-10-02 13:54 -0700
  Re: Slicing iterables in sub-generators without loosing elements 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-30 17:58 -0700

csiph-web