[Image-SIG] python 2.5 support for imaging 1.1.6

Jan Matejek jmatejek at suse.cz
Thu Mar 29 20:26:59 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
attached is a patch against 1.1.6 that makes Imaging work a little
better with python2.5 -  values returned from Py*_Length are trimmed to
INT_MAX and object methods now have correct signatures with Py_ssize_t.

I am not very sure about the value trimming. It's possible that it is
not necessary, at least in _imaging.c, although it certainly can't make
any harm.
(feel free to remove it anyway)

regards,
jan matejek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGDATzjBrWA+AvBr8RAteKAJkBgVA4MfLivcvxKRzaUhiA6A7NKQCdEuer
+XH05NkxLByTQkR8FbeGgYo=
=o1u1
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Imaging-1.1.6-ssize.patch
Type: text/x-patch
Size: 2991 bytes
Desc: not available
Url : http://mail.python.org/pipermail/image-sig/attachments/20070329/fa60f83a/attachment.bin 


More information about the Image-SIG mailing list