wrapper classes question..

2005-02-09 Thread vegetax
Hi i made a wrapper class for handling file and dir operations and i wonder,  whats the performance penalty for making such wrapper classes? is it ok to make a lot of these wrappers? here it is: # import os class File(object): #access modes F_OK = os.F_OK, W_OK = os.

wrapper classes question

2005-02-09 Thread vegetax
Hi i made a wrapper class for handling file and dir operations and i wonder, whats the performance penalty for making such wrapper classes? here it is: ## import os class File(object): #access modes F_OK = os.F_OK, W_OK = os.W_OK, R_OK = os.R_OK,