./devel/py-future, Clean single-source support for Python 3 and 2

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.18.2, Package name: py37-future-0.18.2, Maintainer: gde

future is the missing compatibility layer between Python 2 and Python 3.
It allows you to use a single, clean Python 3.x-compatible codebase to
support both Python 2 and Python 3 with minimal overhead.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: d8c8b2d3889fc22bb38f049ed8e3dbdc35a83d6e
RMD160: d728505628b12cd395e4f8efead19ae61479a49d
Filesize: 809.785 KB

Version history: (Expand)


CVS history: (Expand)


   2019-12-15 12:13:37 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-future: provide correct PLIST
   2019-12-14 11:58:37 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
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
subclasses)

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

- Fix collections.abc 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 \ 
functionality
- 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.
   2018-10-31 11:54:39 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-future: updated to 0.17.1

What's new in version 0.17.1:
This release address a packaging error because of an erroneous declaration that
any built wheels are universal.

What's new in version 0.17.0:
This is a major bug-fix release, including:
- Fix from collections import ChainMap after install_aliases()
- Fix multiple import from __future__ bug in futurize
- Add support for proper %s formatting of newbytes
- Properly implement iterator protocol for newrange object
- Fix past.translation on read-only file systems
- Fix Tkinter import bug introduced in Python 2.7.4
- Correct TypeError to ValueError in a specific edge case for newrange
- Support inequality tests betwen newstrs and newbytes
- Add type check to __get__ in newsuper
- Fix fix_divsion_safe to support better conversion of complex expressions, and
  skip obvious float division.

As well as a number of corrections to a variety of documentation, and updates to
test infrastructure.
   2017-09-04 20:01:05 by Thomas Klausner | Files touched by this commit (192)
Log message:
Comment out dead sites.
   2017-02-06 02:06:05 by Mark Davies | Files touched by this commit (3)
Log message:
Add version suffix to binaries to allow multiple alternatives at once.
   2017-01-17 18:14:14 by Filip Hajny | Files touched by this commit (3) | Package updated
Log message:
Update devel/py-future to 0.16.0.

This release removes the configparser package as an alias for
ConfigParser on Py2 to improve compatibility with Lukasz Langa's
backported configparser package. Previously python-future and the
configparser backport clashed, causing various compatibility issues.

This releases also fixes these bugs:

- Fix newbytes constructor bug.
- Fix semantics of bool() with newobject.
- Fix standard_library.install_aliases() on PyPy.
- Fix assertRaises for pow and compile` on Python 3.5.
- Fix return argument of future.utils.ensure_new_type if conversion to
  new type does not exist.
- Add missing cmp_to_key for Py2.6.
- Allow the old_div fixer to be disabled.
- Improve compatibility with Google App Engine.
- Add some missing imports to the tkinter and tkinter.filedialog package
  namespaces.
- Fix raise_from on PY3 when the exception cannot be recreated from its
  repr.
   2016-05-08 09:22:24 by Wen Heping | Files touched by this commit (4)
Log message:
Import wip/py-future as devel/py-future.

future is the missing compatibility layer between Python 2 and Python 3.
It allows you to use a single, clean Python 3.x-compatible codebase to
support both Python 2 and Python 3 with minimal overhead.