grepping for python.*\2.4 does a pretty good job to find them
(there are still a few false positives about deprecating
python-2.4):
In the code properly it's more about cleaning cruft, in the docs
it's more about removing misleading recommendations.
./bzrlib/intset.py:194: File "/usr/lib/python2.4/doctest.py", line 1243, in __run
./bzrlib/_dirstate_helpers_pyx.pyx:43:#python2.4 support, and other platform-dependent includes
./bzrlib/_dirstate_helpers_pyx.pyx:1614: # on win32, python2.4 has e.errno == ERROR_DIRECTORY, but
./bzrlib/_readdir_pyx.pyx:23:#python2.4 support
./bzrlib/_chk_map_pyx.pyx:18:#python2.4 support
./bzrlib/_groupcompress_pyx.pyx:19:#python2.4 support
./bzrlib/_import_c_api.h:50: /* (char *) because Python2.4 defines this as (char *) rather than
./bzrlib/repofmt/knitpack_repo.py:678: # Python 2.4 does not permit try:finally: in a generator.
./bzrlib/transport/http/_urllib2_wrappers.py:1547: # but python-2.4 urllib2.Request insist on using capitalize()
./bzrlib/_patiencediff_py.py:233: # jam 20060525 This is the python 2.4.1 difflib get_matching_blocks
./bzrlib/cethread.py:44: # compatibility thunk for python-2.4 and python-2.5...
./bzrlib/fifo_cache.py:43: # Python2.5's has deque.remove, but Python2.4 does not
./bzrlib/errors.py:181: # exceptions are old-style classes in python2.4 (but new in 2.5).
./bzrlib/errors.py:721: # Python 2.4 have to be old-style classes so properties don't work.
./bzrlib/errors.py:3055: # nb: in python2.4 socket.error doesn't have a useful repr
./bzrlib/dirstate.py:3930: # on win32, python2.4 has e.errno == ERROR_DIRECTORY, but
./bzrlib/_rio_pyx.pyx:19:#python2.4 support
./bzrlib/osutils.py:270:# In Python 2.4.2 and older, os.path.abspath and os.path.realpath
./bzrlib/osutils.py:881: # Python 2.4 and later have os.urandom,
./bzrlib/osutils.py:1147: os.path.commonprefix (python2.4) has a bad bug that it works just
./bzrlib/osutils.py:1608: 2) Windows, Python2.4, uses errno == ERROR_DIRECTORY (267)
./bzrlib/tests/http_server.py:317: # do beginning with python 2.4.3: abandon query
./bzrlib/tests/__init__.py:758: # Python 2.4
./bzrlib/tests/__init__.py:1359: # On Win32 both 'dev' and 'ino' cannot be trusted. In python2.4 it
./bzrlib/tests/test_osutils.py:437: # dereferenced) in Python 2.4.1 and earlier
./bzrlib/_walkdirs_win32.pyx:88: # We can't just declare this as 'readonly' because python2.4 doesn't define
./bzrlib/_export_c_api.h:48: /* (char *) is because python2.4 declares this api as 'char *' rather than
./bzrlib/rio.py:127: ## value = str(value) # XXX: python2.4 without L-suffix
./bzrlib/_chunks_to_lines_pyx.pyx:20:#python2.4 support
./bzrlib/tuned_gzip.py:102: python 2.4 stock GzipFile write:
./bzrlib/_btree_serializer_pyx.pyx:20:#python2.4 support
./bzrlib/plugins/launchpad/lp_registration.py:57: # In python2.4 xmlrpclib.Transport is a old-style class, and does not
./bzrlib/pyutils.py:71:# +SKIP is not recognized by python2.4
./bzrlib/cleanup.py:163: # As correct as Python 2.4 allows.
./bzrlib/remote.py:3249: A replacement for extractall, which is not present in python2.4
./tools/http_client.py:56:# Note that (as of ubuntu python 2.4.1) every socket.connect() call
./tools/generate_docs.py:30: python2.4 generated-docs.py man
./tools/generate_docs.py:31: python2.4 generated-docs.py bash_completion
./INSTALL:7:bzr requires Python2.4 and cElementTree:
./doc/en/release-notes/bzr-1.8.txt:104:* The C extensions now build on python 2.4 (Robert Collins, #271939)
./doc/en/release-notes/bzr-2.2.txt:895:This is a somewhat early second beta of the 2.2 series, to fix a python2.4
./doc/en/release-notes/bzr-2.2.txt:934:* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
./doc/en/release-notes/bzr-1.17.txt:29: api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
./doc/en/release-notes/bzr-0.18.txt:37:* Work around python-2.4.1 inhability to correctly parse the
./doc/en/release-notes/bzr-2.1.txt:844:regression in python 2.4 compatibility in 2.1.0b2. Since this regression
./doc/en/release-notes/bzr-1.9.txt:123: for python2.4. (John Arbash Meinel, #277484)
./doc/en/release-notes/bzr-2.4.txt:370:* ``bzr-2.4`` has officially dropped support for python2.4 and python2.5.
./doc/en/release-notes/bzr-0.1.txt:508:* testbzr requires python2.4, but can be used to test bzr running
./doc/en/whats-new/whats-new-in-2.4.txt:19:Dropping Python2.4 and Python2.5 support
./doc/en/admin-guide/introduction.txt:34:In general, Bazaar requires only Python_ 2.4 or greater and the cElementTree_
./doc/developers/tortoise-strategy.txt:282:FWIW, with a Python process at each end, my P4 2.4G machine can achieve
./doc/developers/integration.txt:37:In Python 2.4 the ``with`` keyword is not supported and
./doc/developers/ui.txt:124:good place to use them, but because python2.4 does not allow ``finally``
./doc/developers/plugin-api.txt:141: #!/usr/bin/env python2.4
./doc/developers/code-style.txt:80:Bazaar supports Python from 2.4 through 2.6, and in the future we want to
./doc/developers/code-style.txt:91:* Don't use ``try/except/finally``, which is not supported in Python2.4,
./doc/developers/win32_build_setup.txt:47: c) python 2.4.4 (there is no Windows installer for 2.4.5 or 2.4.6)
./doc/developers/win32_build_setup.txt:48: http://www.python.org/ftp/python/2.4.4/python-2.4.4.msi
./doc/developers/win32_build_setup.txt:148:8) Fix distutils for the specific version of gcc. Distutils in python2.4.4 has