Original Post
I hope you guys here can help me. I'm using stackless python for scripting in my engine, to add the ability for user created mods and game logic, etc. And i want to limit what can be imported so that only modules defined in the game engine can be loaded. I've searched through the python c api and searched the net for a couple of days and came up with nothing. The reason for this is so no possibly malicious code can be executed. Right now python in my engine is like leaving your car unlocked with the windows down. Can anybody help? Thanks in advance.