id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	branch	branch_author	launchpad_bug
6053	Create `intToBytes` function for Python 3 compatibility with Python 2	itamar	itamar	"On Python 2, it's possible to do things like:

{{{
>>> bytes(20)
'20'
}}}

On Python 3 that will not work. Since we use the above idiom quite a bit, at the very least in tests, we should implement a `intToBytes` function that emulates this behavior."	enhancement	closed	normal	Python 3.3 Minimal	core	fixed			branches/toBytes-py3-6053	itamarst	
