Re: Unicode docstrings in PyMethodDef?

2004-12-10 Thread "Martin v. Löwis"
Craig Ringer wrote: > For the use of anybody asking the same question later: There doesn't appear to be a nice way to make docstrings unicode, or not one I could find. I don't know whether you'ld consider it "nice": you need to put an __doc__ attribute into the function object. There is currently

Re: Unicode docstrings in PyMethodDef?

2004-12-10 Thread Craig Ringer
On Wed, 2004-12-08 at 13:43, Craig Ringer wrote: > Hi folks > > I'm currently working on a fairly well internationalised app that embeds > a Python intepreter. I'd like to make the docstrings translatable, but > am running into the issue that the translation function returns unicode > data. For t

Unicode docstrings in PyMethodDef?

2004-12-07 Thread Craig Ringer
Hi folks I'm currently working on a fairly well internationalised app that embeds a Python intepreter. I'd like to make the docstrings translatable, but am running into the issue that the translation function returns unicode data. Does anybody here know what encoding docstrings in PyMethodDef are