Subject: CVS commit: pkgsrc/devel/py-future
From: Adam Ciarcinski
Date: 2019-12-14 11:58:37
Message id:

Log Message:
py-future: updated to 0.18.2

What's new in version 0.18.2:
This is a minor bug-fix release containing a number of fixes:
- Fix min/max functions with generators, and 'None' default
- Use BaseException in raise_()
- Fix builtins.round() for Decimals
- Fix raise_from() to prevent failures with immutable classes
- Make FixInput idempotent
- Fix type in newround
- Support mimetype guessing in urllib2 for Py3.8+

Python 3.8 is not yet officially supported.

What's new in version 0.18.1:
This is a minor bug-fix release containing a fix for raise_()
when passed an exception that's not an Exception (e.g. BaseException

What's new in version 0.18.0:
This is a major bug-fix and feature release, including:

- Fix import for py38+
- Remove import for isnewbytes() function, reducing CPU cost significantly
- Fix bug with importing past.translation when importing past which breaks \ 
zipped python installations
- Fix an issue with copyreg import under Py3 that results in unexposed stdlib \ 
- Export and document types in future.utils
- Update behavior of newstr.__eq__() to match str.__eq__() as per reference docs
- Fix raising and the raising fixer to handle cases where the syntax is ambigious
- Allow "default" parameter in min() and max()
- Implement __hash__() in newstr
- Future proof some version checks to handle the fact that Py4 won't be a major \ 
breaking release
- Fix urllib.request imports for Python 3.8 compatibility
- Fix future import ordering
- Fixed bug in fix_division_safe fixture
- Do not globally destroy re.ASCII in PY3
- Fix a bug in email.Message.set_boundary()
- Implement format_map() in str
- Implement readinto() for socket.fp

As well as a number of corrections to a variety of documentation, and updates to
test infrastructure.