﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
23399	Update int_to_base36	None	None	"I propose change function int_to_base36:

{{{
def int_to_base36(n):
    assert isinstance(n, (int, long))
    c = '0123456789abcdefghijklmnopqrstuvwxyz'
    sign = ''
    if n < 0:
        sign, n = '-', -n
    if 0 <= n < 36:
        return sign + c[n]
    b36 = ''
    while n != 0:
        n, i = divmod(n, 36)
        b36 = c[i] + b36
    return sign + b36

}}}

I think that it's better and faster.
"	Cleanup/optimization	closed	Utilities	dev	Normal	fixed			Unreviewed	0	0	0	0	0	0
