only recursively expand in the format spec (closes #17644)
Update docstring for _asdict() to indicate it is obsolete.
Use the cleaner looking @property style for __dict__.
Move _replace() to be just after make() to indicate that
it is a core method on named tuples.
Issue #17989: element_setattro returned incorrect error value.

This caused an exception to be raised later than expected.
Issue #17980: Fix possible abuse of ssl.match_hostname() for denial of service using certificates with many wildcards (CVE-2013-2099).
Close file before reopening to keep Windows happy in test_sax.