rpms/python/devel python-2.5-fix-invalid-assert.patch, NONE, 1.1 python.spec, 1.98, 1.99
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Dec 13 18:16:07 UTC 2006
- Previous message (by thread): rpms/kernel/devel/configs config-generic,1.273,1.274
- Next message (by thread): rpms/device-mapper-multipath/devel .cvsignore, 1.12, 1.13 device-mapper-multipath.spec, 1.35, 1.36 sources, 1.13, 1.14 multipath-tools-0.4.7.4-badptr.patch, 1.1, NONE multipath-tools-0.4.7.4-uint64.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jwilson
Update of /cvs/dist/rpms/python/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv17563
Modified Files:
python.spec
Added Files:
python-2.5-fix-invalid-assert.patch
Log Message:
fix invalid assert in debug mode (upstream changeset 52622) -- required for numpy build against python 2.5
python-2.5-fix-invalid-assert.patch:
Lib/test/test_grammar.py | 1 +
Python/ast.c | 1 +
2 files changed, 2 insertions(+)
--- NEW FILE python-2.5-fix-invalid-assert.patch ---
diff -urp Python-2.5/Lib/test/test_grammar.py Python-2.5-fixes/Lib/test/test_grammar.py
--- Python-2.5/Lib/test/test_grammar.py 2006-09-04 23:56:01.000000000 -0400
+++ Python-2.5-fixes/Lib/test/test_grammar.py 2006-12-13 12:38:03.000000000 -0500
@@ -709,6 +709,7 @@ x = {'one': 1, 'two': 2, 'three': 3, 'fo
x = `x`
x = `1 or 2 or 3`
+x = `1,2`
x = x
x = 'x'
x = 123
diff -urp Python-2.5/Python/ast.c Python-2.5-fixes/Python/ast.c
--- Python-2.5/Python/ast.c 2006-09-04 23:56:01.000000000 -0400
+++ Python-2.5-fixes/Python/ast.c 2006-12-13 12:39:30.000000000 -0500
@@ -538,6 +538,7 @@ seq_for_testlist(struct compiling *c, co
|| TYPE(n) == listmaker
|| TYPE(n) == testlist_gexp
|| TYPE(n) == testlist_safe
+ || TYPE(n) == testlist1
);
seq = asdl_seq_new((NCH(n) + 1) / 2, c->c_arena);
Index: python.spec
===================================================================
RCS file: /cvs/dist/rpms/python/devel/python.spec,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- python.spec 12 Dec 2006 15:54:31 -0000 1.98
+++ python.spec 13 Dec 2006 18:16:04 -0000 1.99
@@ -21,7 +21,7 @@
Name: %{python}
#Version: %{pybasever}.3
Version: 2.5
-Release: 4%{?dist}
+Release: 5%{?dist}
License: Python Software Foundation License v2
Group: Development/Languages
Provides: python-abi = %{pybasever}
@@ -38,6 +38,7 @@
# upstreamed
Patch25: python-syslog-fail-noatexittb.patch
+Patch26: python-2.5-fix-invalid-assert.patch
# disable egg-infos for now
Patch50: python-2.5-disable-egginfo.patch
@@ -163,6 +164,7 @@
%patch5 -p1 -b .cflags
%patch6 -p1 -b .db45
%patch25 -p1 -b .syslog-atexit
+%patch26 -p1 -b .invalid-assert
%patch50 -p1 -b .egginfo
@@ -414,6 +416,9 @@
%{_libdir}/python%{pybasever}/lib-dynload/_tkinter.so
%changelog
+* Wed Dec 13 2006 Jarod Wilson <jwilson at redhat.com> - 2.5.3-5
+- fix invalid assert in debug mode (upstream changeset 52622)
+
* Tue Dec 12 2006 Jeremy Katz <katzj at redhat.com> - 2.5.3-4
- obsolete/provide python-ctypes (#219256)
- Previous message (by thread): rpms/kernel/devel/configs config-generic,1.273,1.274
- Next message (by thread): rpms/device-mapper-multipath/devel .cvsignore, 1.12, 1.13 device-mapper-multipath.spec, 1.35, 1.36 sources, 1.13, 1.14 multipath-tools-0.4.7.4-badptr.patch, 1.1, NONE multipath-tools-0.4.7.4-uint64.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list