python sandbox should be optional