Six

Latest version: v1.16.0

Safety actively analyzes 629855 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

1.10.0

------

- Issue 122: Improve the performance of `six.int2byte` on Python 3.

- Pull request 55 and issue 99: Don't add the `winreg` module to `six.moves`
on non-Windows platforms.

- Pull request 60 and issue 108: Add `six.moves.getcwd` and
`six.moves.getcwdu`.

- Pull request 64: Add `create_unbound_method` to create unbound methods.

1.9.0

-----

- Issue 106: Support the `flush` parameter to `six.print_`.

- Pull request 48 and issue 15: Add the `python_2_unicode_compatible`
decorator.

- Pull request 57 and issue 50: Add several compatibility methods for unittest
assertions that were renamed between Python 2 and 3.

- Issue 105 and pull request 58: Ensure `six.wraps` respects the *updated* and
*assigned* arguments.

- Issue 102: Add `raise_from` to abstract out Python 3's raise from syntax.

- Issue 97: Optimize `six.iterbytes` on Python 2.

- Issue 98: Fix `six.moves` race condition in multi-threaded code.

- Pull request 51: Add `six.view(keys|values|items)`, which provide dictionary
views on Python 2.7+.

- Issue 112: `six.moves.reload_module` now uses the importlib module on
Python 3.4+.

1.8.0

-----

- Issue 90: Add `six.moves.shlex_quote`.

- Issue 59: Add `six.moves.intern`.

- Add `six.urllib.parse.uses_(fragment|netloc|params|query|relative)`.

- Issue 88: Fix add_metaclass when the class has `__slots__` containing
`__weakref__` or `__dict__`.

- Issue 89: Make six use absolute imports.

- Issue 85: Always accept *updated* and *assigned* arguments for `wraps()`.

- Issue 86: In `reraise()`, instantiate the exception if the second argument is
`None`.

- Pull request 45: Add `six.moves.email_mime_nonmultipart`.

- Issue 81: Add `six.urllib.request.splittag` mapping.

- Issue 80: Add `six.urllib.request.splituser` mapping.

1.7.3

-----

- Issue 77: Fix import six on Python 3.4 with a custom loader.

- Issue 74: `six.moves.xmlrpc_server` should map to `SimpleXMLRPCServer` on Python
2 as documented not `xmlrpclib`.

1.7.2

-----

- Issue 72: Fix installing on Python 2.

1.7.1

-----

- Issue 71: Make the six.moves meta path importer handle reloading of the six
module gracefully.

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.