Python 2/3 Compatibility: Shim vs. Forward Port

Six provides minimal shims to bridge Python 2 and 3 differences for dual compatibility, often retaining Python 2 syntax. Python-Future aims to backport Python 3 features to Python 2, allowing Python 3-style code to run on both versions.

Sources

Open the full topic