[Bug 726920] New: Apply pep 238 for division overload for Python 3

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Mar 23 07:21:23 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=726920
  GStreamer | gst-python | git

           Summary: Apply pep 238 for division overload for Python 3
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-python
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: lubosz at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=272687)
 View: https://bugzilla.gnome.org/attachment.cgi?id=272687
 Review: https://bugzilla.gnome.org/review?bug=726920&attachment=272687

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

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list