New submission from Hagen Fürstenau <hfuerste...@gmx.net>: This looks pretty bad:
>>> b = bytearray(b"\xff") >>> b[0] 255 >>> b.pop() -1 Fortunately it's easy too fix (attached). ---------- components: Interpreter Core messages: 92292 nosy: hagen severity: normal status: open title: bytearray.pop() returns negative ints type: behavior versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6846> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com