[Ironpython-users] attribute '__doc__' of 'partial' object is read-only

Andreas Beham andreas.beham at heuristiclab.com
Fri Mar 7 00:05:29 CET 2014


Hi,

I am using IronPython 2.7.4.

I removed the __doc__ assignment in the script and it worked. Unfortunately, I am not the owner of the script so it would be good if this bug was fixed. I will file a bug report then.

Regards,
Andreas

 Jeff Hardy <jdhardy at gmail.com> wrote:

>OnThu,Mar6,2014at11:28AM,AndreasBehamandreas.beham at heuristiclab.comwrote:Hi,IamexecutingapythonscriptinC#usingIronPythonandIamgettingthefollowingerrormessage:attribute'__doc__'of'partial'objectisread-onlyInoticedthatthishasalsobeenanissueofjythonandtherewasaticketwherethiswaschangedtoallowassignmentto__doc__.Theticketishere:http://bugs.jython.org/issue1730Iamnewtopython,butitseemsthiswasacpythoncompatibilitybuginjython.DoesthisalsoapplytoIronPython?Soundslikeabug,butIthoughtithadalreadybeenfixed-whichversionofIronPythonareyouusing?-Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20140307/007cecad/attachment.html>


More information about the Ironpython-users mailing list