Staging
v0.8.1
https://github.com/python/cpython
Revision af8d7a91da605656a7f57815c9176026de28f3b0 authored by Johannes Gijsbers on 09 January 2005, 00:39:06 UTC, committed by Johannes Gijsbers on 09 January 2005, 00:39:06 UTC
* Document hasFeature(), createDocument(), CreateDocumentType(),
  hasAttribute(), hasAttributeNS().

* In the documentation for createDocument(), it is now stated that the Python
  DOM API allows implementations to forego creation of the document element
  child node, if no namespace and local name arguments are given. (This
  possibility is left open and unaddressed in the W3C spec).

* Addition by me: use 'name' rather than 'attname', for consistency with the
  DOM specification and the Python DOM API implementation.
1 parent 45798bf
Raw File
Tip revision: af8d7a91da605656a7f57815c9176026de28f3b0 authored by Johannes Gijsbers on 09 January 2005, 00:39:06 UTC
Backport patch #1051321 (fixes bugs 1010196, 1013525), by Mike Brown:
Tip revision: af8d7a9
BeOS-NOTES
Python for BeOS R5

In Python-2.1, the standard version of the new setup.py program
will not build the full complement of modules on BeOS.  Instead,
please replace it with the special BeOS version in Misc/BeOS-setup.py.

To build,

   1)  cp Misc/BeOS-setup.py setup.py
   2)  ./configure --prefix=/boot/home/config
   3)  make

The modules will all build, except termios which assumes some flags
we don't have.  Put a libreadline.a in /boot/home/config/lib to get
a readline.so for your interactive editing convenience;  NB, not
libreadline.so, you want to link a static readline library into the
dynamically loaded Python module.

Test:

   make test

   The BeOS is Not UNIX category:
 - test_select crashed -- select.error : (-2147459072, 'Bad file descriptor')
 - test_socket crashed -- exceptions.AttributeError : SOCK_RAW
 - test_fcntl crashed -- exceptions.IOError: [Errno -2147483643] Invalid argument

   This one is funny!  BeOS does support large files, and that's why
       we get this error:  the file is too big for my filesystem!
 - test_largefile crashed -- exceptions.IOError: [Errno -2147459065]
       No space left on device

 - test_pickle crashed.  This is apparently a serious problem, "complex"
       number objects reconstructed from a pickle don't compare equal to
       their ancestors.  But it happens on BeOS PPC only, not Intel.

Install:

   make install


- Donn Cave (donn@oz.net)
  October 4, 2000
back to top