Re: [Zope] Zope support through the community
Itai Tavor writes:
Yeah, and it also breaks the code of everyone who adopted Tino's patch, unless we continue to update and apply the patch even after DC's fix is in. When I read the proposal, I had the impression that "prefix=sequence" would (almost) be equivalent to Tino's solution. Only exception: "first-XXX" and friends; they become mapping objects.
Dieter
Dieter Maurer wrote:
Itai Tavor writes:
Yeah, and it also breaks the code of everyone who adopted Tino's patch, unless we continue to update and apply the patch even after DC's fix is in. When I read the proposal, I had the impression that "prefix=sequence" would (almost) be equivalent to Tino's solution. Only exception: "first-XXX" and friends; they become mapping objects.
Dieter
I believe you're right. But it would still require adding prefix=sequence to any dtml-in loop that uses sequence_xxx, which could be hard in live applications and would require extensive retesting. Also, I'm not sure about the effect of first-xxx becoming mapping, but couldn't that require code changes? -- -- Itai Tavor -- "Je sautille, donc je suis." -- itai@optusnet.com.au -- - Kermit the Frog -- -- -- -- "If you haven't got your health, you haven't got anything" --
Itai Tavor writes:
I believe you're right. But it would still require adding prefix=sequence to any dtml-in loop that uses sequence_xxx, which could be hard in live applications and would require extensive retesting. I can imagine a small "hotfix-type" product that lets believe the "in" to always have a "prefix" attribute, either an explicit one or a default "prefix=sequence".
Also, I'm not sure about the effect of first-xxx becoming mapping, but couldn't that require code changes? It could. But, in my opinion, these constructs are used only rarely.
Dieter
participants (2)
-
Dieter Maurer -
Itai Tavor