summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Advance version to 1.15.0.1.15.0Benjamin Peterson2020-05-211-1/+1
|
* Document #331.Benjamin Peterson2020-05-191-0/+5
|
* Optimize ensure_str and ensure_binary. (#331)Gregory P. Smith2020-05-191-8/+10
| | | | | | | | | | | | | | | | We found that large applications that have undergone a 2 -> 3 migration and wound up with a lot of six.ensure_str and six.ensure_binary calls could save 1-2% CPU usage by optimizing these for the common case. Further optimization could be done by replacing them with extension module implementations - assumed out of scope for the pure Python six project itself. Ideally all of these calls and use of six in people's code would be removed after there all need for any Python 2 compatibility is gone. But completing that kind of type cleanup requires a lot of human engineering time. This lowers the ongoing costs in the interim. Contributed by YouTube.
* Fix ensure_text docs. (#326)Andrzej BartosiƄski2020-04-091-1/+1
| | | Co-authored-by: Benjamin Peterson <benjamin@python.org>
* six 1.14.01.14.0Benjamin Peterson2020-01-152-3/+3
|
* python-porting is dead.Benjamin Peterson2020-01-141-3/+0
|
* Add change log for assertNotRegex.Benjamin Peterson2020-01-082-0/+3
|
* Add assertNotRegex. (#289)Jonathan Vanasco2020-01-083-0/+23
| | | | | | Fixes #288. Co-authored-by: Benjamin Peterson <benjamin@python.org>
* New contributors.Benjamin Peterson2020-01-071-0/+2
|
* version -> version_infoBenjamin Peterson2020-01-071-1/+1
|
* Point _dummy_thread to _thread on Python 3.9.Benjamin Peterson2020-01-073-2/+7
| | | | Fixes #317.
* Update pytest for most Python versions. (#318)Benjamin Peterson2020-01-071-1/+1
|
* Change log for dropping 2.7 and 3.2 support.Benjamin Peterson2020-01-071-0/+2
|
* Drop support for EOL Python 2.6 and 3.2. (#314)Hugo van Kemenade2020-01-076-65/+11
| | | | | | | Fixes #308. Stops testing them on the CI, update python_requries and remove some code specifically for those versions. Not done anything to remove any six functionality that's only a benefit on those versions, that should be in a separate PR and would be a breaking change that should ideally deprecate first.
* Changelog for #251.Benjamin Peterson2020-01-061-0/+6
|
* Fix wraps handing of missing attrs. (#251)immerrr again2020-01-063-13/+52
| | | | | | | | | This is pretty-much a straight backport of Py3 implementations of update_wrapper and (privately) wraps. Fixes #250 Fixes #165 Co-authored-by: Benjamin Peterson <benjamin@python.org>
* 10 years of six!Benjamin Peterson2020-01-065-5/+5
|
* Remove unused inner function. (#310)Thomas Grainger2019-11-141-8/+0
|
* Clarify python_2_unicode_compatible is for classes.Benjamin Peterson2019-11-051-1/+1
|
* Bump version to 1.13.0.1.13.0Benjamin Peterson2019-11-051-1/+1
|
* Fix the reST roles of some modules.Benjamin Peterson2019-11-041-2/+2
|
* Add a changelog for the ndbm move.Benjamin Peterson2019-11-041-0/+2
|
* Recognize new contributors.Benjamin Peterson2019-11-041-0/+6
|
* Add six.moves.collections_abc.Benjamin Peterson2019-11-043-0/+6
| | | | | Fixes #155. Closes #241.
* Add ndbm move. (#299)Ben Bariteau2019-11-042-0/+3
|
* Add changelog entries for recent changes.Benjamin Peterson2019-11-041-0/+8
|
* Update CI Pythons.Benjamin Peterson2019-11-042-12/+13
| | | | | - Add Python 3.8. - Unpin pypy2.7 and pypy3.
* Revert "Remove distutils fallback and outdated comment (#269)" (#304)Eli Schwartz2019-11-041-1/+7
| | | | | | | | | | | | | | | | | This reverts commit d5efa74e2dfde8d4ddba13e127cd85c687e6016b. The original intention of providing a distutils fallback has not gone away. These three extra lines will almost never be used, as most people have setuptools or install with pip anyway, and at the same time it serves as a very low-maintenance solution for people who *do* want to bootstrap setuptools. Bootstrapping setuptools without vendored six (and pyparsing) is a valid use case. Although setuptools by default ships with vendored dependencies, it supports removing the contents of the _vendored/ directory and falling back to an installed version of six.py -- and thirdparty vendors of setuptools, such as Arch Linux and OpenSUSE, actually make use of this and need to be able to bootstrap the dependency tree of setuptools itself.
* Pin pytest. (#306)Benjamin Peterson2019-11-041-2/+2
| | | We are obliged to use a very old version that supports Python 3.2.
* py.test -> pytestBenjamin Peterson2019-11-042-47/+47
|
* Add support for PEP 560. (#305)Ivan Levkivskyi2019-11-043-2/+58
|
* Increment copyright year.Benjamin Peterson2019-06-185-5/+5
|
* Remove six.io. (#285)Toshiki Kataoka2019-04-081-0/+1
| | | There was `six.io` if and only if py3, which was error-prone.
* Add missing "as". (#276)Jon Dufresne2019-02-021-1/+1
|
* Travis CI: Start testing on Python 3.6, 3.7, and nightly. (#275)cclauss2019-01-281-3/+5
| | | | Also, [remove the __sudo__ tag per recommendation of Travis](https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration).
* minor formatting fix to ensure_str documentation (#273)Lee Ball2019-01-191-1/+1
| | | | Small update to the `ensure_str` function's documentation formatting to match `ensure_binary` and `ensure_text`'s formatting.
* Document that binary_type is only necessary for Python 2.5 compat (#270)Jon Dufresne2019-01-011-1/+3
| | | | | | | | | | | | As documented in the Python 2.6 release notes: https://docs.python.org/2/whatsnew/2.6.html#pep-3112-byte-literals > For future compatibility, Python 2.6 adds bytes as a synonym for the > str type ... To encourage more forward compatible code bases, inform users of this builtin alias. This addition is similar in spirit to the note for the b() function.
* Remove distutils fallback and outdated comment (#269)Jon Dufresne2018-12-281-7/+1
| | | | | | | setuptools includes a vendored version of six (and other dependencies). They are not installed through traditional tools. Therefore, distutils is not required as a fallback to facilitate setuptools. https://github.com/pypa/setuptools/blob/v40.6.3/setuptools/_vendor/six.py
* six 1.12.01.12.0Benjamin Peterson2018-12-092-3/+3
|
* Add alts to all badges.Benjamin Peterson2018-12-031-0/+3
|
* Make indentation consistent.Benjamin Peterson2018-12-031-3/+3
|
* Add RtD badge.Benjamin Peterson2018-12-031-0/+4
|
* docs: reload() is in importlib in current Python 3. (#266)cclauss2018-11-261-1/+1
| | | The docs say that the Python 2 builtin __reload()__ was moved into the __imp__ module (which _used_ to be true) but in all currently supported versions of CPython, __reload()__ is found in the __importlib__ module: https://docs.python.org/3/library/importlib.html#importlib.reload
* Add changelog for a611f60dc73d9df64fd8ebcec1daf9f7827e29db.Benjamin Peterson2018-10-031-0/+3
|
* Make add_metaclass copy __qualname__ from the original class. (#260)E. M. Bray2018-10-032-0/+22
| | | | Fixes #259.
* Fix wording.Benjamin Peterson2018-10-031-1/+1
|
* Prefer https:// URLs where available. (#256)Jon Dufresne2018-09-171-3/+3
|
* Remove deprecated indexserver from tox.ini (GH-257)Jon Dufresne2018-09-171-4/+0
| | | | | | | https://tox.readthedocs.io/en/latest/config.html#confval-indexserver > DEPRECATED, will be removed in a future version Unnecessary anyway as all deps come from PyPI through pip.
* Be more precise about what six.class_types is. (#254)Jon Dufresne2018-09-111-2/+3
| | | Avoids the need for users to look this up by experimentation or code inspection.
* Update all pypi.python.org URLs to pypi.org (#238)Jon Dufresne2018-07-143-3/+3
| | | | | For details on the new PyPI, see the blog post: https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html