./devel/py-backcall, Specifications for callback functions passed in to an API

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.1.0, Package name: py27-backcall-0.1.0, Maintainer: pkgsrc-users

Specifications for callback functions passed in to an API

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.


Required to run:
[lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: e0ca4c1bde8f0a198505a090cd585a325789def1
RMD160: 13c59b24f2ea2acd09b63c9196dcc6cb6cb04e01
Filesize: 9.463 KB

Version history: (Expand)


CVS history: (Expand)


   2018-04-03 13:13:29 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
py-backcall: added version 0.1.0

Specifications for callback functions passed in to an API

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.