[ python-Bugs-1000525 ] Ignition message is superfluous

noreply at pgfoundry.org noreply at pgfoundry.org
Sat Jan 7 21:27:32 GMT 2006


Bugs item #1000525, was opened at 2006-01-07 14:27
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=442&aid=1000525&group_id=1000094

Category: PQ/PQueue
Group: To do
Status: Open
Resolution: None
Priority: 4
Submitted By: James Pye (jwp)
Assigned to: James Pye (jwp)
Summary: Ignition message is superfluous

Initial Comment:
This part(Ignition message) of PQueue will be removed in 0.2, breaking 0.1 Proboscis. The effective replacement will be an initial messages tuple created in the transaction's __init__ function. The protocol manager will then have to use that.

class Trans(Transaction):
 def __init__(self, args):
  self.initiator = (pq.Startup(*args),)

So, now, no longer pass in Ignition as the first message. Just grab the initiator attribute.

----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=442&aid=1000525&group_id=1000094


More information about the Python-general mailing list