commit | e4d6317c8725f9f341c6f2dd628e3b3ac79ef309 | [log] [tgz] |
---|---|---|
author | Eric Smith <eric@trueblade.com> | Mon Sep 13 20:48:43 2010 +0000 |
committer | Eric Smith <eric@trueblade.com> | Mon Sep 13 20:48:43 2010 +0000 |
tree | 708a741bc323f4ed96680a02659355adfd2159f0 | |
parent | af9d10aa30fc1e3dd043519b2ea145c4a06c9199 [diff] |
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.