After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 638470 - Override request: g_markup_escape_text
Override request: g_markup_escape_text
Status: RESOLVED DUPLICATE of bug 622123
Product: pygobject
Classification: Bindings
Component: introspection
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-01 22:53 UTC by Holger Berndt
Modified: 2011-01-02 00:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Holger Berndt 2011-01-01 22:53:42 UTC
In Python, it should work to just use

 GLib.markup_escape_text("foo")

instead of

 GLib.markup_escape_text("foo", -1)
Comment 1 Simon van der Linden 2011-01-01 23:29:26 UTC
Not sure what to do in that case. We already discussed a similar issue in bug 622123.
Comment 2 Holger Berndt 2011-01-02 00:15:20 UTC
Thanks for pointing me to that bug. It indeed sounds like the exact same issue. Having a solution based directly on introspection annotations would be a lot more generic than adding overrides for individual functions, too. I'm closing this one as duplicate.

*** This bug has been marked as a duplicate of bug 622123 ***