11 Dec
2002
11 Dec
'02
5:09 p.m.
I spoke too soon. UnicodeEncodeError is a subclass of ValueError. So catching ValueError from int(str_or_unicode) is the way to go. Who's writing that Zope 3 style guide again?
Great. http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/ZopePythonS... -- Steve Alexander