KnightSch / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
Other
0 stars 1 forks source link

Fix IMPORT_STAR so symbols starting with '_' are not imported #150

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
src/tests/t347a.py performs "import *" on t347b.py which contains two 
functions, one of them starts with an underscore.  The function with the 
underscore should not be imported per Python convention.

Original issue reported on code.google.com by dwhall...@gmail.com on 3 Oct 2010 at 4:34

GoogleCodeExporter commented 8 years ago

Original comment by dwhall...@gmail.com on 22 Oct 2010 at 3:29

GoogleCodeExporter commented 8 years ago
r563ac86e5bc9
Fixed IMPORT_STAR so symbols starting with underscore are not imported.
Updated dict_update() API with omit_underscored boolean.
Modified system test t347 because it used underscores improperly.
Created system test t350.

Original comment by dwhall...@gmail.com on 31 Oct 2010 at 5:03