Change decode() so that it works with a buffer (i.e. unicode(..., 'utf-8-sig')) SF bug #1601501.
of tuple) that provides incremental decoders and encoders (a way to use stateful codecs without the stream API). Functions codecs.getincrementaldecoder() and codecs.getincrementalencoder() have been added.