Make bin() implementation parallel oct() and hex() so that int/long subclasses can...
commit34e0a2857fd6c7247702c7c85dcdd1b36b751004
authorraymond.hettinger <raymond.hettinger@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 20 Jun 2008 04:18:15 +0000 (20 04:18 +0000)
committerraymond.hettinger <raymond.hettinger@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 20 Jun 2008 04:18:15 +0000 (20 04:18 +0000)
tree67ed45fdd59fb9830b6446d0d8e035d821ca5612
parent7424d852118a3efbc2eb4d06ca615ebe2ff693cf
Make bin() implementation parallel oct() and hex() so that int/long subclasses can override or so that other classes can support.

git-svn-id: http://svn.python.org/projects/python/trunk@64424 6015fed2-1504-0410-9fe1-9d1591cc4771
Include/object.h
Lib/test/test_sys.py
Misc/NEWS
Objects/intobject.c
Objects/longobject.c
Objects/typeobject.c
Python/bltinmodule.c