[Zope] slicing ZTUtils.Batch

Jordan Baker jbb@contradix.com
Thu, 5 Jun 2003 00:30:18 -0400


Hi I'm writing some somewhat convoluted ZPT that should work tho,

<tr tal:repeat="row python:range(2)">
	<td align="center" tal:repeat="plate python:plates[row * 2:(row
* 2) + 2]">
		FORMAT CONTENT
	</td>
</tr>

Zope is giving me an error complaining about a missing __getslice__

I was thinking about writing one but then I found out that __getslice__
is deprecated in newer versions of Python.

What's the deal here??

TIA,

Jordan Baker
Contradix Corporation
"Holistic IT Solutions"