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 666 - QByteArray does not support slices
: QByteArray does not support slices
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtCore
: HEAD
: All All
: P3 major
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2011-02-04 17:36 EET by Lauro Moura
Modified: 2011-02-17 19:18 EET (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 Lauro Moura 2011-02-04 17:36:59 EET
>>> from PySide.QtCore import *
>>> a = QByteArray('01234567890')
>>> a[2:5]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: sequence index must be integer, not 'slice'
>>>
Comment 1 Hugo Parente Lima 2011-02-04 19:32:07 EET
Fixed in commit:
pyside/4e79ce7b25070795174980c195268a8e5721746f
Comment 2 Hugo Parente Lima 2011-02-17 19:18:21 EET
Released in 1.0.0~rc1