SIGN IN SIGN UP

Issue 7994: Make object.__format__() raise a PendingDeprecationWarning

if the format string is not empty. Manually merge r79596 and r84772
from 2.x.

Also, apparently test_format() from test_builtin never made it into
3.x. I've added it as well. It tests the basic format()
infrastructure.
E
Eric Smith committed
e4d6317c8725f9f341c6f2dd628e3b3ac79ef309
Parent: af9d10a