On Saturday 14 July 2007, Andy C wrote: > I don't mind calling it -z and using it for directories. But mainly > that's because no one has proprosed another name. : ) I think we've > agreed that -p is something totally different.
We could use -r ("run"), or -X ("execute"); not sure those are really right either. > > > while I think it would be a bad practice to > > > import __main__, > > > > I have seen it recommended as the right place to store global > > (cross-module) settings. > > Where? People use __main__.py now? That seems bad, because __ names > are reserved, so they should just use main.py, I would think. I've seen __main__ suggested as a place to store application-specific global settings, but not for a long time. I don't think it was ever mapped directly to a file on disk though. I find the idea really hackish. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com