compatible with py2exe; lint code