#40 register_module_dependency doesn't suppress W1040 warning

open
nobody
None
5
2012-01-18
2012-01-18
Jason Kankiewicz
No

The module_builder.module_builder_t.register_module_dependency(<path>) method call doesn't always suppress the W1040 warning for an exposed class listed in <path>/exposed_decl.pypp.txt.

This bug was found in revision 1856.

Discussion

  • The problem appears to be that successive calls of the module_builder.module_builder_t.register_module_dependency method aren't additive; only W1040 warnings for the declarations listed in the last exposed_decl.pypp.txt file are suppressed.