diff options
author | Raymond Hettinger <python@rcn.com> | 2004-07-10 14:14:37 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-07-10 14:14:37 (GMT) |
commit | bf4406971ce34434ed914d17fab70370948d2aab (patch) | |
tree | f2b71e0dc3238ab5bc69f465497f5a10fc4e4d9d /Lib/test/test_socket.py | |
parent | d9dfe0213fa391a212d2557271fa6b4e8dc91a1f (diff) | |
download | cpython-bf4406971ce34434ed914d17fab70370948d2aab.zip cpython-bf4406971ce34434ed914d17fab70370948d2aab.tar.gz cpython-bf4406971ce34434ed914d17fab70370948d2aab.tar.bz2 |
Improve Context construction and representation:
* Rename "trap_enablers" to just "traps".
* Simplify names of "settraps" and "setflags" to just "traps" and "flags".
* Show "capitals" in the context representation
* Simplify the Context constructor to match its repr form so that only
the set flags and traps need to be listed.
* Representation can now be run through eval().
Improve the error message when the Decimal constructor is given a float.
The test suite no longer needs a duplicate reset_flags method.
Diffstat (limited to 'Lib/test/test_socket.py')
0 files changed, 0 insertions, 0 deletions