Overloading the "and" operator

2005-03-12 Thread Fredrik Bertilsson
I am trying to overload the "and" operatior, but my __and__ method is never called. The code look like this: class Filter: column = "" operator = "" value = "" def __init__(self, col, op, val): self.column = col self.operator = op

Apache restart after source changes

2013-12-25 Thread Fredrik Bertilsson
I am evaluating Python for web development and just found out that I need to restart Apache after source changes on windows. Using linux the situation is better but I still have to touch the wsgi file. Is it only me that finds this being a major drawback compared to PHP? -- https://mail.python.

Re: Apache restart after source changes

2013-12-25 Thread Fredrik Bertilsson
> Also, it's not a python issue, it's an issue with your particular > stack. Other stacks do automatic reloading (for example, the web > server that Django uses). Which web server do you suggest instead of Apache, which doesn't have this problem? (I am not planning to use Django) -- https://mail