]> granicus.if.org Git - python/commit
Issue #20335: bytes constructor now raises TypeError when encoding or errors
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 2 Dec 2014 07:26:14 +0000 (09:26 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 2 Dec 2014 07:26:14 +0000 (09:26 +0200)
commit0b2cacb42a7a3a79c1d5c491c584f57aa5c82417
tree146cccf1d3df541b76a239ff85fb960f1389105d
parent5d64858ac8a226760785246bbc1c836b9fcb7f77
parent83cf99d733acb49c70dd9548eeccfc724e707531
Issue #20335: bytes constructor now raises TypeError when encoding or errors
is specified with non-string argument.  Based on patch by Renaud Blanch.
Lib/test/test_bytes.py
Misc/NEWS
Objects/bytesobject.c