Message29748
Logged In: YES
user_id=357491
This is because exceptions now define a proper __unicode__()
method in the PyMethodDef array. This is what gets called
and it requires an exception instance. Before it just fell
through to the tp_str slot and that didn't complain.
Unless some knows a better way (short of defining a
tp_unicode slot), the only way to make this work would be to
rip out the __unicode__() method. This would then require
the function in the tp_str slot to have to detect if its
arguments need to be Unicode or not (and I don't know how to
do that off the top of my head; is their a PyUnicode_Check()?). |
|
Date |
User |
Action |
Args |
2007-08-23 14:42:30 | admin | link | issue1551432 messages |
2007-08-23 14:42:30 | admin | create | |
|