[Zope-dev] Inhibit URL-traversal

2006-02-10 Thread Dario Lopez-Kästen
Greetings, for a product I am writing, i need to experiment with inhibiting URL-traversal to the methods and subobjects of it. I still wnat the methods and objects to be available via direct call, for instance: from a script or template: container.my_product_instance.some_method(...) but

[Zope-dev] Python warnings behavior and stacklevel=2

2006-02-10 Thread Julien Anguenot
Hi there, I'm having some problems with the warnings module behavior. (Python-2.4.2 and Zope-2.9 trunk) [... traceback ... ] - Line 71 Module zLOG, line 140, in LOG Module warnings, line 61, in warn Module warnings, line 67, in warn_explicit TypeError: unsubscriptable object It seems

[Zope-dev] Introspector package in zope 2.9

2006-02-10 Thread Jean-François Roche
Hello, I can't find the Introspector package in zope.app in 2.9 (Zope shipped with Zope-2.9.0.tgz) but can find it on svn. Forgot something ? Can you help? Thanks! Regards, Jeff ___ Zope-Dev maillist -

Re: [Zope-dev] Inhibit URL-traversal

2006-02-10 Thread Dieter Maurer
Dario Lopez-Kästen wrote at 2006-2-10 10:56 +0100: ... for a product I am writing, i need to experiment with inhibiting URL-traversal to the methods and subobjects of it. I still wnat the methods and objects to be available via direct call, for instance: You can use a SiteAccess AccessRule for

Re: [Zope-dev] Python warnings behavior and stacklevel=2

2006-02-10 Thread Tim Peters
[Julien Anguenot] I'm having some problems with the warnings module behavior. (Python-2.4.2 and Zope-2.9 trunk) [... traceback ... ] - Line 71 Module zLOG, line 140, in LOG Module warnings, line 61, in warn Module warnings, line 67, in warn_explicit TypeError: unsubscriptable