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 501537 - poor naming of gst.Element.pads()
poor naming of gst.Element.pads()
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-12-04 15:00 UTC by Andy Wingo
Modified: 2012-07-06 16:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andy Wingo 2007-12-04 15:00:49 UTC
gst.Element.pads() is bad API, for two reasons:

 1. It does not reflect upstream API, i.e. iterate_pads, iterate_sink_pads, etc
 2. It is a noun and not a verb. It sounds more like an attribute than a method.

It should be changed to get_pads() for consistency with the rest of the wrapper, and pads() left as a deprecated alias.
Comment 1 Tim-Philipp Müller 2012-07-06 16:44:43 UTC
Let's WONTFIX this, since gst-python is not going to play a role in the bright new 1.0 zero future, and with pygi we get a more C-like API automatically, for better or worse.