Project

General

Profile

Actions

Bug #1051

closed

babeltrace-1.3.2-c551f7a : The Python 3 binding is broken

Added by Daniel U. Thibault almost 8 years ago. Updated about 4 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
07/18/2016
Due date:
% Done:

0%

Estimated time:

Description

After building the 1.3.2 (c551f7a) release of babeltrace, I've run into one line where the binding is broken.

The problem lies at line 795 of the installed /usr/local/lib/python3.2/dist-packages/babeltrace.py:

class Event(collections.Mapping):
[...]
    @property
    def handle(self):
[...]
        th = TraceHandle.__new__(TraceHandle)
        th._id = ret
        th._trace_collection = self.get_trace_collection()
        return th

should be

class Event(collections.Mapping):
[...]
    @property
    def handle(self):
[...]
        th = TraceHandle.__new__(TraceHandle)
        th._id = ret
        th._trace_collection = self.trace_collection
        return th
Actions

Also available in: Atom PDF