Implements PEP443. This is a synchronized copy from Bitbucket kept for Travis support.