Bugs item #1163178, was opened at 2005-03-14 19:38 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1163178&group_id=5470
Category: Unicode Group: Python 2.3 Status: Open Resolution: None Priority: 5 Submitted By: Walter Dörwald (doerwalter) Assigned to: Martin v. Löwis (loewis) Summary: IDNA StreamReader broken Initial Comment: It seems that the IDNA StreamReader is broken (this problem occurs both in Python 2.3.4 and Python 2.4): >>> import codecs, cStringIO >>> r = codecs.getreader("idna")(cStringIO.StringIO("abc")) >>> r.read(1) u'a' >>> r.read(1) u'b' >>> r.read(1) u'c' >>> r.read(1) u'.' >>> r.read(1) u'.' I would have expected that read(1) returns u"" after the third call. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1163178&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com