Message201944
| Author |
Claudiu.Popa |
| Recipients |
Claudiu.Popa, berker.peksag, sonyachiko |
| Date |
2013年11月01日.22:17:00 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1383344220.91.0.798085877397.issue18039@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here's a patch which adds support for the `n` value of the flag. It makes the dbm consistent across implementations and it's thus more reliable.
Also, attached a script which replicates the problem for Windows (where dbm.dumb is used).
My output (after a couple of runs):
D:\Projects\snippets\DBM>py -3 a.py u7
test
[b'u3', b'u2', b'u5', b'u4', b'u7', b'u6']
test.dat exists? True
test.dir exists? True
b'u3' b'there'
b'u2' b'there'
b'u5' b'there'
b'u4' b'there'
b'u7' b'there'
b'u6' b'there' |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年11月01日 22:17:00 | Claudiu.Popa | set | recipients:
+ Claudiu.Popa, berker.peksag, sonyachiko |
| 2013年11月01日 22:17:00 | Claudiu.Popa | set | messageid: <1383344220.91.0.798085877397.issue18039@psf.upfronthosting.co.za> |
| 2013年11月01日 22:17:00 | Claudiu.Popa | link | issue18039 messages |
| 2013年11月01日 22:17:00 | Claudiu.Popa | create |
|