Hi,

the new version 0.9.2b1 added a try except block around the conversion
to unicode of the query in mysqlconnection.py:

    if self.need_unicode and not isinstance(query, unicode):
        try:
            query = unicode(query, self.encoding)
        except UnicodeError:
            pass

In which case is it necessary that the UnicodeError is silently
ignored?  Isn't it dangerous and misleading to swallow such an
exception?

Kind regards,
Markus

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to