W liście Christoph Haas z dnia wtorek 04 sierpnia 2009:
> Does anyone have an explanation why foo.__repr__() and repr(foo) makes such
> a difference here? Hints welcome.

Shouldn't repr return plain string, not unicode one? When calling .__repr__() 
directly you just call a method directly. When called by repr() some ipython 
magic happens, which expects __repr__ to return a string.

-- 
Paweł Stradomski


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to