Comment #5 on issue 2491 by renato.c...@gmail.com: order_iter and iterable function
http://code.google.com/p/sympy/issues/detail?id=2491

Just to be sure, I link here all the relevant documentation.

python 2.5: http://docs.python.org/release/2.5/lib/typesseq.html
python 2.7: http://docs.python.org/library/stdtypes.html#sequence-types-str-unicode-list-tuple-bytearray-buffer-xrange python 3.1: http://docs.python.org/release/3.1.3/library/stdtypes.html#sequence-types-str-bytes-bytearray-list-tuple-range python 3.3a: http://docs.python.org/dev/py3k/library/stdtypes.html#sequence-types-str-bytes-bytearray-list-tuple-range

It looks like __getitem__ is a safe path, both for 2.5 and py3. Of course for python2.6+ we could use ABCs from the collections module.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to