Opened 15 years ago

Closed 15 years ago

#2743 closed defect (fixed)

Python callbacks only support functions, not any callable

Reported by: hobu Owned by: hobu
Priority: normal Milestone: 1.6.1
Component: PythonBindings Version: 1.6.0
Severity: normal Keywords:
Cc:

Description

The typemap code currently checks for PyFunction_Check instead of checking that the $input is a callable.

Change History (3)

comment:1 by hobu, 15 years ago

Fixed in trunk in r15967

comment:2 by hobu, 15 years ago

Status: newassigned

Fixed in 1.6 branch in r15969

comment:3 by hobu, 15 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.