Even if you get past the number of arguments issue it seems that this will still throw NotImplemented. I'm tempted to think the good quick-fix is to completely remove b2a_qp from the binascii module and quopri will then detect that and fall back to some other behavior.
I've opened CodePlex bug #4928 (http://www.codeplex.com/WorkItem/List.aspx?ProjectName=IronPython) for the issue and set it as a 1.1 bug. Thanks for the report (and sorry for missing this one the 1st time). -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo Sent: Saturday, October 28, 2006 11:51 PM To: Discussion of IronPython Subject: Re: [IronPython] quopri module 2006/10/14, Sanghyeon Seo <[EMAIL PROTECTED]>: > CPython > >>> import quopri > >>> quopri.encodestring('=') > '=3D' > > IronPython > >>> import quopri > >>> quopri.encodestring('=') > Traceback (most recent call last): > File quopri, line unknown, in encodestring > TypeError: b2a_qp() takes exactly 4 non-keyword arguments (1 given) > > Found while trying to run SOAPpy (http://pywebsvcs.sourceforge.net/). > Easy enough to workaround, but I'd rather not. Follow up on this? -- Seo Sanghyeon _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
