[New-bugs-announce] [issue2842] Dictionary methods: inconsistency

Chester report at bugs.python.org
Mon May 12 23:11:54 CEST 2008

New submission from Chester <wxpythoner at gmail.com>:

Names of dictionary methods are not consistent with Python's coding
style. Please fix the following method names:

1) fix    deepcopy    to be  deep_copy
2) fix    fromkeys    to be  from_keys
3) fix    popitem     to be  pop_item
4) fix    setdefault  to be  set_default

Please consider of renaming the method copy to shallow_copy. If you find
any other inconsistently named method, please fix it. Thank you.

messages: 66758
nosy: aaronsw, admin, akuchling, anonymous, barry, chester, doerwalter, effbot, fdrake, gvanrossum, jhylton, lemburg, loewis, memaul, mhammond, moshez, mpmak, mwh, nobody, ping, sjoerd, skip.montanaro, tim_one, tmick, twouters, viznut
severity: normal
status: open
title: Dictionary methods: inconsistency
versions: Python 3.0

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list