Message67875
| Author |
benjamin.peterson |
| Recipients |
amaury.forgeotdarc, benjamin.peterson, christoph, davidfraser, georg.brandl, hodgestar, lemburg, pitrou |
| Date |
2008年06月09日.19:09:02 |
| SpamBayes Score |
0.0010048283 |
| Marked as misclassified |
No |
| Message-id |
<1afaf6160806091209r3dd93ca6ndb4ce088c0358d5a@mail.gmail.com> |
| In-reply-to |
<1213038297.19.0.294021763546.issue2517@psf.upfronthosting.co.za> |
| Content |
On Mon, Jun 9, 2008 at 2:04 PM, David Fraser <report@bugs.python.org> wrote:
>
> David Fraser <davidf@sjsoft.com> added the comment:
>
> So I've got a follow-up patch that adds tp_unicode.
> Caveat that I've never done anything like this before and it's almost
> certain to be wrong.
Unfortunately, adding a slot is a bit more complicated. You have to
deal with inheritance and such. Have a look in typeobject.c for all
the gory details. I'd recommend you write to python-dev before going
on the undertaking, though.
>
> It does however generate the desired result in this case :-)
>
> Added file: http://bugs.python.org/file10562/tp_unicode_exception.patch
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue2517>
> _______________________________________
> |
|