bpo-32159: Remove tools for CVS and Subversion (#4615)

CPython migrated from CVS to Subversion, to Mercurial, and then to
Git. CVS and Subversion are not more used to develop CPython.

* platform module: drop support for sys.subversion. The
  sys.subversion attribute has been removed in Python 3.3.
* Remove Misc/svnmap.txt
* Remove Tools/scripts/svneol.py
* Remove Tools/scripts/treesync.py
This commit is contained in:
Victor Stinner 2017-11-28 22:29:32 +01:00 committed by GitHub
parent a4a3020abc
commit fe2d5babba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 72881 deletions

View file

@ -145,14 +145,14 @@ class PlatformTest(unittest.TestCase):
("PyPy", "2.5.2", "trunk", "63378", ('63378', 'Mar 26 2009'),
"")
}
for (version_tag, subversion, sys_platform), info in \
for (version_tag, scm, sys_platform), info in \
sys_versions.items():
sys.version = version_tag
if subversion is None:
if scm is None:
if hasattr(sys, "_git"):
del sys._git
else:
sys._git = subversion
sys._git = scm
if sys_platform is not None:
sys.platform = sys_platform
self.assertEqual(platform.python_implementation(), info[0])