Renames Python2/Python3 -> Python 2/Python 3

This commit is contained in:
Ask Solem 2015-11-06 12:04:39 -08:00
parent 244408fde9
commit 413ace9274
4 changed files with 9 additions and 9 deletions

View File

@ -769,8 +769,8 @@
- No longer supports Python 2.5
The minimum Python version supported is now Python 2.6.0 for Python2,
and Python 3.3 for Python3.
The minimum Python version supported is now Python 2.6.0 for Python 2,
and Python 3.3 for Python 3.
- Dual codebase supporting both Python 2 and 3.
@ -944,7 +944,7 @@ ZeroMQ transport: drain_events now supports timeout.
:release-date: 2013-10-04 03:30 P.M BST
:release-by: Ask Solem
- Python3: Fixed problem with dependencies not being installed.
- Python 3: Fixed problem with dependencies not being installed.
.. _version-2.5.15:
@ -1469,9 +1469,9 @@ SQS: Now supports long polling (Issue #176).
- New and better ``repr()`` for Queue and Exchange objects.
- Python3: Fixed problem with running the unit test suite.
- Python 3: Fixed problem with running the unit test suite.
- Python3: Fixed problem with JSON codec.
- Python 3: Fixed problem with JSON codec.
.. _version-2.4.8:

View File

@ -1,5 +1,5 @@
==========================================================
Python2 to Python3 utilities - kombu.five
Python 2 to Python 3 utilities - kombu.five
==========================================================
.. contents::

View File

@ -101,7 +101,7 @@ def case_no_python3(cls):
@wraps(setup)
def around_setup(self):
if PY3:
raise SkipTest('Python3 incompatible')
raise SkipTest('Python 3 incompatible')
setup(self)
cls.setUp = around_setup
return cls

View File

@ -1500,8 +1500,8 @@ class Transport(base.Transport):
"""Verify that the runtime environment is acceptable.
This method is called as part of __init__ and raises a RuntimeError
in Python3 or PyPi environments. This module is not compatible with
Python3 or PyPi. The RuntimeError identifies this to the user up
in Python 3 or PyPi environments. This module is not compatible with
Python 3 or PyPi. The RuntimeError identifies this to the user up
front along with suggesting Python 2.7 be used instead.
"""
if getattr(sys, 'pypy_version_info', None):