New submission from Santoso Wijaya: Python 2.7.3 (default, Sep 26 2012, 21:51:14) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import array, cStringIO, StringIO >>> a = array.array('B', [1,2,3]) >>> cStringIO.StringIO(a).getvalue() '\x01\x02\x03' >>> StringIO.StringIO(a).getvalue() "array('B', [1, 2, 3])" >>>
---------- components: Library (Lib) messages: 184939 nosy: santa4nt priority: normal severity: normal status: open title: StringIO() does not behave like cStringIO() when given an array object versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17517> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com