[Twisted-Python] Unicode

Mary Gardiner mary-twisted at puzzling.org
Mon Oct 3 21:11:02 EDT 2005


On Mon, Oct 03, 2005, Jp Calderone wrote:
> On Mon, 03 Oct 2005 18:19:44 -0600, Ken Kinder <ken at kenkinder.com> wrote:
> >The purpose of Python's unicode type is transparent exchange of string
> >objects, whether those string objects are of type str or type unicode.
> >Pretending that isn't so and raising a TypeError is not helpful. I would
> >urge you to AT LEAST provide a detailed explanation in that error,
> >explaining the philosophical disagreement you have with Python's
> >unicode-string conversion behavior and have a flag you can set to
> >disable that check.
> >
> 
> An explanation is more likely to be provided if there is a ticket for such. 
> If it's important to you, <http://www.twistedmatrix.com/bugs/> .  Thanks :)

See also
http://twistedmatrix.com/projects/core/documentation/howto/faq.html#auto25
-- I guess this link could be provided with the exception, although I've
never seen exceptions come with URLs before. More likely it should go in
a comment where the exception is raised.

-Mary




More information about the Twisted-Python mailing list