prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Dropping Python 3.2 support
  Python 3.2 is quite old and many projects are dropping support for it (`libsass` and `treebeard` both have already). Should we consider dropping support as well?
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `setup.py`
  Content:
  ```
  1 #!/usr/bin/env python
  2 
  3 import sys, os
  4 
  5 from wagtail.wagtailcore import __version__
  6 
  7 
  8 try:
  9     from setuptools import setup, find_packages
  10 except ImportError:
  11     from distutils.core import setup
  12 
  13 
  14 # Hack to prevent "TypeError: 'NoneType' object is not callable" error
  15 # in multiprocessing/util.py _exit_function when setup.py exits
  16 # (see http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
  17 try:
  18     import multiprocessing
  19 except ImportError:
  20     pass
  21 
  22 
  23 # Disable parallel builds, because Pillow 2.5.3 does some crazy monkeypatching of
  24 # the build process on multicore systems, which breaks installation of libsass
  25 os.environ['MAX_CONCURRENCY'] = '1'
  26 
  27 PY3 = sys.version_info[0] == 3
  28 
  29 
  30 install_requires = [
  31     "Django>=1.7.0,<1.8",
  32     "django-compressor>=1.4",
  33     "django-libsass>=0.2",
  34     "django-modelcluster>=0.4",
  35     "django-taggit==0.12.2",
  36     "django-treebeard==2.0",
  37     "Pillow>=2.6.1",
  38     "beautifulsoup4>=4.3.2",
  39     "html5lib==0.999",
  40     "Unidecode>=0.04.14",
  41     "six>=1.7.0",
  42     'requests>=2.0.0',
  43     "Willow==0.1",
  44 ]
  45 
  46 
  47 if not PY3:
  48     install_requires += [
  49         "unicodecsv>=0.9.4"
  50     ]
  51 
  52 
  53 setup(
  54     name='wagtail',
  55     version=__version__,
  56     description='A Django content management system focused on flexibility and user experience',
  57     author='Matthew Westcott',
  58     author_email='matthew.westcott@torchbox.com',
  59     url='http://wagtail.io/',
  60     packages=find_packages(),
  61     include_package_data=True,
  62     license='BSD',
  63     long_description=open('README.rst').read(),
  64     classifiers=[
  65         'Development Status :: 5 - Production/Stable',
  66         'Environment :: Web Environment',
  67         'Intended Audience :: Developers',
  68         'License :: OSI Approved :: BSD License',
  69         'Operating System :: OS Independent',
  70         'Programming Language :: Python',
  71         'Programming Language :: Python :: 2',
  72         'Programming Language :: Python :: 2.7',
  73         'Programming Language :: Python :: 3',
  74         'Programming Language :: Python :: 3.2',
  75         'Programming Language :: Python :: 3.3',
  76         'Programming Language :: Python :: 3.4',
  77         'Framework :: Django',
  78         'Topic :: Internet :: WWW/HTTP :: Site Management',
  79     ],
  80     install_requires=install_requires,
  81     entry_points="""
  82             [console_scripts]
  83             wagtail=wagtail.bin.wagtail:main
  84     """,
  85     zip_safe=False,
  86 )
  87
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -71,7 +71,6 @@
           'Programming Language :: Python :: 2',
           'Programming Language :: Python :: 2.7',
           'Programming Language :: Python :: 3',
  -        'Programming Language :: Python :: 3.2',
           'Programming Language :: Python :: 3.3',
           'Programming Language :: Python :: 3.4',
           'Framework :: Django',
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -71,7 +71,6 @@\n         'Programming Language :: Python :: 2',\n         'Programming Language :: Python :: 2.7',\n         'Programming Language :: Python :: 3',\n-        'Programming Language :: Python :: 3.2',\n         'Programming Language :: Python :: 3.3',\n         'Programming Language :: Python :: 3.4',\n         'Framework :: Django',\n", "issue": "Dropping Python 3.2 support\nPython 3.2 is quite old and many projects are dropping support for it (`libsass` and `treebeard` both have already). Should we consider dropping support as well?\n\n", "before_files": [{"content": "#!/usr/bin/env python\n\nimport sys, os\n\nfrom wagtail.wagtailcore import __version__\n\n\ntry:\n    from setuptools import setup, find_packages\nexcept ImportError:\n    from distutils.core import setup\n\n\n# Hack to prevent \"TypeError: 'NoneType' object is not callable\" error\n# in multiprocessing/util.py _exit_function when setup.py exits\n# (see http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)\ntry:\n    import multiprocessing\nexcept ImportError:\n    pass\n\n\n# Disable parallel builds, because Pillow 2.5.3 does some crazy monkeypatching of\n# the build process on multicore systems, which breaks installation of libsass\nos.environ['MAX_CONCURRENCY'] = '1'\n\nPY3 = sys.version_info[0] == 3\n\n\ninstall_requires = [\n    \"Django>=1.7.0,<1.8\",\n    \"django-compressor>=1.4\",\n    \"django-libsass>=0.2\",\n    \"django-modelcluster>=0.4\",\n    \"django-taggit==0.12.2\",\n    \"django-treebeard==2.0\",\n    \"Pillow>=2.6.1\",\n    \"beautifulsoup4>=4.3.2\",\n    \"html5lib==0.999\",\n    \"Unidecode>=0.04.14\",\n    \"six>=1.7.0\",\n    'requests>=2.0.0',\n    \"Willow==0.1\",\n]\n\n\nif not PY3:\n    install_requires += [\n        \"unicodecsv>=0.9.4\"\n    ]\n\n\nsetup(\n    name='wagtail',\n    version=__version__,\n    description='A Django content management system focused on flexibility and user experience',\n    author='Matthew Westcott',\n    author_email='matthew.westcott@torchbox.com',\n    url='http://wagtail.io/',\n    packages=find_packages(),\n    include_package_data=True,\n    license='BSD',\n    long_description=open('README.rst').read(),\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Environment :: Web Environment',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: BSD License',\n        'Operating System :: OS Independent',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 2',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.2',\n        'Programming Language :: Python :: 3.3',\n        'Programming Language :: Python :: 3.4',\n        'Framework :: Django',\n        'Topic :: Internet :: WWW/HTTP :: Site Management',\n    ],\n    install_requires=install_requires,\n    entry_points=\"\"\"\n            [console_scripts]\n            wagtail=wagtail.bin.wagtail:main\n    \"\"\",\n    zip_safe=False,\n)\n", "path": "setup.py"}], "after_files": [{"content": "#!/usr/bin/env python\n\nimport sys, os\n\nfrom wagtail.wagtailcore import __version__\n\n\ntry:\n    from setuptools import setup, find_packages\nexcept ImportError:\n    from distutils.core import setup\n\n\n# Hack to prevent \"TypeError: 'NoneType' object is not callable\" error\n# in multiprocessing/util.py _exit_function when setup.py exits\n# (see http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)\ntry:\n    import multiprocessing\nexcept ImportError:\n    pass\n\n\n# Disable parallel builds, because Pillow 2.5.3 does some crazy monkeypatching of\n# the build process on multicore systems, which breaks installation of libsass\nos.environ['MAX_CONCURRENCY'] = '1'\n\nPY3 = sys.version_info[0] == 3\n\n\ninstall_requires = [\n    \"Django>=1.7.0,<1.8\",\n    \"django-compressor>=1.4\",\n    \"django-libsass>=0.2\",\n    \"django-modelcluster>=0.4\",\n    \"django-taggit==0.12.2\",\n    \"django-treebeard==2.0\",\n    \"Pillow>=2.6.1\",\n    \"beautifulsoup4>=4.3.2\",\n    \"html5lib==0.999\",\n    \"Unidecode>=0.04.14\",\n    \"six>=1.7.0\",\n    'requests>=2.0.0',\n    \"Willow==0.1\",\n]\n\n\nif not PY3:\n    install_requires += [\n        \"unicodecsv>=0.9.4\"\n    ]\n\n\nsetup(\n    name='wagtail',\n    version=__version__,\n    description='A Django content management system focused on flexibility and user experience',\n    author='Matthew Westcott',\n    author_email='matthew.westcott@torchbox.com',\n    url='http://wagtail.io/',\n    packages=find_packages(),\n    include_package_data=True,\n    license='BSD',\n    long_description=open('README.rst').read(),\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Environment :: Web Environment',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: BSD License',\n        'Operating System :: OS Independent',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 2',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.3',\n        'Programming Language :: Python :: 3.4',\n        'Framework :: Django',\n        'Topic :: Internet :: WWW/HTTP :: Site Management',\n    ],\n    install_requires=install_requires,\n    entry_points=\"\"\"\n            [console_scripts]\n            wagtail=wagtail.bin.wagtail:main\n    \"\"\",\n    zip_safe=False,\n)\n", "path": "setup.py"}]}