PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 720 - QByteArray prints itself wrong, on tp_print and tp_repr
: QByteArray prints itself wrong, on tp_print and tp_repr
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtCore
: 1.0.0
: All All
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-03-10 21:59 EET by Hugo Parente Lima
Modified: 2011-04-29 18:06 EEST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Parente Lima 2011-03-10 21:59:44 EET
b = QByteArray("_A\0_A\0")

repr(b)
# prints PySide.QtCore.QByteArray('_A')
print b
#prints _A
Comment 1 Hugo Parente Lima 2011-03-10 22:00:41 EET
Ah, the contents of the QByteArray are right, if you do a b.count() you'll see
that all bytes are there.
Comment 2 Hugo Parente Lima 2011-04-07 22:37:55 EEST
Fixed in commit:

pyside/f3961387a96f6ef6137575b8418402fa2ad4c07c
Comment 3 renato filho 2011-04-29 18:06:09 EEST
PySide release 1.0.2