need design suggestions: local namespace problem

Brian Quinlan BrianQ at
Wed Oct 3 00:38:47 CEST 2001

> Some of these variables need to conditionally have different values
> I mentioned.  For example, exit status codes.  Under qmail,
> `ERR_HARD = 100', while under Sendmail, `ERR_HARD = 75'.

Why are you getting so fancy? Why can't you simply use:

if running_under_qmail:
	ERR_HARD = 100
	ERR_HARD = 75

Brian Quinlan
BrianQ at

More information about the Python-list mailing list