Ticket #6369 defect new
io_add_watch API change in pygobject >= 3.7.3
|Reported by:||dobey||Owned by:|
Description (last modified by exarkun) (diff)
The API has changed slightly in pygobject 3.7.3 and newer, so twisted based programs which use the glib based reactors will result in having PyGIDeprecationWarning messages printed when the io_add_watch method is called:
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:656: PyGIDeprecationWarning: Calling io_add_watch without priority as second argument is deprecated PyGIDeprecationWarning) /usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:667: PyGIDeprecationWarning: Calling io_add_watch with priority keyword argument is deprecated, put it as second positional argument PyGIDeprecationWarning)
Note: See TracTickets for help on using tickets.