[Patches] [ python-Patches-661368 ] Add sysexits.h EX_* symbols to posix

noreply@sourceforge.net noreply@sourceforge.net
Thu, 02 Jan 2003 18:58:38 -0800


Patches item #661368, was opened at 2003-01-02 18:03
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=661368&group_id=5470

Category: Modules
Group: Python 2.3
Status: Open
Resolution: Accepted
Priority: 5
Submitted By: Barry A. Warsaw (bwarsaw)
Assigned to: Barry A. Warsaw (bwarsaw)
Summary: Add sysexits.h EX_* symbols to posix

Initial Comment:
The following patch adds the EX_* symbols to the posix
module (exposed through os of course).  These are
defined in sysexits.h.  Done this way since the list
can be (slightly) different depending on the OS.  This
patch includes configure updates to detect sysexits.h.

I'll update docs if it's approved for Py2.3.

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

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-01-02 21:58

Message:
Logged In: YES 
user_id=12800

The order is roughly the order found in Linux's sysexits.h,
which is in numerical order (there is one extra symbol found
in Solaris's sysexit.h that isn't in Linux's).

I'll work out doc updates before I commit.  Thanks for
looking at it.  The configure goo was because I didn't trim
my "cvs diff -u" output. ;)

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

Comment By: Martin v. Löwis (loewis)
Date: 2003-01-02 19:03

Message:
Logged In: YES 
user_id=21627

Never heard about sysexit.h... The patch looks fine, except
that the list of headers to test should be roughly in
alphabetical order (so that it is easier to spot
duplicates). Please apply it.

In general, there is no need to attach the generated
configure to SF bug reports, it will outdate quickly.

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

Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-01-02 18:46

Message:
Logged In: YES 
user_id=12800

I know all about this PITA, thought I had, guess I didn't. ;(

Trying again...

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

Comment By: Martin v. Löwis (loewis)
Date: 2003-01-02 18:15

Message:
Logged In: YES 
user_id=21627

There's no uploaded file!  You have to check the
checkbox labeled "Check to Upload & Attach File"
when you upload a file.

Please try again.

(This is a SourceForge annoyance that we can do
nothing about. :-( )

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

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