summaryrefslogtreecommitdiffstats
path: root/RISCOS/Modules
Commit message (Collapse)AuthorAgeFilesLines
* This reverts r63675 based on the discussion in this thread:Gregory P. Smith2008-06-093-22/+22
| | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread.
* Renamed PyString to PyBytesChristian Heimes2008-05-263-22/+22
|
* Convert more modules to METH_VARARGS.Georg Brandl2006-05-292-88/+121
|
* Merge ssize_t branch.Martin v. Löwis2006-02-152-26/+26
|
* Patch #734231: Update RiscOS support. In particular, correctMartin v. Löwis2003-05-102-6/+335
| | | | riscospath.extsep, and use os.extsep throughout.
* Removed WITH_CYCLE_GC #ifdef-ery. Holes:Tim Peters2002-07-071-2/+0
| | | | | | + I'm not sure what to do about configure.in. Left it alone. + Ditto pyexpat.c. Fred or Martin will know what to do.
* Patch #568124: Add doc string macros.Martin v. Löwis2002-06-131-2/+2
|
* SF patch 493739 2 Bugfixes for 2.2c1 (RISC OS specific), fromTim Peters2001-12-151-1/+1
| | | | | | | | | | | | | | | | | | 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.] """
* Patch supplied by Burton Radons for his own SF bug #487390: ModifyingGuido van Rossum2001-12-081-1/+1
| | | | | | | | | | | | | 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.
* Use strncpy() instead of sprintf() in calculate_path().Jeremy Hylton2001-11-281-15/+19
| | | | Also reformat calculate_path() using the standard format.
* SF patch #475657 (Dietmar Schwertberger)Guido van Rossum2001-10-271-2/+3
| | | | | | | | | | | | 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
* SF patch #474590 -- RISC OS supportGuido van Rossum2001-10-245-31/+85
|
* SF patch #462296: Add attributes to os.stat results; by Nick Mathewson.Guido van Rossum2001-10-181-17/+71
| | | | | | | | | | | | | | | | | 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.)
* Add -E command line switch (ignore environment variables like PYTHONHOMENeil Schemenauer2001-07-231-1/+1
| | | | and PYTHONPATH).
* RISCOS files by dschwertbergerGuido van Rossum2001-03-025-0/+1502