Re: Python3 - encoding issues

2009-11-30 Thread DreiJane
No, sorry, i must correct me. There is a paragraph below on the quoted site. ".index" is still under "Mutable sequence types" - but bytes are treated below. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python3 - encoding issues

2009-11-28 Thread Benjamin Peterson
DreiJane h-labahn.de> writes: > > Ohhh - that's nice. But no words of that in the library reference > here: > > http://docs.python.org/3.1/library/stdtypes.html#sequence-types-str-bytes-bytearray-list-tuple-range That's because it's here: http://docs.python.org/3.1/library/stdtypes.html#bytes-

Re: Python3 - encoding issues

2009-11-28 Thread DreiJane
Ohhh - that's nice. But no words of that in the library reference here: http://docs.python.org/3.1/library/stdtypes.html#sequence-types-str-bytes-bytearray-list-tuple-range Still this fails: >>> a = (1,2,3,4) >>> print(a.startswith((1,2))) Traceback (most recent call last): File "", line 1, in

Re: Python3 - encoding issues

2009-11-28 Thread Benjamin Peterson
DreiJane h-labahn.de> writes: > Does anybody want to make a PEP from this (i won't do so) ? I will answer this query with a little interactive prompt session: $ python3 Python 3.1.1 (r311:74480, Nov 14 2009, 13:56:40) [GCC 4.3.4] on linux2 Type "help", "copyright", "credits" or "license" for mor

Python3 - encoding issues

2009-11-28 Thread DreiJane
Hello, at first i must beg the pardon of those from you, whose mailboxes got flooded by my last announcement of depikt. I myself get no emails from this list, and when i had done my corrections and posted each of the sligthly improved versions, i wasn't aware of the extra emails that produces. Sor