- 14 Haz, 2002 1 kayıt (commit)
-
-
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]
-
- 13 Haz, 2002 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
- 09 Haz, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 15 Ara, 2001 1 kayıt (commit)
-
-
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.] """
-
- 08 Ara, 2001 1 kayıt (commit)
-
-
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.
-
- 28 Kas, 2001 2 kayıt (commit)
-
-
Jeremy Hylton yazdı
Also reformat calculate_path() using the standard format.
-
Jeremy Hylton yazdı
-
- 27 Eki, 2001 1 kayıt (commit)
-
-
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
-
- 24 Eki, 2001 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
- 18 Eki, 2001 1 kayıt (commit)
-
-
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.)
-
- 26 Tem, 2001 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 23 Tem, 2001 1 kayıt (commit)
-
-
Neil Schemenauer yazdı
and PYTHONPATH).
-
- 10 Nis, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 02 Mar, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-