Message304977
Using ndb.ndbm get when key is missing and default value has to be returned
results in invocation of Py_INCREF on null pointer. Test case to reproduce the issue:
```
import dbm.ndbm
with dbm.ndbm.open('db', 'n') as db:
print(db.get('missing-key'))
``` |
|
Date |
User |
Action |
Args |
2017-10-25 10:25:19 | tmiasko | set | recipients:
+ tmiasko |
2017-10-25 10:25:18 | tmiasko | set | messageid: <1508927118.96.0.213398074469.issue31868@psf.upfronthosting.co.za> |
2017-10-25 10:25:18 | tmiasko | link | issue31868 messages |
2017-10-25 10:25:18 | tmiasko | create | |
|