diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-07-01 22:09:29 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-07-01 22:09:29 (GMT) |
commit | eefac35594980b517f92261ac8baa26d8d320e96 (patch) | |
tree | 24dfcd3b04c602e08d3151aeab00d8cf199d57f8 /Python/compile.c | |
parent | 340d98f564ac3ce8ee46b1f2c4f382718c10effe (diff) | |
download | cpython-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 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions