1. 25 Apr, 1997 2 commits
    • Guido van Rossum's avatar
      Now that the string-sig has settled on r"obin" strings, restrict the · 5026cb4d
      Guido van Rossum authored
      <letter><string> notation to 'r' and 'R'.
      5026cb4d
    • Guido van Rossum's avatar
      Expand one level of symbolic link in sys.argv[0] before inserting its · c474deaa
      Guido van Rossum authored
      dirname in sys.path.  This means that you can create a symbolic link
      foo in /usr/local/bin pointing to /usr/yourname/src/foo/foo.py, and
      then invoking foo will insert /usr/yourname/src/foo in sys.path, not
      /usr/local/bin.  This makes it easier to have multifile programs
      (before, the program would have to do an os.readlink(sys.argv[0])
      itself and insert the resulting directory in sys.path -- Grail does
      this).
      
      Note that the expansion is only used for sys.path; sys.argv[0] is
      still the original, unadorned filename (/usr/local/bin/foo in the
      example).
      c474deaa
  2. 23 Apr, 1997 1 commit
  3. 21 Apr, 1997 1 commit
  4. 18 Apr, 1997 1 commit
  5. 16 Apr, 1997 12 commits
  6. 15 Apr, 1997 1 commit
  7. 14 Apr, 1997 1 commit
  8. 11 Apr, 1997 21 commits