Re: [ZODB-Dev] Re: SVN: ZODB/branches/anguenot-ordering-beforecommitsubscribers/src/transaction/ Implements the ordering of before commit subscribers :

2005-08-08 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim Peters wrote: > [Julien Anguenot] > >>>+def beforeCommitHookOrdered(hook, order, *args, **kws): >>>+ >>>"""Register a hook to call before the transaction is committed. ... >>>+Note, a hook __call__() method can't define any 'order' arg

RE: [ZODB-Dev] Re: SVN: ZODB/branches/anguenot-ordering-beforecommitsubscribers/src/transaction/ Implements the ordering of before commit subscribers :

2005-08-08 Thread Tim Peters
[Julien Anguenot] > Zope3 seems to use one (1) underscore as a suffix like in : > > See for instance this : > http://svn.zope.org/Zope3/trunk/src/zope/app/component/metaconfigure.py?rev= 37586&view=auto > > """ def subscriber(_context, for_=None, factory=None, handler=None, > provides=None, permiss

RE: [ZODB-Dev] Re: SVN: ZODB/branches/anguenot-ordering-beforecommitsubscribers/src/transaction/ Implements the ordering of before commit subscribers :

2005-08-08 Thread Tim Peters
[Julien Anguenot] >> +def beforeCommitHookOrdered(hook, order, *args, **kws): >> + >> """Register a hook to call before the transaction is committed. ... >> +Note, a hook __call__() method can't define any 'order' argument since >> +this one is reserved by this method [Florent