Re: [PyGreSQL] PyGreSQL Commit r499 - trunk/module

2013-01-06 Thread D'Arcy J.M. Cain
On Sun, 6 Jan 2013 10:44:45 -0500 (EST) da...@pygresql.org wrote: > Mutable default params are dangerous. Good catch but... > -self.arg_dict = arg_dict > +self.arg_dict = arg_dict or {} I see a problem here. mydict = {} pgn = pgnotify(db, 'event_1', cb, mydict, 1) -- D'Arcy J

[PyGreSQL] PyGreSQL Commit r499 - trunk/module

2013-01-06 Thread darcy
Author: cito Date: Sun Jan 6 10:44:44 2013 New Revision: 499 Log: Mutable default params are dangerous. Modified: trunk/module/pg.py Modified: trunk/module/pg.py == --- trunk/module/pg.py Sun Jan 6 10:43:53 2013