Re: [Zope-dev] Re: TALES idea: tuple unpacking

2003-07-30 Thread Jim Penny
On Wed, 30 Jul 2003 12:13:41 -0500 Evan Simpson [EMAIL PROTECTED] wrote: Jim Penny wrote: Well, that is exactly why it will be more confusing to everyone. A python programmer is not expecting them to be different, and a non-programmer has no idea of what keys and indices are, much less

Re: [Zope-dev] Re: TALES idea: tuple unpacking

2003-07-30 Thread Jim Penny
elements. A better name would be welcome :-) Hmm, maybe 'decorated path'. I am worried that prefix, postfix, and infix already have meaning, and this is more an infix language than a prefix language. But, I lost on 'snake thingy', so I will lose here to :-( Jim Penny

Re: [Zope-dev] Re: TALES idea: tuple unpacking

2003-07-29 Thread Jim Penny
created, and on the other hand, that he is no longer there to consult/hand work off to when a simple expression is needed. Jim Penny ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] Re: TALES idea: tuple unpacking

2003-07-29 Thread Jim Penny
, in that they use different syntax for something that python conflates syntactically. That is, an integer indexed reference looks exactly like a string indexed reference, both have form structure[key]. Jim Penny ___ Zope-Dev maillist - [EMAIL PROTECTED] http

Re: [Zope-dev] Re: TALES idea: tuple unpacking

2003-07-29 Thread Jim Penny
On Tue, 29 Jul 2003 17:04:46 -0500 Evan Simpson [EMAIL PROTECTED] wrote: Jim Penny wrote: But, what does all of this have to do with index:, key:, int:, etc.? index: and key: are particularly interesting, in that they use different syntax for something that python conflates syntactically

Re: [Zope-dev] Re: TALES idea: tuple unpacking

2003-07-29 Thread Jim Penny
On Tue, 29 Jul 2003 17:51:56 -0400 Shane Hathaway [EMAIL PROTECTED] wrote: Jim Penny wrote: Frankly, would not even have occurred to me - I would probably create a tiny Script (Python) en passant, and called it directly, as:a tal:attributes=href python: here.url_quote(some_url) /. I did

Re: [Zope-dev] Re: TALES idea: tuple unpacking

2003-07-23 Thread Jim Penny
to overused for this. If you must, why not index: ? Jim Penny format: -- Perform simple formatting operations like format:money zope: -- Access a big Zope API It sure would be nice to have these prefixes, both in Zope 2 and Zope 3. Shane

Re: [Zope-dev] Zope RPMs/debs and Linux FHS

2002-10-14 Thread Jim Penny
zope under debian, which points people to the normal repositories; or alternatively, there is no reason that zope.org cannot mirror debian's zope and related packages. Jim Penny ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

Re: [Zope-dev] Some Zope distributions are missing Data.fs.in

2002-09-11 Thread Jim Penny
is in /var/lib/zope/Data.fs.in. As part of the postinst, it is copied to /var/lib/zope/var. Jim Penny ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-dev] A Modest Proposal Concerning Monkey Patches

2002-08-14 Thread Jim Penny
that monkeypatch manage_main as well, building a nice mutual destruction club. Jim Penny PS: I would also like to hear general responses to Jerome's proposal. Clearly this was not an API, no arguments have been specified. But is there a general consensus that this is a reasonable thing to do? Please

[Zope-dev] A Modest Proposal Concerning Monkey Patches

2002-08-13 Thread Jim Penny
that z2.py is modified so that it clears out $(INSTANCE_HOME)/tmp on each start. It might be also be a good idea to keep a section of comments at the top of the monkeypatch file showing the history of monkeypatch application. Comments? Jim Penny ___ Zope

Re: [Zope-dev] multiple monkeypatches

2002-06-05 Thread Jim Penny
On Wed, Jun 05, 2002 at 10:51:45PM +0100, Adrian Hungate wrote: PatchKit handles this for you (If you ask it to). :) Adrian... I am not sure that I understand. I need to be able to do a cumulative monkey patch. Suppose that there were two independent products which both modified

[Zope-dev] multiple monkeypatches

2002-06-04 Thread Jim Penny
be natural for it to monkeypatch this same object. But, if it does so, whichever monkeypatch is applied last will destroy the previous. Any ideas on a reasonably simple way to solve this problem. Thanks Jim Penny ___ Zope-Dev maillist - [EMAIL PROTECTED

Re: [Zope-dev] Re: [ZPT] Order of attribute execution Feature Request

2002-05-13 Thread Jim Penny
On Sat, May 11, 2002 at 02:55:23PM +, Florent Guillaume wrote: Jim Penny [EMAIL PROTECTED] wrote: I also have not found a convention that I am comfortable with on handling check-boxes and radio buttons in error processing. But I expect to! Are you referring to what I call magic

Re: [Zope-dev] Re: [ZPT] Order of attribute execution Feature Request

2002-05-13 Thread Jim Penny
On Mon, May 13, 2002 at 03:32:21PM -0400, Shane Hathaway wrote: Florent Guillaume wrote: Jim Penny [EMAIL PROTECTED] wrote: Are you referring to what I call magic boolean attributes ? http://lists.zope.org/pipermail/zpt/2002-March/003013.html Yes, thanks very much, this is very

Re: [Zope-dev] Re: [ZPT] Order of attribute execution Feature Request

2002-05-10 Thread Jim Penny
On Fri, May 10, 2002 at 11:53:47AM +0100, Chris Withers wrote: Jim Penny wrote: on the surface, to be pretty ugly. I have said that there are three specific things I dislike about ZPT -- 0) lots of things have changed spelling again -- request v. REQUEST, here v. context v. container

