Samuele Kaplun added the comment:
Hi Giampaolo,
shouldn't then the 2nd option I was proposing (i.e. to call warning.warn) the
best behavior, given your explanation?
[...]
Warning messages are typically issued in situations where it is useful to alert
the user of some condition in a pr
Samuele Kaplun added the comment:
Thanks for looking into it.
Indeed that's the workaround I implemented in our application. On the other
hand it would be nice if either:
* the log_info method would print to stderr,
* would use warning.warn()
* would use the logging module to allow for
New submission from Samuele Kaplun :
The method "log_info" of the "dispatcher" class of the asyncore.py module, uses
print statement to print to stdout.
This lead to conflicts when asyncore is used within e.g. mod_wsgi, as writing
to stdout is not supposed to be valid.
-