| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a4a3020 commit fe2d5ba
8 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1202,9 +1202,6 @@ def _sys_version(sys_version=None): | |||
| 1202 | 1202 | _, branch, revision = sys._git | |
| 1203 | 1203 | elif hasattr(sys, '_mercurial'): | |
| 1204 | 1204 | _, branch, revision = sys._mercurial | |
| 1205 | - elif hasattr(sys, 'subversion'): | ||
| 1206 | - # sys.subversion was added in Python 2.5 | ||
| 1207 | - _, branch, revision = sys.subversion | ||
| 1208 | 1205 | else: | |
| 1209 | 1206 | branch = '' | |
| 1210 | 1207 | revision = '' | |
@@ -1259,7 +1256,7 @@ def python_branch(): | |||
| 1259 | 1256 | """ Returns a string identifying the Python implementation | |
| 1260 | 1257 | branch. | |
| 1261 | 1258 | ||
| 1262 | - For CPython this is the Subversion branch from which the | ||
| 1259 | + For CPython this is the SCM branch from which the | ||
| 1263 | 1260 | Python binary was built. | |
| 1264 | 1261 | ||
| 1265 | 1262 | If not available, an empty string is returned. | |
@@ -1273,7 +1270,7 @@ def python_revision(): | |||
| 1273 | 1270 | """ Returns a string identifying the Python implementation | |
| 1274 | 1271 | revision. | |
| 1275 | 1272 | ||
| 1276 | - For CPython this is the Subversion revision from which the | ||
| 1273 | + For CPython this is the SCM revision from which the | ||
| 1277 | 1274 | Python binary was built. | |
| 1278 | 1275 | ||
| 1279 | 1276 | If not available, an empty string is returned. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -145,14 +145,14 @@ def test_sys_version(self): | |||
| 145 | 145 | ("PyPy", "2.5.2", "trunk", "63378", ('63378', 'Mar 26 2009'), | |
| 146 | 146 | "") | |
| 147 | 147 | } | |
| 148 | - for (version_tag, subversion, sys_platform), info in \ | ||
| 148 | + for (version_tag, scm, sys_platform), info in \ | ||
| 149 | 149 | sys_versions.items(): | |
| 150 | 150 | sys.version = version_tag | |
| 151 | - if subversion is None: | ||
| 151 | + if scm is None: | ||
| 152 | 152 | if hasattr(sys, "_git"): | |
| 153 | 153 | del sys._git | |
| 154 | 154 | else: | |
| 155 | - sys._git = subversion | ||
| 155 | + sys._git = scm | ||
| 156 | 156 | if sys_platform is not None: | |
| 157 | 157 | sys.platform = sys_platform | |
| 158 | 158 | self.assertEqual(platform.python_implementation(), info[0]) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,3 @@ | |||
| 1 | + Remove CVS and Subversion tools: remove svneol.py and treesync.py scripts. | ||
| 2 | + CPython migrated from CVS to Subversion, to Mercurial, and then to Git. CVS | ||
| 3 | + and Subversion are no longer used to develop CPython. | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,6 +22,5 @@ README.AIX Information about using Python on AIX | |||
| 22 | 22 | README.coverity Information about running Coverity's Prevent on Python | |
| 23 | 23 | README.valgrind Information for Valgrind users, see valgrind-python.supp | |
| 24 | 24 | SpecialBuilds.txt Describes extra symbols you can set for debug builds | |
| 25 | - svnmap.txt Map of old SVN revs and branches to hg changeset ids | ||
| 26 | 25 | valgrind-python.supp Valgrind suppression file, see README.valgrind | |
| 27 | 26 | vgrindefs Python configuration for vgrind (a generic pretty printer) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -61,9 +61,7 @@ rgrep.py Reverse grep through a file (useful for big logfiles) | |||
| 61 | 61 | run_tests.py Run the test suite with more sensible default options | |
| 62 | 62 | serve.py Small wsgiref-based web server, used in make serve in Doc | |
| 63 | 63 | suff.py Sort a list of files by suffix | |
| 64 | - svneol.py Set svn:eol-style on all files in directory | ||
| 65 | 64 | texi2html.py Convert GNU texinfo files into HTML | |
| 66 | - treesync.py Synchronize source trees (very idiosyncratic) | ||
| 67 | 65 | untabify.py Replace tabs with spaces in argument files | |
| 68 | 66 | which.py Find a program in $PATH | |
| 69 | 67 | win_add2path.py Add Python to the search path on Windows | |
| Back | FazBrowse Home | New Git URL |
0 commit comments