Correct me if I'm wrong but...

In Field.__getslice__, when 'start' is less than 0, pos0 is a string
but the function always tries to do 'int(pos0) + 1'
The function should also probably check if 'stop' is sys.maxint which
is what will be passed for things like [-4:]

Also, are there two __getitem__ functions on purpose? Maybe the first
one just needs to be removed.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to