1. 12 May, 1998 4 commits
    • Guido van Rossum's avatar
      New APIs to write to sys.stdout or sys.stderr using a printf-like interface. · a890e688
      Guido van Rossum authored
      Adapted from code submitted by Just van Rossum.
      
         PySys_WriteStdout(format, ...)
         PySys_WriteStderr(format, ...)
      
            The first function writes to sys.stdout; the second to sys.stderr.  When
            there is a problem, they write to the real (C level) stdout or stderr;
            no exceptions are raised (but a pending exception may be cleared when a
            new exception is caught).
      
            Both take a printf-style format string as their first argument followed
            by a variable length argument list determined by the format string.
      
            *** WARNING ***
      
            The format should limit the total size of the formatted output string to
            1000 bytes.  In particular, this means that no unrestricted "%s" formats
            should occur; these should be limited using "%.<N>s where <N> is a
            decimal number calculated so that <N> plus the maximum size of other
            formatted text does not exceed 1000 bytes.  Also watch out for "%f",
            which can print hundreds of digits for very large numbers.
      a890e688
    • Guido van Rossum's avatar
      Add · bf6a9b16
      Guido van Rossum authored
         PySys_WriteStdout(format, ...)
         PySys_WriteStderr(format, ...)
      bf6a9b16
    • Guido van Rossum's avatar
      Trivial little change: timer tokens shouldn't have a Print() function, · 597ac207
      Guido van Rossum authored
      they should have a Repr() function.
      597ac207
    • Guido van Rossum's avatar
      Reduce memory requirements. · b298a300
      Guido van Rossum authored
      b298a300
  2. 11 May, 1998 21 commits
  3. 10 May, 1998 2 commits
  4. 09 May, 1998 1 commit
  5. 08 May, 1998 12 commits