SeattleTestbed / seattlelib_v2

RepyV2 libraries to use with SeattleTestbed
MIT License
1 stars 20 forks source link

Fix #164, dylink import behavior for names that start with "_" #188

Open aaaaalbert opened 8 years ago

aaaaalbert commented 8 years ago

This PR proposes tests to highlight #164, and also a fix that makes dylink's import functions behave like Python's. From the commit message of the ``fix'' part,

  • dy_import_module_symbols (akin to Python's from MODULE import *) now correctly skips names that start with an underscort ("_"), and
  • dy_import_module (akin to Python's import MODULE) now does correctly import these names.
aaaaalbert commented 8 years ago

See also the relevant post-merge test results for these tests (on a test branch of mine ATM), https://travis-ci.org/aaaaalbert/seattlelib_v2/jobs/155357118#L372-L375