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/2008-June/080223.html below:

[Python-Dev] Exception.__unicode__ and tp_unicode

[Python-Dev] Exception.__unicode__ and tp_unicode [Python-Dev] Exception.__unicode__ and tp_unicodeSimon Cross hodgestar+pythondev at gmail.com
Wed Jun 11 13:56:31 CEST 2008
On Wed, Jun 11, 2008 at 11:34 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> 4) Fix PyObject_Unicode to not retrieve __unicode__ from new-style
> instances, and instead only look for the method on their types (similar to
> the way PyObject_Format looks up the __format__ method).

Thanks for the suggestion Nick. I've added a patch which implements it
to the bug.

Schiavo
Simon
More information about the Python-Dev mailing list

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