rpms/python-genshi/devel python-genshi-0.5.1-length_hint.patch, 1.1, 1.2
Luke Macken
lmacken at fedoraproject.org
Fri Sep 11 21:07:36 UTC 2009
- Previous message (by thread): rpms/bugzilla/devel .cvsignore, 1.14, 1.15 bugzilla.spec, 1.30, 1.31 sources, 1.14, 1.15
- Next message (by thread): rpms/selinux-policy/devel policy-F12.patch, 1.78, 1.79 selinux-policy.spec, 1.916, 1.917
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: lmacken
Update of /cvs/pkgs/rpms/python-genshi/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24625
Modified Files:
python-genshi-0.5.1-length_hint.patch
Log Message:
Simplify our patch, and make it closer to the old behavior of the object
python-genshi-0.5.1-length_hint.patch:
eval.py | 5 +++++
1 file changed, 5 insertions(+)
Index: python-genshi-0.5.1-length_hint.patch
===================================================================
RCS file: /cvs/pkgs/rpms/python-genshi/devel/python-genshi-0.5.1-length_hint.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- python-genshi-0.5.1-length_hint.patch 11 Sep 2009 20:44:02 -0000 1.1
+++ python-genshi-0.5.1-length_hint.patch 11 Sep 2009 21:07:34 -0000 1.2
@@ -7,7 +7,7 @@
+ # Hack around some behavior introduced after Python2.6.
+ # http://bugs.python.org/issue1242657
+ # http://svn.python.org/view/python/trunk/Lib/test/test_iterlen.py?r1=69227&r2=69226&pathrev=69227
-+ __length_hint__ = lambda: 0
++ __length_hint__ = None
+
class LookupBase(object):
- Previous message (by thread): rpms/bugzilla/devel .cvsignore, 1.14, 1.15 bugzilla.spec, 1.30, 1.31 sources, 1.14, 1.15
- Next message (by thread): rpms/selinux-policy/devel policy-F12.patch, 1.78, 1.79 selinux-policy.spec, 1.916, 1.917
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list