Message92706
This is almost certainly not a bug in Python. At a guess, in the
outermost 'else' clause of your dump method, self.keys can be empty. Then
the 'for p, k in enumerate(self.keys):' does zero iterations, so p is not
defined in the assert; hence the error message.
If you want help figuring out exactly what's going wrong, I'd suggest
asking on comp.lang.python. |
|
Date |
User |
Action |
Args |
2009-09-16 18:12:24 | mark.dickinson | set | recipients:
+ mark.dickinson, mrdiskodave |
2009-09-16 18:12:24 | mark.dickinson | set | messageid: <1253124744.31.0.893567805344.issue6921@psf.upfronthosting.co.za> |
2009-09-16 18:12:21 | mark.dickinson | link | issue6921 messages |
2009-09-16 18:12:21 | mark.dickinson | create | |
|