hans.meine added the comment:
Maybe some 2.7 backport is missing w.r.t. the documentation of the copy module?
At least, http://docs.python.org/2/library/copy.html still states: The copy
module does not use the copy_reg registration module.
--
nosy: +hans-meine
versions: -Python 3.2,
Roundup Robot added the comment:
New changeset 2bd6150b48ea by Ezio Melotti in branch '2.7':
#11481: update copy_reg docs and add example.
http://hg.python.org/cpython/rev/2bd6150b48ea
New changeset e089bdca9d9c by Ezio Melotti in branch '2.7':
#11481: fix markup.
Ezio Melotti added the comment:
I made a few minor changes and applied the patch.
--
assignee: docs@python - ezio.melotti
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
type: - enhancement
___
Python tracker
Sandro Tosi sandro.t...@gmail.com added the comment:
After quite a long chat with Ezio, I'm just proposing this updated patch:
- it fixes the copy doc, explicitly acknowledging the use of copyreg
functionalities
- it rewords the first paragraph of copyreg doc, which was a bit too
Sandro Tosi sandro.t...@gmail.com added the comment:
A quick reword could be the one attached.
--
keywords: +patch
nosy: +ezio.melotti, sandro.tosi
stage: - patch review
versions: +Python 2.7 -Python 3.1
Added file: http://bugs.python.org/file22843/issue11481.patch
New submission from Daniel Urban urban.dani...@gmail.com:
In the copyreg documentation there is this sentence: The copy module is likely
to use this in the future as well.
(http://docs.python.org/dev/py3k/library/copyreg) But the copy module already
uses the copyreg module.
--