summaryrefslogtreecommitdiffstats
path: root/bindings/python/wrapper_bottom.c
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-06-12 00:43:51 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-06-12 00:43:51 +0000
commitfbb0ef52ee9103c02617827d31971db3688f1ed8 (patch)
tree00b349c02f82c5eaa16f2d07fb0f1c4aaba5722a /bindings/python/wrapper_bottom.c
parenta9b673cd4a9a5ee64d8d04f5e3c03978a799f837 (diff)
downloadlasso-fbb0ef52ee9103c02617827d31971db3688f1ed8.tar.gz
lasso-fbb0ef52ee9103c02617827d31971db3688f1ed8.tar.xz
lasso-fbb0ef52ee9103c02617827d31971db3688f1ed8.zip
Binding python: find a work around for random behaviour of PyImport_ImportModule
* it seems that PyImport_ImportModule is not deterministic. Sometimes it returns True for modules which we know are present ('logging'). Importing 'sys' first seems to make 'logging' accessible (complete cargo cult programming).
Diffstat (limited to 'bindings/python/wrapper_bottom.c')
0 files changed, 0 insertions, 0 deletions