Re: Support for X-HTTPD-FORWARDED-FOR Re: [Zope-dev] Speaking of 2.6...

2002-04-10 Thread Jim Penny
, without modifying either Zope or Apache. Jim Penny TCP spoofing OTOH is far more complicated, if (does it?) zope turns off the source routing option when replying, if present. IMO something like cracking a router or predicting sequence numbers is another level from adding a custom http

Re: [Zope-dev] Moving forward on Zope 2.6

2002-03-20 Thread Jim Penny
On Wed, Mar 20, 2002 at 07:01:13PM +0100, Lennart Regebro wrote: From: Jim Penny [EMAIL PROTECTED] I now have two kinds of administrators, and two kinds of users. An interesting case. If I understand it correctly, with our workgroups scheme,the restricted administrators would have

Re: [Zope-dev] Moving forward on Zope 2.6

2002-03-19 Thread Jim Penny
of the legal exposure) can be shifted back to the Brand Owner. Jim Penny Best Regards Lennart Regebro Torped Strategi och Kommunikation AB ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] Benchmarks: DTML vs. ZPT?

2002-02-08 Thread Jim Penny
. And this would give a common baseline.) Jim Penny ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope

Re: [Zope-dev] Vulnerability: attacking can get file list and directory

2001-09-24 Thread Jim Penny
, it would probably be desirable to have some sort of per folder property in which the proper contact(s) could be listed.] Jim Penny Shane ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

[Zope-dev] removal of User Folders

2001-09-24 Thread Jim Penny
Is there some function that is called when a User Folder is removed? If so, what is it? If not, is there a recommended way to delete users, any information stored about the User Folder's configuration, etc.? Thanks. Jim Penny ___ Zope-Dev maillist

Re: [Zope-dev] ZPL and GPL licensing issues

2001-06-21 Thread Jim Penny
On Thu, Jun 21, 2001 at 12:28:01PM +0200, Nils Kassube wrote: * Jim Penny [EMAIL PROTECTED] [2001-06-20 19:12]: As far as I can tell you are wrong, but there are certainly gray areas. The last time this came up I wrote such a scenario up and tried to get FSF clarification. Nothing

Re: [Zope-dev] ZPL and GPL licensing issues

2001-06-21 Thread Jim Penny
On Thu, Jun 21, 2001 at 05:18:40PM +0200, Federico Di Gregorio wrote: On 21 Jun 2001 11:08:30 -0400, Jim Penny wrote: [snip] OK, consider this from another point of view. If I have an operating system may I install a piece of GPL software on the operating system? May I redistribute

Re: [Zope-dev] ZPL and GPL licensing issues

2001-06-21 Thread Jim Penny
err, no. if you write an external module using only python code, as long as you use a gpl-compatible python to run zope, you can call your external code from zope. if you write a product suclassing dc code, you're effectively 'linking' and gpl limitations apply. GPL limitations

Re: [Zope-dev] Using db_connections from Zope products

2001-06-20 Thread Jim Penny
of the results object is http://www.zope.org/Members/spinwing/ZSQL_Results You might also look at the somewhat dated http://www.zope.org/Members/jpenny/Accessing_a_ZSQL_Method_from_an_External_Method This would work from Script (Python), as well. Jim Penny Thanks, Tom Brown [EMAIL PROTECTED

Re: [Zope-dev] ZPL and GPL licensing issues

2001-06-20 Thread Jim Penny
On Wed, Jun 20, 2001 at 08:05:43PM +0200, Gregor Hoffleit wrote: On Wed, Jun 20, 2001 at 01:12:20PM -0400, Jim Penny wrote: It appears to me, that, if you want to play it safe, you would not distribute the code under license G and license T on the same medium. It is certainly acceptable

Re: [Zope-dev] RDBM Connections per User

2001-06-05 Thread Jim Penny
that can be summarized as put all your eggs in one basket - and watch that basket carefully. In general, I support defense in depth, but my experience with users is that they simply do not help you with security. For the same reason, I will not give any users accounts on my firewall.] Jim Penny

[Zope-dev] usability bug concerning database connections?

2001-02-22 Thread Jim Penny
to have some indicator for the broken status of the ZSQL methods. Just a small bug report :-) Jan Seconded, and it would be really nice to be able to search by connection ID! Then if you were changing DA's, you could find the ones that needed to be changed rather than waiting for breakage. Jim