Annotations for command line arguments and environment variables
- From: Christoph Reiter <reiter christoph gmail com>
- To: gir-devel-list gnome org
- Subject: Annotations for command line arguments and environment variables
- Date: Tue, 7 Jun 2016 19:28:37 +0200
Hey everyone,
I'm currently trying to improve filename and argv/environ handling in
PyGObject and started annotating filenames as "filename" and also argv/environ
related arguments as "filename" as they are treated the same way in Python.
I've (among others) filed
https://bugzilla.gnome.org/show_bug.cgi?id=767266
and
https://bugzilla.gnome.org/show_bug.cgi?id=767268
where it was pointed out that argv/environ should maybe not be annotated as
filename and on IRC uint8 arrays were suggested instead. The later would
result in API breakage in PyGObject, but could be mostly worked around using
overrides.
So, I'm wondering how other bindings handle that issue and how an annotation
change for, say gtk_init() to either "filename" or "uint8 array" would affect
other bindings. Or if someone has a better idea.
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]