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 726920 - Apply pep 238 for division overload for Python 3
Apply pep 238 for division overload for Python 3
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other Linux
: Normal normal
: 1.2.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 726922
 
 
Reported: 2014-03-23 14:46 UTC by Lubosz Sarnecki
Modified: 2014-04-26 08:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (1.30 KB, patch)
2014-03-23 14:46 UTC, Lubosz Sarnecki
none Details | Review

Description Lubosz Sarnecki 2014-03-23 14:46:29 UTC
Created attachment 272687 [details] [review]
Patch

Python 3 needs an __truediv__ and __rtruediv__ operator methods.
They are used in GstFraction.

see: http://legacy.python.org/dev/peps/pep-0238/

Github:
https://github.com/lubosz/gst-python/commit/f42ea5b6388d144ab9b281f0822e53537e163e44
Comment 1 Lubosz Sarnecki 2014-04-01 18:03:25 UTC
Fixed in 16979ed48bd0dce9fa1e3711b6bf30b3e65b45ce