python-bitcoinlib now supports SegWit, which breaks the API in minor ways from v0.8.0. This version introduces lots of new API functionality related to this, such as the new CScriptWitness, CTxInWitness, CTxWitness, new sigwit-specific logic in SignatureHash() etc.