Hi Alan,
On 01.08.07, Alan G Isaac wrote:
> >> Sadly tuples still lack some useful methods they should
> >> have: are these needed?)
>
> On Wed, 1 Aug 2007, Joerg Lehmann apparently wrote:
> > If you need such methods, you almost certainly don't want to
> > use tuples but a list.
>
> I meant, does PyX ever use such methods when processing read
> only attributes? If not, then tuples could be used,
> thereby taking advantage of immutability. (A natural
> match to "read only".)
This question is difficult to answer without knowing the methods you
refer to. I can only guess that you were speaking about the index and
count methods, which are the only list methods that do not modify the
list. I meant that although being compatible with the immutability
property they do not make much sense for tuples.
Cheers,
Jörg
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user