BSD Ports

devel/py-backcall 0.2.0_1 DragonFly

Backwards compatible callback APIs

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
devel, python
Package size
21.0 KiB, 105.4 KiB installed

Description

If your code lets other people supply callback functions, it's important to specify the function signature you expect, and check that functions support that. Adding extra parameters later would break other peoples code unless you're careful.

backcall provides a way of specifying the callback signature using a prototype function

In the other systems

SystemPortVersion
DragonFlydevel/py-backcall0.2.0_1
FreeBSDdevel/py-backcall0.2.0_1
OpenBSDdevel/py-backcall0.2.0p5
HardenedBSDdevel/py-backcall0.2.0_1
GhostBSDdevel/py-backcall0.2.0_1

Install

Binary package:

pkg install py311-backcall

From DPorts:

cd /usr/dports/devel/py-backcall && make install clean

Dependencies

Run dependencies 1

No port depends on this one.