1. 02 May, 2000 2 commits
  2. 01 May, 2000 12 commits
    • Guido van Rossum's avatar
      Marc-Andre Lemburg: · 0e4f657a
      Guido van Rossum authored
      Fixed \OOO interpretation for Unicode objects. \777 now
      correctly produces the Unicode character with ordinal 511.
      0e4f657a
    • Guido van Rossum's avatar
      Marc-Andre Lemburg: · 96774c13
      Guido van Rossum authored
      Changed all references to the MAGIC constant to use a global
      pyc_magic instead. This global is initially set to MAGIC, but can be
      changed by the _PyImport_Init() function to provide for
      special features implemented in the compiler which are settable
      using command line switches and affect the way PYC files are
      generated.
      
      Currently this change is only done for the -U flag.
      96774c13
    • Guido van Rossum's avatar
      Eric Raymond: · d67ddbbe
      Guido van Rossum authored
      (1) Added and documented the capability for shlex to handle
      lexical-level inclusion and a stack of input sources.  Also, the input
      stream member is now documented, and the constructor takes an optional
      source-filename.  The class provides facilities to generate error
      messages that track file and line number.
      
      (2) Add a convenience function to generate C-compiler style error
      leaders.
      d67ddbbe
    • Guido van Rossum's avatar
      Eric Raymond: · 4b83ecbb
      Guido van Rossum authored
      Add a convenience function to generate C-compiler style error leaders.
      4b83ecbb
    • Guido van Rossum's avatar
      Eric Raymond: · eb4e11ae
      Guido van Rossum authored
      Added and documented the capability for shlex to handle lexical-level
      inclusion and a stack of input sources.  Also, the input stream member
      is now documented, and the constructor takes an optional source-filename.
      The class provides facilities to generate error messages that track
      file and line number.
      
      [GvR: I changed the __main__ code so that it actually stops at EOF, as
      Eric surely intended -- however it returned '' instead of the None he
      was testing for.]
      eb4e11ae
    • Guido van Rossum's avatar
      Marc-Andre Lemburg: · b16d197d
      Guido van Rossum authored
      Added Py_UnicodeFlag for use by the -U command line option.
      b16d197d
    • Guido van Rossum's avatar
      Marc-Andre Lemburg: · fdc8bdb6
      Guido van Rossum authored
      Support for the new -U command line option option:
      with the option enabled the Python compiler
      interprets all "..." strings as u"..." (same with r"..." and
      ur"...").
      fdc8bdb6
    • Guido van Rossum's avatar
      Marc-Andre Lemburg: · c15a9a1f
      Guido van Rossum authored
      Added -U command line option.
      
      With the option enabled the Python compiler interprets all "..."
      strings as u"..." (same with r"..." and ur"...").
      c15a9a1f
    • Guido van Rossum's avatar
      Robin Becker: The following patch seems to fix a module case bug in · 22b65a8e
      Guido van Rossum authored
      1.6a2 caused by wrong return values in routine allcaps83.  [GvR: I
      also changed the case for end-s>8 to return 0.]
      22b65a8e
    • Barry Warsaw's avatar
      Document the new additional signature for utime(). In addition to the · 93a8eacd
      Barry Warsaw authored
      previous functionality utime(path, (atime, mtime)), now allowed is
      utime(path, None) which sets the file's times to the current time.
      93a8eacd
    • Guido van Rossum's avatar
      Marc-Andre Lemburg: · d58c26fe
      Guido van Rossum authored
      The two methods .readline() and .readlines() in StreamReaderWriter
      didn't define the self argument. Found by Tom Emerson.
      d58c26fe
    • Barry Warsaw's avatar
      posix_utime(): Allow the second argument to be None, which invokes the · 3cef856d
      Barry Warsaw authored
      utime(path, NULL) call, setting the atime and mtime of the file to the
      current time.  The previous signature utime(path, (atime, mtime)) is
      of course still allowed.
      3cef856d
  3. 28 Apr, 2000 14 commits
  4. 27 Apr, 2000 12 commits