Issue 35 in f2py: [patch] all_mod_provides should contain contents of module_interface

2 views
Skip to first unread message

f2...@googlecode.com

unread,
Jan 27, 2012, 9:44:15 AM1/27/12
to f2py-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 35 by james.ke...@gmail.com: [patch] all_mod_provides should
contain contents of module_interface
http://code.google.com/p/f2py/issues/detail?id=35

This patch adds the contents of module_interface to the list of all the
public symbols provided by a module (all_mod_provides)


diff -r c5b88e996b11 -r 732d6b540026 fparser/statements.py
--- a/fparser/statements.py Fri Jan 27 14:26:10 2012 +0000
+++ b/fparser/statements.py Fri Jan 27 14:29:58 2012 +0000
@@ -930,6 +930,7 @@
norenames = [item for item in self.items if '=>' not in item]
all_mod_provides = dict(module.a.module_provides)
all_mod_provides.update(module.a.use_provides)
+ all_mod_provides.update(module.a.module_interface)
if self.isonly:
# populate use_provides with items/renames only.
for rename, orig in renames:


Reply all
Reply to author
Forward
0 new messages