[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
Re: Patch of x88.strl for newer Pythons
On Thu, Sep 11, 2003 at 12:25:46PM +0200, Aaron Bingham wrote:
> I was reviewing some experimental local changes and realized that I'd
> missed some important patches for recent Python versions. I've
> included both the patch and the patched files, since some people had
> trouble applying my original patch. The patch is relative to the
> original Green release.
>
> Aaron
>
> On Thu, Apr 10, 2003 at 03:31:20PM +0200, abingham wrote:
> > Hi,
> >
> > The behavior of str(longnum) seems to have changed between Python 1.5
> > (for which Pyxi was written) and Python 2.1. The result is that, with
> > newer Pythons, the least significant digit is clipped from each
> > component of the string representation of an Address. Pyxi fails
> > attempting to open the first document, since it requests the document
> > at '.....', which is of course nonesense.
> >
> > This patch fixes the problem for newer Pythons, while trying to be
> > backward compatible. I have not tested this with Python 1.5, though,
> > so be warned.
Good stuff. This should probably go on the Udanax website somewhere.
Mark, are you still maintaining the website or would you like me to do it?
Cheers,
Andrew
--
mailto:xanni@xxxxxxxxxx Andrew Pam
http://www.xanadu.com.au/ Chief Scientist, Xanadu
http://www.glasswings.com.au/ Technology Manager, Glass Wings
http://www.sericyb.com.au/ Manager, Serious Cybernetics