[Patches] [ python-Patches-450266 ] OS/2 + EMX port - library changes

noreply@sourceforge.net noreply@sourceforge.net
Sat, 26 Jan 2002 21:56:23 -0800


Patches item #450266, was opened at 2001-08-12 04:26
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=450266&group_id=5470

Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Andrew I MacIntyre (aimacintyre)
Assigned to: Nobody/Anonymous (nobody)
Summary: OS/2 + EMX port - library changes

Initial Comment:
The attached patch contains the changes to the Lib directory in the sourc tree between Python 2.1.1 and the 
010812 release of the OS/2+EMX port.

It also includes an additional directory - Etc - which is home to a couple of example passwd/group files.  This 
directory can be dropped or relocated as appropriate.

An additional subdirectory of Lib is added - plat-os2emx.

The included os2path.py should probably be refactored into ntpath.py - suggestions/advice on this appreciated.

A couple of small changes to Lib/test - test_fcntl.py and test_longexp.py - to handle OS/2+EMX specific issues.

----------------------------------------------------------------------

>Comment By: Andrew I MacIntyre (aimacintyre)
Date: 2002-01-26 21:56

Message:
Logged In: YES 
user_id=250749

The 3 patches submitted (Lib/, Lib/plat-os2emx/, Lib/test/) are against CVS of 27Jan02.

The Lib patch implements the approach with os2emxpath.py discussed on python-dev. It also touches popen2.py to 
properly support the Win32 like popen[234]() support added to posixmodule.c.

I'm not sure whether several of the files in plat-os2emx (IN.py, SOCKET.py) are still needed, but they don't appear to don 
any harm.

The changes in the test suite are to cope with EMX platform issues:
- unless you have lots of real memory, test_longexp is likely to take the system down (malloc() behaviour issue)
- EMX's fcntl is only a partial implementation

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=450266&group_id=5470