History¶
v4.3.1¶
10 May 2025
Bugfixes¶
In safe_path, ensure the absolute path is also removed.
v4.3.0¶
09 May 2025
Features¶
Added py310.safe_path to honor PYTHONSAFEPATH.
v4.2.2¶
29 Aug 2024
No significant changes.
v4.2.1¶
08 Jul 2024
No significant changes.
v4.2.0¶
08 Jul 2024
Features¶
Add forward compatibility for functools cache in Python 3.8.
v4.1.0¶
14 Jun 2024
Features¶
Add py38.r_fix for remove-prefix/suffix.
v4.0.0¶
27 Nov 2020
Require Python 3.6. At this point, the module contains no functionality.
3.1¶
27 May 2019
Now
collections.abcis a proper module, allowing forfrom py33compat.collections.abc import Iterableor similar.
3.0¶
25 Apr 2019
Drop support for Python 2.6.
2.2¶
25 Apr 2019
Added
py33compatmodule withcollections.api.
2.1¶
01 Jan 2019
Refreshed project metadata.
2.0¶
25 Jan 2017
Dropped compatibility modules for Python 2.5 and earlier.
1.4.1¶
25 Jan 2017
Dropped 2to3 invocation in
setup. Fixes issue where wheels would be broken on Python 2.
1.4¶
23 Jan 2017
Update project skeleton, including automated deployments. Tests are now run on Travis-CI with tests largely passing on Python 3.
1.3¶
25 May 2015
Added
py27compat.propertieswithsimplemethod.
1.2¶
24 May 2013
Added py24compat.functools with wraps degenerate wrapper.
1.1¶
12 Apr 2013
Added py27compat.traceback with format_exc helper (consistently returns unicode results).
1.0¶
20 Jan 2012
Adding py26compat.subprocess.check_output.
0.9¶
04 Jan 2012
Added py31compat.collections.lru_cache which provides a backport of the Python 3.2 cache of the same name.
0.8¶
14 Sep 2011
Added py25compat.subprocess with term_proc and kill_proc which take Popen objects and terminate and kill them respectively.
0.7¶
18 May 2011
Added py31compat.functools, which provides wraps and update_wrapper that supply the Python 3.2 __wrapped__ attribute.
Added py26compat.collections, which provides OrderedDict on Python 2.6 and earlier (via the ordereddict package).
0.6¶
29 Apr 2011
Added py26compat.total_seconds
Added py24compat.partition
0.5¶
20 Dec 2010
Added py26compat with
cmp_to_key.