Message247355
| Author |
eric.snow |
| Recipients |
Lukasa, Mark.Shannon, eric.snow, icordasc, jayvdb, rhettinger, xZise |
| Date |
2015年07月25日.17:16:12 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1437844572.78.0.666075767866.issue24667@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
@Mark, note that you get the same behavior with the pure Python OrderedDict. Calling dict.* methods on an OrderedDict gives you undefined behavior. I expect the same is true for most subclasses of builtin types that override builtin methods.
Anyway, the problem with using dict.* methods with OrderedDict is a separate issue from the bug with pop/popitem reported here. I've opened issue24721 to address the former. |
|