[Zope-dev] bizarre slicing behaviour in Zope
Casey Duncan
casey at zope.com
Wed Dec 17 15:44:23 EST 2003
On Wed, 17 Dec 2003 15:30:50 -0500
Gerry Kirk <gerry at faithonline.com> wrote:
> try this in a script in zope 2.7b3 (maybe others, too) if you want to go
> crazy:
>
> dd = ('dd', 'diocese', 'Parish.2003-12-16.8636751973', 'bob',
> 'Workspace.2003-12-17.8140751750','gerry.2003-12-17.8140751750')
>
> return dd[4:]
>
> you should get the last two items from the tuple, but I get the last
> item returned as a string
>
> if i loop through the slice, it's ok. it seems to be a publishing problem.
>
> Gerry
Look at the title of the browser window to see the other item of the tuple.
Welcome to 2-tuple publication ;^)
-Casey
More information about the Zope-Dev
mailing list