get the symtable module back in working order

- Fix broken functions
- Add (hopefully) extensive tests
- Modernize a little
This commit is contained in:
Benjamin Peterson 2008-08-17 17:13:26 +00:00
parent fd7c43e7be
commit 7dd854725b
3 changed files with 188 additions and 48 deletions

View file

@ -81,4 +81,7 @@ init_symtable(void)
PyModule_AddIntConstant(m, "GLOBAL_IMPLICIT", GLOBAL_IMPLICIT);
PyModule_AddIntConstant(m, "FREE", FREE);
PyModule_AddIntConstant(m, "CELL", CELL);
PyModule_AddIntConstant(m, "SCOPE_OFF", SCOPE_OFF);
PyModule_AddIntConstant(m, "SCOPE_MASK", SCOPE_MASK);
}