[Python-modules-team] Bug#834875: regression: qsettings can no longer save binary strings

Dmitry Shachnev mitya57 at debian.org
Sat Sep 3 11:02:34 UTC 2016


On Sun, Aug 28, 2016 at 06:54:35PM +0200, Salvo Tomaselli wrote:
> But now, to work around it, relational pickles and then encodes to
> base64 before storing to QSettings.

That is quite a bad work-around. If your upstream wants to support PyQt v5.7
(as released upstream), it is better to wrap the value in QByteArray.

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160903/a5e702e0/attachment-0001.sig>


More information about the Python-modules-team mailing list