[issue6762] strange string representation of xrange in print
New submission from Mintaka : String representation of xrange return keyword with value. foo = xrange(5) print foo >>> xrange(5) foo.__str__() >>> xrange(5) I think, that expected result should be somethink like this: >>> -- components: Interpreter Core messages: 91871 nosy: mintaka severity: normal status: open title: strange string representation of xrange in print versions: Python 2.5, Python 2.6 ___ Python tracker <http://bugs.python.org/issue6762> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6762] strange string representation of xrange in print
Changes by Mintaka : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue6762> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6762] strange string representation of xrange in print
Mintaka added the comment: Thanks for clarification. I compared it with iter([0,1,2,3,4]).__str__() which behaviour seems to me closer then list or tuple. -- ___ Python tracker <http://bugs.python.org/issue6762> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6772] Missing alias utf-8 in Standard Encodings list.
New submission from Mintaka : On page http://docs.python.org/dev/3.0/library/codecs.html#standard-encodings (and on the pages for older versions too) in the table with review, is missing higly used alias "utf-8" On that row is only: Codec Aliases Languages utf_8 U8, UTF, utf8 all languages And probably there should be: utf_8 U8, UTF, utf8, utf-8all languages -- assignee: georg.brandl components: Documentation messages: 91904 nosy: georg.brandl, mintaka severity: normal status: open title: Missing alias utf-8 in Standard Encodings list. versions: Python 3.0 ___ Python tracker <http://bugs.python.org/issue6772> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6772] Missing alias utf-8 in Standard Encodings list.
Mintaka added the comment: True, but this one is much more used then others. So frequently, that look like other names are aliases. Maybe it is good reason to mention it explicitly. -- ___ Python tracker <http://bugs.python.org/issue6772> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com