Ismail Donmez added the comment:
Neal,
I'll try to answer your questions one by one, first with _csv.c compiler
issues :
Modules/_csv.c:969: warning: assuming signed overflow does not occur
when simplifying conditional to constant
There is a check inside loop like this:
if (c == '\0')
break;
Instead of this if we do the check in the for :
+ for (i = 0; i < strlen(field) ; i++) {
and remove the if check compiler no longer issues a warning also csv
test passes with this. Attached patch implements this optimization.
Guido, you don't have to shout, you know noone pays me per python
bugreport I create :)
Added file: http://bugs.python.org/file9307/csv.patch
__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1621>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com