Re: [Zope-dev] Infuriating ZClass registry Heisenbug

2002-12-12 Thread Matthew T. Kromer
If you feel like it, the change that is biting you is probably in here: http://cvs.zope.org/Zope/lib/python/ZODB/ coptimizations.c.diff?r1=1.17r2=1.17.60.1only_with_tag=Zope-2_6-branch I looked and there are some changes to the persistent_id code, but I lack sufficient background with this

Re: [Zope-dev] Infuriating ZClass registry Heisenbug

2002-12-12 Thread Jeremy Hylton
SH == Shane Hathaway [EMAIL PROTECTED] writes: SH On Wed, 11 Dec 2002, Evan Simpson wrote: I think I've fixed my ZGlobals, but there's definitely a problem in coptimizations. I made Connections.py use the Python persistent_id, restarted twice, and ZGlobals was fine on the second

[Zope-dev] Proper Use of __init__ inside Zope Products?

2002-12-12 Thread Jeff Rush
Can a Zope-internals guru provide some enlightenment regarding the mysteries of __init__? I'm writing some zproducts that subclass the existing Folder class, and then are themselves subclassed. What I've got works, but I'm not sure its _correct_. As I'm writing a Zope Best Practices document,

Re: [Zope-dev] Proper Use of __init__ inside Zope Products?

2002-12-12 Thread Lennart Regebro
From: Jeff Rush [EMAIL PROTECTED] As I understand it, the use of __init__ should be avoided when possible, since it isn't invoked (necessarily) when persistent objects are reloaded from disk. I'm not sure why that would matter. I'm using __init__ all the time, never had one single problem.

Re: [Zope-dev] Zope 2.6.0 ZMI Problem for CJK(Collector 623) patch.

2002-12-12 Thread Heiichiro NAKAMURA
Thank you for the detailed comment.. On Wed, 11 Dec 2002 11:15:37 +0900 Kazuya FUKAMACHI [EMAIL PROTECTED] wrote: --- 2) Russian patch: http://itconnection.ru/pipermail/zopyrus/2002-November/001388.html +0.5

Re: [Zope-dev] Zope 2.6.0 ZMI Problem for CJK(Collector 623) patch.

2002-12-12 Thread Heiichiro NAKAMURA
The current status of each resolutions (my own perception): --- 1) Nakagami Patch: http://lists.zope.org/pipermail/zope-dev/2002-November/018177.html - security concern 2) Russian patch:

Re: [Zope-dev] Zope 2.6.0 ZMI Problem for CJK(Collector 623) patch.

2002-12-12 Thread Kazuya FUKAMACHI
On Thu, 12 Dec 2002 15:51:48 -0800 Heiichiro NAKAMURA [EMAIL PROTECTED] wrote: I guess the problem is the difference of char-encoding naming convention: even among Posix-complient OSes, the naming of encodings are vender dependent (the situation is the same among RDBMS vendors). If I were to

Re: [Zope-dev] allowable object ids

2002-12-12 Thread Florent Guillaume
Dieter Maurer [EMAIL PROTECTED] wrote: I'm currious, why aren't arbitrary characters allowed in object ids? I cannot tell you precisely. My guess: It was an initial simplification to avoid URL quoting at many places. With the given restriction, you can use ids

Re: [Zope] Re: [Zope-dev] post-publishing hook

2002-12-12 Thread Florent Guillaume
Shane Hathaway [EMAIL PROTECTED] wrote: On 11/29/2002 01:33 PM, Ivo van der Wijk wrote: On Fri, Nov 29, 2002 at 01:07:24PM +0100, Carlo Giomini wrote: Dear all, I need a sort of post-publishing hook (so to say). I need Zope to call a function of mine as the very last action of