1. 14 Haz, 2002 1 kayıt (commit)
    • Guido van Rossum's avatar
      SF patch 568629 by Oren Tirosh: types made callable. · bea18ccd
      Guido van Rossum yazdı
      These built-in functions are replaced by their (now callable) type:
      
          slice()
          buffer()
      
      and these types can also be called (but have no built-in named
      function named after them)
      
          classobj (type name used to be "class")
          code
          function
          instance
          instancemethod (type name used to be "instance method")
      
      The module "new" has been replaced with a small backward compatibility
      placeholder in Python.
      
      A large portion of the patch simply removes the new module from
      various platform-specific build recipes.  The following binary Mac
      project files still have references to it:
      
          Mac/Build/PythonCore.mcp
          Mac/Build/PythonStandSmall.mcp
          Mac/Build/PythonStandalone.mcp
      
      [I've tweaked the code layout and the doc strings here and there, and
      added a comment to types.py about StringTypes vs. basestring.  --Guido]
      bea18ccd
  2. 13 Haz, 2002 2 kayıt (commit)
  3. 09 Haz, 2002 1 kayıt (commit)
  4. 15 Ara, 2001 1 kayıt (commit)
    • Tim Peters's avatar
      SF patch 493739 2 Bugfixes for 2.2c1 (RISC OS specific), from · 1422e9dc
      Tim Peters yazdı
      Dietmar Schwertberger.
      Bugfix candidate.
      """
      RISCOS/Modules/getpath_riscos.c:
      Include trailing '\0' when using strncpy [copy
      strlen(...)+1 characters].
      
      Lib/plat-riscos/riscospath.py:
      Use riscosmodule.expand for os.path.abspath.
      [fixes problems with site.py where
      abspath("<Python$Dir>") returned
      join(os.getcwd(), "<Python$Dir>") as e.g.
      "SCSI::SCSI4.$.<Python$Dir>" because "<Python$Dir>"
      wasn't recognised as an absolute path.]
      """
      1422e9dc
  5. 08 Ara, 2001 1 kayıt (commit)
    • Guido van Rossum's avatar
      Patch supplied by Burton Radons for his own SF bug #487390: Modifying · 14648396
      Guido van Rossum yazdı
      type.__module__ behavior.
      
      This adds the module name and a dot in front of the type name in every
      type object initializer, except for built-in types (and those that
      already had this).  Note that it touches lots of Mac modules -- I have
      no way to test these but the changes look right.  Apologies if they're
      not.  This also touches the weakref docs, which contains a sample type
      object initializer.  It also touches the mmap test output, because the
      mmap type's repr is included in that output.  It touches object.h to
      put the correct description in a comment.
      14648396
  6. 28 Kas, 2001 2 kayıt (commit)
  7. 27 Eki, 2001 1 kayıt (commit)
    • Guido van Rossum's avatar
      SF patch #475657 (Dietmar Schwertberger) · bd67d6f3
      Guido van Rossum yazdı
      RISCOS/Makefile:
      include structseq and weakrefobject;
      changes to keep command line length below 2048
      
      RISCOS/Modules/riscosmodule.c:
      typos from the stat structseq patch
      
      Include/pyport.h:
      don't re-#define __attribute__(__x) on RISC OS as it is already defined in c library
      bd67d6f3
  8. 24 Eki, 2001 2 kayıt (commit)
  9. 18 Eki, 2001 1 kayıt (commit)
    • Guido van Rossum's avatar
      SF patch #462296: Add attributes to os.stat results; by Nick Mathewson. · 98bf58f1
      Guido van Rossum yazdı
      This is a big one, touching lots of files.  Some of the platforms
      aren't tested yet.  Briefly, this changes the return value of the
      os/posix functions stat(), fstat(), statvfs(), fstatvfs(), and the
      time functions localtime(), gmtime(), and strptime() from tuples into
      pseudo-sequences.  When accessed as a sequence, they behave exactly as
      before.  But they also have attributes like st_mtime or tm_year.  The
      stat return value, moreover, has a few platform-specific attributes
      that are not available through the sequence interface (because
      everybody expects the sequence to have a fixed length, these couldn't
      be added there).  If your platform's struct stat doesn't define
      st_blksize, st_blocks or st_rdev, they won't be accessible from Python
      either.
      
      (Still missing is a documentation update.)
      98bf58f1
  10. 26 Tem, 2001 1 kayıt (commit)
  11. 23 Tem, 2001 1 kayıt (commit)
  12. 10 Nis, 2001 1 kayıt (commit)
  13. 02 Mar, 2001 1 kayıt (commit)