Added module stub for copy_reg renaming in 3.0.

Renamed copy_reg to copyreg in the standard library, to avoid
spurious warnings and ease later merging to py3k branch. Public
documentation remains intact.
This commit is contained in:
Alexandre Vassalotti 2008-05-11 08:25:28 +00:00
parent f602c71b07
commit 9510e4a9f8
15 changed files with 302 additions and 294 deletions

View file

@ -729,7 +729,7 @@ if _exists("fork"):
return p.stdin, p.stdout
__all__.append("popen4")
import copy_reg as _copy_reg
import copyreg as _copy_reg
def _make_stat_result(tup, dict):
return stat_result(tup, dict)