[PATCH] alsaseq: fix constant objects in Python 3

Takashi Iwai tiwai at suse.de
Mon Aug 10 16:12:23 CEST 2020


On Wed, 05 Aug 2020 17:42:43 +0200,
Hector Martin wrote:
> 
> In Py3 everything is a long, so we can't get away with duplicating the
> integer object layout any more. Properly subclass PyLong_Type instead,
> with a bit of a hack to add an extra name field after the variable-sized
> data section.
> 
> Also get rid of the enum type stuff, which seems to be unused cruft, and
> the numprotocol stuff, because the base type can take care of that (and
> we can't map arbitrary arithmetic results back to constants anyway).
> 
> Signed-off-by: Hector Martin <marcan at marcan.st>

Applied now.  Thanks.


Takashi


More information about the Alsa-devel mailing list