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

2003-07-30 Thread Jim Penny
' refers to the syntax, not the operations. In my source code > comments, I refer to "prefixed path 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 in

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 o

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:. I > > did not realize

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 some

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

2003-07-29 Thread Jim Penny
rous ways. snip > > > To me, that's a vast improvment, and it's only one example. > 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

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

2003-07-29 Thread Jim Penny
a really non-standard syntax. And, the syntax depends on having some python programmer create the dictionaries or sequences that are being referenced. That to me, is the fatal flaw. It is hard to argue, on one hand, that a python programmer is available to you whenever you need a sequence created, an

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

2003-07-23 Thread Jim Penny
like a typecast of some kind, int is way 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 thes

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

2002-10-14 Thread Jim Penny
e that there be a robust ZOPE_HOME2 into which one puts local products and products not installed via .debs (probably /usr/local/lib/zope/python/Products, although the python may not be needed). Jim Penny > > Distro maintainer like SuSE doing that this way. > > Regards, >

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

2002-10-14 Thread Jim Penny
e is no reason that zope.org cannot have a short paragraph or two on installing 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 __

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

2002-09-11 Thread Jim Penny
orrect. Data.fs.in 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 encodi

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

2002-08-14 Thread Jim Penny
g on the order in which zope installs products on startup. There are several other products 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 argument

[Zope-dev] A Modest Proposal Concerning Monkey Patches

2002-08-13 Thread Jim Penny
is assumes 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?

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
ld 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 PROT

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

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! >

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.

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

2002-04-10 Thread Jim Penny
the URL distinguishable. In this way, you can use one of the BASE or URL variables to determine how the person got in. This gives you pretty much the same level of control (especially if you are worried only about internal/external) as using IP addresses, without modifying either Zope or Apache.

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 > schem

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

2002-03-19 Thread Jim Penny
ill not be able to properly control the set of Restricted Users (at Brand Owners and Contractors). Failure to do so could lead to legal exposure, so by creating Restricted Administrators who are Brand Owners, the contrl (and thus most of the legal exposure) can be shifted back to the Brand O

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

2002-02-08 Thread Jim Penny
ut I think this might be useful information for a Zope architect. 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! ** (Re

[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 mai

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

2001-09-24 Thread Jim Penny
icular error in question. [And it might be really nice if errors were emailed to an administrator, as well as logged. If this is done, 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 > >

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. > > > > G

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

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 > >

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 > > med

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

2001-06-20 Thread Jim Penny
On Wed, Jun 20, 2001 at 09:56:23AM -0700, Tom Brown wrote: > Thanks fo the info! I had seen those How-Tos... but > was really asking.. How can I use APIs directly > instead of having an External ZSQL method. I have > created a product and would like to be able to do sql > queries in order to pop

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

2001-06-20 Thread Jim Penny
s, this comes down to a simple question: "Are you trying to be excellent unto them", or are you trying to "use slash and burn agriculture". If you are using, improving, giving feedback, writing documentation, helping pub

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

2001-06-20 Thread Jim Penny
s object. A good overview 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 >

Re: [Zope-dev] RDBM Connections per User

2001-06-05 Thread Jim Penny
ason, I will not give any users accounts on my firewall.] Jim Penny > > I hacked into the Connection code and found, that the interfaces are > really hard to be used for this feature. > > The thing is, that many "people" are accessing the database connection > hand

[Zope-dev] usability bug concerning database connections?

2001-02-22 Thread Jim Penny
be changed rather than waiting for breakage. 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-anno