﻿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
32709	fix utils/baseconv.py ->  self.sign	pythonwood		"
I have a simple pull in gihub  # 14339 
[https://github.com/django/django/pull/14339/commits/86e0ec9df0b5ed7a9160c10974bf1adef19eb539]


{{{
def encode(self, i):
      neg, value = self.convert(i, self.decimal_digits, self.digits, '-')
}}}


try and know that arg '-' should be self.sign:  


{{{
In [1]: from django.utils import baseconv

In [2]: base11 = baseconv.BaseConverter('0123456789-', sign='$')

In [3]: base11.encode('$1234')

ValueError: substring not found
}}}

"	Bug	new	Error reporting	3.2	Normal		utils	wuweishun@…	Unreviewed	1	0	0	0	0	0
