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 #1

Updated by Daniel U. Thibault over 7 years ago

babeltrace 1.4.0 (09c9a6e): the problem is still present, at least in potentia. The line number is now 830.

Actions #2

Updated by Jonathan Rajotte Julien about 4 years ago

  • Status changed from New to Invalid

State of babeltrace moved a lot since.

Closing this ticket as invalid. Reopen it if it stills apply to Babeltrace 2.

Actions

Also available in: Atom PDF