Re: [Python-Dev] Implementing File Modes

July 30, 2009
4:37 p.m.
How would having a toggle function rely on a global setting? Each class would simply have its own member variable like "self.readsstderr." It's a moot point though as I've decided to use separate functions as you suggested. With separate functions, the user doesn't have to worry about modifying the mode keyword if stderr is needed and as an added bonus, it also makes the code a lot more readable. Eric
5686
Age (days ago)
5686
Last active (days ago)
0 comments
1 participants
participants (1)
-
Eric Pruitt