Re: [Zope3-dev] Phantom of GadflyAdapter

2005-12-14 Thread Tadashi Matsumoto
On Tue, 13 Dec 2005 10:08:17 -0500 [EMAIL PROTECTED] wrote. > On Tuesday 13 December 2005 09:54, Tadashi Matsumoto wrote: > > If you write a test for this, I'll check it in. > I have made a test. It works well (perhaps). This test program is small, so I have attached in this ma

Re: [Zope3-dev] Phantom of GadflyAdapter

2005-12-13 Thread Tadashi Matsumoto
On Tue, 13 Dec 2005 10:08:17 -0500 [EMAIL PROTECTED] wrote. > On Tuesday 13 December 2005 09:54, Tadashi Matsumoto wrote: > > Simple patch: > > If you write a test for this, I'll check it in. > Ok, I will try. But I'm not sure I can make a test that always fa

[Zope3-dev] Phantom of GadflyAdapter

2005-12-13 Thread Tadashi Matsumoto
object needs to have a container __name__ = __parent__ = None +_v_connection = None +paramstyle = 'qmark' def _connection_factory(self): """Create a Gadfly DBI connection based on the DSN. Tadashi M

[Zope3-dev] publishTraverse method in viewmeta.py

2005-12-12 Thread Tadashi Matsumoto
Found(self, name, request) Tadashi Matsumoto [EMAIL PROTECTED] ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Re: [Zope3-dev] Potential bug of intid

2005-12-11 Thread Tadashi Matsumoto
On Sun, 11 Dec 2005 12:43:03 -0500 [EMAIL PROTECTED] wrote. > On Dec 11, 2005, at 11:00 AM, Tadashi Matsumoto wrote: > > > On Sun, 11 Dec 2005 08:30:06 -0500 > > [EMAIL PROTECTED] wrote. > > > >> At which point you should get a conflict error, which in

Re: Re: [Zope3-dev] Potential bug of intid

2005-12-11 Thread Tadashi Matsumoto
On Sun, 11 Dec 2005 08:30:06 -0500 [EMAIL PROTECTED] wrote. > On Dec 11, 2005, at 4:23 AM, Tadashi Matsumoto wrote: > > > Hello > > > > I was looking into the following code of intid's __init__.py. > ... > > > > I think it is better to use, for exampl

[Zope3-dev] Potential bug of intid

2005-12-11 Thread Tadashi Matsumoto
efg' Traceback (most recent call last): File "", line 1, in ? TypeError: expected integer key >>> I think it is better to use, for example, 2**30 instead of 2**31. By the way, there is a probability (less than 1/2**31 percent) of genera