Message139103
You are right, I debugged the problem a little more and discovered at least one bug in PyAMF.
Still, I was surprised to find out something very strange, it look that BytesIO.getvalue() does return `str` even if the documentation says it does return `bytes`. Should I file another bug?
Python 2.7.1 (r271:86832, Jun 13 2011, 14:28:51)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import io
>>> a = io.BytesIO()
>>> a
<_io.BytesIO object at 0x10f9453b0>
>>> a.getvalue()
''
>>> print type(a.getvalue())
<type 'str'>
>>> |
|
Date |
User |
Action |
Args |
2011-06-25 17:10:24 | ssbarnea | set | recipients:
+ ssbarnea, terry.reedy, r.david.murray |
2011-06-25 17:10:24 | ssbarnea | set | messageid: <1309021824.57.0.469134753963.issue12398@psf.upfronthosting.co.za> |
2011-06-25 17:10:24 | ssbarnea | link | issue12398 messages |
2011-06-25 17:10:23 | ssbarnea | create | |
|