summaryrefslogtreecommitdiffstats
path: root/RISCOS
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-07-01 22:09:29 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-07-01 22:09:29 (GMT)
commiteefac35594980b517f92261ac8baa26d8d320e96 (patch)
tree24dfcd3b04c602e08d3151aeab00d8cf199d57f8 /RISCOS
parent340d98f564ac3ce8ee46b1f2c4f382718c10effe (diff)
downloadcpython-eefac35594980b517f92261ac8baa26d8d320e96.zip
cpython-eefac35594980b517f92261ac8baa26d8d320e96.tar.gz
cpython-eefac35594980b517f92261ac8baa26d8d320e96.tar.bz2
Added WeakLink...Generator classes (should have done that ages ago). These check the c-function pointer for being NULL before calling it and raise UnimplementedError if it is.
This allows system libs to be weak-linked, thereby allowing us to generate functions that are only available on some OS versions without getting a NULL dereference if the function isn't available.
Diffstat (limited to 'RISCOS')
0 files changed, 0 insertions, 0 deletions