[Idle-dev] Re: idlefork merge underway - errata

Fred L. Drake, Jr. fdrake@acm.org
Thu, 12 Jul 2001 10:44:19 -0400 (EDT)


Guido van Rossum writes:
 > Concatenating os.sep is not OS dependent.  On the Mac, os.sep is ':'
                                  ^^
                                  independent

 > On Unix, sys.path[0] is not the right place to look into.  It might be
 > just "idle" when the "idle" script is found on $PATH and the user
 > typed "idle".  (Most shells sustitute the full pathname found, but not
 > all do.)

  Also, someone calling os.exec*() directly can put just about
anything in there, since the path to the executable is a separate
parameter from the argv list.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Digital Creations