Re: [Zope] Underscoring Inaugural Address

2005-05-26 Thread Chris Withers
Dan Pozmanter wrote: Hey, I am working on a subversion interface for zope, and our repositories are rife with files like __init__.py. For something like that, I'd head for Zope 3... Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope] Underscoring Inaugural Address

2005-05-24 Thread Chris Withers
Dan Pozmanter wrote: Is sort of do, since the final object is a wrapper around a unique path. What about messing aroound with the url? Is there a way to have it show: http://foo.com/__init__.py Maybe I missed something, but why are you intent on serving such bizare urls? cheers, Chris

RE: [Zope] Underscoring Inaugural Address

2005-05-12 Thread Dan Pozmanter
] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Winkler Sent: Wednesday, May 11, 2005 3:56 PM To: zope@zope.org Subject: Re: [Zope] Underscoring Inaugural Address On Wed, May 11, 2005 at 03:50:00PM -0400, Dan Pozmanter wrote: Ugh. I suppose I could ignore the '_' bit (and override BaseRequest.traverse

Re: [Zope] Underscoring Inaugural Address

2005-05-12 Thread Paul Winkler
On Thu, May 12, 2005 at 10:52:03AM -0400, Dan Pozmanter wrote: Is sort of do, since the final object is a wrapper around a unique path. What about messing aroound with the url? Is there a way to have it show: http://foo.com/__init__.py But really point to

Re: [Zope] Underscoring Inaugural Address

2005-05-11 Thread Andreas Jung
--On Mittwoch, 11. Mai 2005 15:00 Uhr -0400 Dan Pozmanter [EMAIL PROTECTED] wrote: Is there a way to muck about with getattr, traversal, or something related so that, for a particular kind of object (eg with a particular attribute), Zope ignores the cannot start with a '_' rule? I think it is a

Re: [Zope] Underscoring Inaugural Address

2005-05-11 Thread J Cameron Cooper
Dan Pozmanter wrote: Hello there Zopatistas, In my inaugural post, I should like to enquire about getting to a url like so: http://myzopeserver.something.clever/a/path/to/a/file/named/__init__.py Getting to the object __init__.py is difficult (it acts like it doesn't exist.) Is there a

Re: [Zope] Underscoring Inaugural Address

2005-05-11 Thread Paul Winkler
On Wed, May 11, 2005 at 03:00:02PM -0400, Dan Pozmanter wrote: Hello there Zopatistas, In my inaugural post, I should like to enquire about getting to a url like so: http://myzopeserver.something.clever/a/path/to/a/file/named/__init__.py Getting to the object __init__.py is difficult

RE: [Zope] Underscoring Inaugural Address

2005-05-11 Thread Dan Pozmanter
it is different? Could messing with __browser_default__ yield any useful results? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Winkler Sent: Wednesday, May 11, 2005 3:45 PM To: zope@zope.org Subject: Re: [Zope] Underscoring Inaugural Address

Re: [Zope] Underscoring Inaugural Address

2005-05-11 Thread Paul Winkler
On Wed, May 11, 2005 at 03:50:00PM -0400, Dan Pozmanter wrote: Ugh. I suppose I could ignore the '_' bit (and override BaseRequest.traverse), but the problems are: 1. Keeping this thing synced with Zope. 2. Accessing the object being traversed to to ensure it is of the correct type.