summaryrefslogtreecommitdiff
path: root/RISCOS/Modules
AgeCommit message (Collapse)AuthorLines
2010-05-09Untabify C files. Will watch buildbots.Antoine Pitrou-298/+298
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-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.
2008-05-26Renamed PyString to PyBytesChristian Heimes-22/+22
2006-05-29Convert more modules to METH_VARARGS.Georg Brandl-88/+121
2006-02-15Merge ssize_t branch.Martin v. Löwis-26/+26
2003-05-10Patch #734231: Update RiscOS support. In particular, correctMartin v. Löwis-6/+335
riscospath.extsep, and use os.extsep throughout.
2002-07-07Removed WITH_CYCLE_GC #ifdef-ery. Holes:Tim Peters-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.
2002-06-13Patch #568124: Add doc string macros.Martin v. Löwis-2/+2
2001-12-15SF patch 493739 2 Bugfixes for 2.2c1 (RISC OS specific), fromTim Peters-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.] """
2001-12-08Patch supplied by Burton Radons for his own SF bug #487390: ModifyingGuido van Rossum-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.
2001-11-28Use strncpy() instead of sprintf() in calculate_path().Jeremy Hylton-15/+19
Also reformat calculate_path() using the standard format.
2001-10-27SF patch #475657 (Dietmar Schwertberger)Guido van Rossum-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
2001-10-24SF patch #474590 -- RISC OS supportGuido van Rossum-31/+85
2001-10-18SF patch #462296: Add attributes to os.stat results; by Nick Mathewson.Guido van Rossum-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.)
2001-07-23Add -E command line switch (ignore environment variables like PYTHONHOMENeil Schemenauer-1/+1
and PYTHONPATH).
2001-03-02RISCOS files by dschwertbergerGuido van Rossum-0/+1502