cpython/RISCOS
Guido van Rossum bea18ccde6 SF patch 568629 by Oren Tirosh: types made callable.
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]
2002-06-14 20:41:17 +00:00
..
Modules Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
Python Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
support SF patch #474590 -- RISC OS support 2001-10-24 20:13:15 +00:00
Makefile SF patch 568629 by Oren Tirosh: types made callable. 2002-06-14 20:41:17 +00:00
README SF patch #474590 -- RISC OS support 2001-10-24 20:13:15 +00:00
pyconfig.h Patch #568235: Add posix.setpgid. 2002-06-13 21:09:11 +00:00
sleep.c SF patch #474590 -- RISC OS support 2001-10-24 20:13:15 +00:00
unixstuff.c SF patch #474590 -- RISC OS support 2001-10-24 20:13:15 +00:00
unixstuff.h SF patch #474590 -- RISC OS support 2001-10-24 20:13:15 +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/Norcroft C/C++ 5.30 and amu.

Python now uses the 32 bit libraries from Pace as well as the 32 bit
version of OSLib.

You will also need some additional libraries:

  DLK (patched version)
    http://www.schwertberger.de
  OSLib
    http://www.mk-net.demon.co.uk/oslib
  
  zlib (optional)
    ftp://ftp.freesoftware.com/pub/infozip/zlib/
  expat (optional)
    http://sourceforge.net/projects/expat/
    (makefile and config.h available from http://www.schwertberger.de/riscos_expat.zip