Skip to content

GVariant add support to maybe types

Alberto Ruiz requested to merge aruiz/pygobject:master into master

While adding support to maybe types I realized that the GVariant override was replicating a lot of logic from GVariant to parse format strings by itself. This patch simplifies the creation of GVariants from Python types and relies on GVariantType to interpret the format string and walk through its items.

This patch also expands test coverage for maybe types.

Merge request reports