Renaming sequence-item to sequence_item.
I know there was some discussion a while back on the list about renaming sequence-item to sequence_item to avoid the pitfalls associated with the hyphen. I haven't seen it mentioned in a while. Were any conclusions ever come to, regarding this? If there is a reason why it shouldn't be done, would anyone like to share it? If not, I might be able to find the time to come up with the appropriate patches to 2.1.2. --Jeff --- Jeff K. Hoffman 704.849.0731 x108 Chief Technology Officer mailto:jeff@goingv.com Going Virtual, L.L.C. http://www.goingv.com/
On Tue, 18 Jan 2000, Jeff K. Hoffman wrote:
I know there was some discussion a while back on the list about renaming sequence-item to sequence_item to avoid the pitfalls associated with the hyphen. I haven't seen it mentioned in a while. Were any conclusions ever come to, regarding this?
If there is a reason why it shouldn't be done, would anyone like to share it? If not, I might be able to find the time to come up with the appropriate patches to 2.1.2.
I've submitted a patch to the Collector. I don't know if it has been forgotten, or if DC want to do it properly :-) It will be in the zope-dev archives somewhere - I'd do a search but boring meetings call... -- ___ // Zen (alias Stuart Bishop) Work: zen@cs.rmit.edu.au // E N Senior Systems Alchemist Play: zen@shangri-la.dropbear.id.au //__ Computer Science, RMIT WWW: http://www.cs.rmit.edu.au/~zen
Renaming it might be a bit of a blow to people, like me, who use it with it's currrent name. Adding sequence_item as a synonym of sequence-item would probably be better. Phil ----- Original Message ----- From: "Stuart 'Zen' Bishop" <zen@cs.rmit.edu.au> To: "Jeff K. Hoffman" <jeff@goingv.com> Cc: <zope@zope.org> Sent: Tuesday, January 18, 2000 11:40 PM Subject: Re: [Zope] Renaming sequence-item to sequence_item.
On Tue, 18 Jan 2000, Jeff K. Hoffman wrote:
I know there was some discussion a while back on the list about renaming sequence-item to sequence_item to avoid the pitfalls associated with the hyphen. I haven't seen it mentioned in a while. Were any conclusions ever come to, regarding this?
If there is a reason why it shouldn't be done, would anyone like to share it? If not, I might be able to find the time to come up with the appropriate patches to 2.1.2.
I've submitted a patch to the Collector. I don't know if it has been forgotten, or if DC want to do it properly :-)
It will be in the zope-dev archives somewhere - I'd do a search but boring meetings call...
-- ___ // Zen (alias Stuart Bishop) Work: zen@cs.rmit.edu.au // E N Senior Systems Alchemist Play: zen@shangri-la.dropbear.id.au //__ Computer Science, RMIT WWW: http://www.cs.rmit.edu.au/~zen
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Tue, 18 Jan 2000, Phil Harris wrote:
Renaming it might be a bit of a blow to people, like me, who use it with it's currrent name.
Adding sequence_item as a synonym of sequence-item would probably be better.
Yer - thats what it did. I wrapped the namespace used by the dtml-in tag in a class that simply detected when variables with a hyphen were inserted, and stored a second copy with an underscore. Seemed to work, but it was a quick hack. I'm not actually using it myself, as I like to work with production Zope so my code is releasable :-) Now that my boring meeting is over, here is the relevant URL: http://lists.zope.org/pipermail/zope-dev/1999-November/002167.html -- ___ // Zen (alias Stuart Bishop) Work: zen@cs.rmit.edu.au // E N Senior Systems Alchemist Play: zen@shangri-la.dropbear.id.au //__ Computer Science, RMIT WWW: http://www.cs.rmit.edu.au/~zen
On Tue, 18 Jan 2000, Phil Harris wrote:
Renaming it might be a bit of a blow to people, like me, who use it with it's currrent name.
Adding sequence_item as a synonym of sequence-item would probably be better.
Certainly. Sorry I didn't make that more clear in my post; I would never consider breaking all existing Zope products that use the hyphenated forms. Simply deprecating it in favor of the new usage would be fine, I think.
Phil
--Jeff --- Jeff K. Hoffman 704.849.0731 x108 Chief Technology Officer mailto:jeff@goingv.com Going Virtual, L.L.C. http://www.goingv.com/
participants (3)
-
Jeff K. Hoffman -
Phil Harris -
Stuart 'Zen' Bishop