need design suggestions: local namespace problem

Cliff Wells logiplexsoftware at earthlink.net
Wed Oct 3 00:59:45 CEST 2001


On Tuesday 02 October 2001 15:38, Brian Quinlan wrote:

> Why are you getting so fancy? Why can't you simply use:
>
> if running_under_qmail:
> 	ERR_HARD = 100
> else:
> 	ERR_HARD = 75

What if he needs to support another mail package?  Go through 10,000 lines of 
code looking for every occurrence of running_under_qmail and add another 
condition?

-- 
Cliff Wells
Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308
(800) 735-0555 x308




More information about the Python-list mailing list