[PyQt] Implicit latin1 encoding for QByteArray
Georg Brandl
g.brandl at gmx.net
Thu Oct 2 13:13:26 BST 2014
On 10/02/2014 12:49 PM, Phil Thompson wrote:
>> If QByteArray would've done what Python3 does (bytes/string are
>> incompatible), I'd have noticed my mistake right away, this way it
>> exploded unexpectedly ;)
[...]
> It is a breaking change. I think I need to be better at using
> deprecation warnings generally. So I may deprecate this behaviour in
> v5.4 and remove it in v5.5. I may handle the unhandled exceptions issue
> in the same way.
I'd be in favor of both changes, and I'd appreciate a deprecation period.
cheers,
Georg
PSA for all: don't forget to use "python -Wd" or "python -Wa" while
developing since deprecation warnings are silent by default in newer
Python versions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20141002/f416ea5f/attachment.sig>
More information about the PyQt
mailing list