need design suggestions: local namespace problem
Brian Quinlan
BrianQ at ActiveState.com
Tue Oct 2 18:38:47 EDT 2001
More information about the Python-list mailing list
Tue Oct 2 18:38:47 EDT 2001
- Previous message (by thread): need design suggestions: local namespace problem
- Next message (by thread): need design suggestions: local namespace problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Some of these variables need to conditionally have different values as > 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 else: ERR_HARD = 75 -- Brian Quinlan BrianQ at ActiveState.com
- Previous message (by thread): need design suggestions: local namespace problem
- Next message (by thread): need design suggestions: local namespace problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list