[New-bugs-announce] [issue2460] Ellipsis not copyable

Armin Ronacher report at bugs.python.org
Sun Mar 23 00:32:55 CET 2008


New submission from Armin Ronacher <armin.ronacher at active-4.com>:

Currently python raises an exception if one tries to copy or deepcopy
Ellpisis.  The former is usually no problem but if an ellipsis ends up
on an object and becomes deepcopied this is pretty annoying.

The patch provided adds Ellipsis to the copy.py registry with the same
treatment None and other immutable types get.

----------
components: Library (Lib)
files: ellipsis.diff
keywords: patch
messages: 64347
nosy: aronacher
severity: normal
status: open
title: Ellipsis not copyable
type: behavior
versions: Python 2.5, Python 2.6
Added file: http://bugs.python.org/file9821/ellipsis.diff

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2460>
__________________________________


More information about the New-bugs-announce mailing list