need design suggestions: local namespace problem

Cliff Wells logiplexsoftware at earthlink.net
Tue Oct 2 18:59:45 EDT 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