Re: Mysqldb & stderr

2007-10-01 Thread jean-michel bain-cornu
Hi, > developing a daemon (using python 2.4 and mysqldb 1.2.1_p2) we notes > that mysqldb class write on stderr some warnings and error > asyncronously (uhmmm it's good written? ;P ). > > Someone knows how stop write on stderr (and stdout) on mysqldb? I use warnings filter : ...

Mysqldb & stderr

2007-09-27 Thread mastro . francesco
developing a daemon (using python 2.4 and mysqldb 1.2.1_p2) we notes that mysqldb class write on stderr some warnings and error asyncronously (uhmmm it's good written? ;P ). If stderr is closed these function raise up an I/O error (obviously). We spent a lot of time to understand for now we red