On Jun 10, 2013, at 11:38 AM, Greg Stein <[email protected]> wrote: >> ... >> Do we really have to have .py at the end of our command line tools? (yuck) >> :) > > Look at cmdline/. > > All the scripts end in .pl. The Makefile builds equivalents based on > wrapsuid.c that omit the suffix. The *real* invocation (which uses > setuid) will not have the suffix. The module can/should so that we can > import the module for testing, or for other needs.
Why wouldn't we use os.setuid()? Can setup.py be coded in some way to drop the .py extensions? Regards, Alan
