Comment 29 for bug 893091

Revision history for this message
In , Simon McVittie (smcv) wrote :

(In reply to comment #18)
> After thinking about it a bit I can revert the Int class but it needs to be
> changed to use __dict__ for the signature so the code in other areas doesn't
> have to be branched. I understand the need for someone to be able to check the
> base type. In Python 3.x I will just alias the DBusInt base class to the
> DBusLong base class.

That sounds good.

(In reply to comment #21)
> you'll notice the patch changes some uses of PyBytes_FromString to
> PyUnicode_FromString

Yes, I think object paths and signatures should be String in Python 3, because they're conceptually strings, not blobs of bytes (the same reason that identifiers in source code are still str, even though str now means what unicode used to mean).