Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > named tuple mutability

Reply
Thread Tools

named tuple mutability

 
 
castironpi@gmail.com
Guest
Posts: n/a
 
      05-14-2008
I'm concerned over the future of Python. Should tuples be named?
 
Reply With Quote
 
 
 
 
Raymond Hettinger
Guest
Posts: n/a
 
      05-14-2008
>*Should tuples be named?

Yes.

 
Reply With Quote
 
 
 
 
castironpi@gmail.com
Guest
Posts: n/a
 
      05-14-2008
On May 14, 12:41*pm, Raymond Hettinger <(E-Mail Removed)> wrote:
> >*Should tuples be named?

>
> Yes.


Not clearly should. Sequences ought be. If you're on the right time
for both, can't the library hold the B?
 
Reply With Quote
 
castironpi@gmail.com
Guest
Posts: n/a
 
      05-14-2008
On May 14, 1:04*pm, (E-Mail Removed) wrote:
> On May 14, 12:41*pm, Raymond Hettinger <(E-Mail Removed)> wrote:
>
> > >*Should tuples be named?

>
> > Yes.

>
> Not clearly should. *Sequences ought be. *If you're on the right time
> for both, can't the library hold the B?


On the web, you can. Both data types can go in the docs... sorry for
the lunacy, I'm hacking.
 
Reply With Quote
 
bruno.desthuilliers@gmail.com
Guest
Posts: n/a
 
      05-14-2008
On 14 mai, 18:20, (E-Mail Removed) wrote:
> I'm concerned over the future of Python. Should tuples be named?


Obviously not, unless they should.
 
Reply With Quote
 
castironpi@gmail.com
Guest
Posts: n/a
 
      05-14-2008
On May 14, 5:01*pm, Ben Finney <(E-Mail Removed)>
wrote:
> "(E-Mail Removed)" <(E-Mail Removed)> writes:
> > On 14 mai, 18:20, (E-Mail Removed) wrote:
> > > I'm concerned over the future of Python. *Should tuples be named?

>
> > Obviously not, unless they should.

>
> Clearly they should, unless not.
>
> Ben Finney


I have plenty of uses for them!
 
Reply With Quote
 
castironpi@gmail.com
Guest
Posts: n/a
 
      05-14-2008
On May 14, 5:28*pm, (E-Mail Removed) wrote:
> On May 14, 5:01*pm, Ben Finney <(E-Mail Removed)>
> wrote:
>
> > "(E-Mail Removed)" <(E-Mail Removed)> writes:
> > > On 14 mai, 18:20, (E-Mail Removed) wrote:
> > > > I'm concerned over the future of Python. *Should tuples be named?

>
> > > Obviously not, unless they should.

>
> > Clearly they should, unless not.

>
> > Ben Finney

>
> I have plenty of uses for them!


FOR INSTANCE!

def zoop_zoop_zoop( self ): pass
 
Reply With Quote
 
castironpi@gmail.com
Guest
Posts: n/a
 
      05-14-2008
On May 14, 12:41*pm, Raymond Hettinger <(E-Mail Removed)> wrote:
> >*Should tuples be named?

>
> Yes.


Good; they're named sequences.
 
Reply With Quote
 
castironpi@gmail.com
Guest
Posts: n/a
 
      05-14-2008
On May 14, 6:21*pm, (E-Mail Removed) wrote:
> On May 14, 12:41*pm, Raymond Hettinger <(E-Mail Removed)> wrote:
>
> > >*Should tuples be named?

>
> > Yes.

>
> Good; they're named sequences.


Can anyone make sling-shots of words? What's the splatter?
 
Reply With Quote
 
Bruno Desthuilliers
Guest
Posts: n/a
 
      05-15-2008
Ben Finney a écrit :
> "(E-Mail Removed)" <(E-Mail Removed)> writes:
>
>> On 14 mai, 18:20, (E-Mail Removed) wrote:
>>> I'm concerned over the future of Python. Should tuples be named?

>> Obviously not, unless they should.

>
> Clearly they should, unless not.
>

May we agree to disagree here - unless we don't ?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to test for atomicity/mutability/hashability? kj Python 4 10-07-2010 09:22 PM
Mutability, copying lists but not sharing? cnb Python 1 08-26-2008 12:56 AM
list mutability gigs Python 1 02-18-2008 07:40 PM
Mutability of function arguments? ex_ottoyuhr Python 17 12-08-2005 05:17 PM
Mutability problem when subclassing tuple Edward C. Jones Python 2 02-19-2004 10:17 PM



Advertisments