commit | c06e3acc735a6e9cf28d0f511493bcfd8829117d | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Feb 07 17:30:18 2003 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Feb 07 17:30:18 2003 +0000 |
tree | ef2384f941d942527cef0f87e2307d28c42b4382 | |
parent | 2731c5cf460778f02c5e713f6fff25cbbebedd37 [diff] |
Add support for copy_reg.dispatch_table. Rewrote copy() and deepcopy() without avoidable try/except statements; getattr(x, name, None) or dict.get() are much faster than try/except.