cpython/RISCOS
Guido van Rossum 98bf58f1c6 SF patch #462296: Add attributes to os.stat results; by Nick Mathewson.
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-10-18 20:34:25 +00:00
..
Modules SF patch #462296: Add attributes to os.stat results; by Nick Mathewson. 2001-10-18 20:34:25 +00:00
Python RISCOS files by dschwertberger 2001-03-02 05:58:11 +00:00
support Updated version of RISCOS support. SF patch 411213 by Dietmar Schwertberger 2001-04-10 22:07:43 +00:00
Makefile Updated version of RISCOS support. SF patch 411213 by Dietmar Schwertberger 2001-04-10 22:07:43 +00:00
README RISCOS files by dschwertberger 2001-03-02 05:58:11 +00:00
pyconfig.h Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
sleep.c Updated version of RISCOS support. SF patch 411213 by Dietmar Schwertberger 2001-04-10 22:07:43 +00:00
unixstuff.c RISCOS files by dschwertberger 2001-03-02 05:58:11 +00:00
unixstuff.h RISCOS files by dschwertberger 2001-03-02 05:58:11 +00:00

README

This directory contains files for the RISC OS port of Python.
For more information about RISC OS see http://www.riscos.com/ .

This port is currently being maintained by Dietmar Schwertberger,
dietmar@schwertberger.de .

On http://www.schwertberger.de you may find compiled versions and libraries
as well as RISC OS specific documentation and extensions.


==========================================================================
Compiling:

1. Extract Files from archive directory 'Python-...' to a directory named
   '!Python'.
2. Use a tool like Rename to change filenames from '*/[ch]' into '[ch].*'.
3. Create missing directories with 'amu cdirs'.
4. Build with 'amu'.

I've only tested Acorn C/C++ 5.06 and amu.


You will also need some additional libraries:

  DLK
    ftp://ftp.infc.ulst.ac.uk/pub/users/chris/
  OSLib
    http://www.mk-net.demon.co.uk/oslib
  
  zlib (optional)
    ftp://ftp.freesoftware.com/pub/infozip/zlib/
  sockets (optional)
    http://www.mirror.ac.uk/sites/ftp.acorn.co.uk/pub/riscos/releases/networking/tcpip/sockets.arc
  expat (optional)
    http://sourceforge.net/projects/expat/
    (makefile and config.h available from http://www.schwertberger.de/riscos_expat.zip