A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-June/025450.html below:

[Python-Dev] unicode() and its error argument

[Python-Dev] unicode() and its error argumentSkip Montanaro skip@pobox.com
Sun, 16 Jun 2002 09:15:35 -0500
    >> According to the docs if errors is set to "ignore", decoding errors
    >> are silently ignored.  I seem to still get the occasional
    >> UnicodeError exception, however.  

    mal> The error argument is passed on to the codec you request ... so if
    mal> you're seeing errors with 'ignore' then this is probably the result
    mal> of some problem in the codec.

Thanks.  I've been running my test program a lot the past couple of days.  I
think I squelched a couple bugs in my own code that may have been causing
the problem.  I thought it was because some non-string args were sneaking
into the call, but that appears not to be the case either (the error message
in that case is different than what I was seeing).  Tim's inability to
provoke errors was also suggestive that it was pilot error, not a problem
with the plane.

I'll keep my eye on things and let you know if anything else appears.

Skip

P.S.  Happy Father's Day all you dads out there.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4