#18151, part 2: Silence debug build resource warning for each file opened by
'Find in files' by replacing 'open with implicit close' by 'with open' in
GrepDialog method grep_it. Streamline code with enumerate(), direct file
iteration, and output tweak. Add test for this method, including output format.
Issue #18137: Detect integer overflow on precision in float.__format__()
and complex.__format__().
Issue #18135: Fix a possible integer overflow in ssl.SSLSocket.write()
for strings longer than 2 gigabytes.
Solaris' /dev/null is a symlink. The device test now uses stat instead of lstat to compensate
for symlinks.
Issue #18184: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raise
OverflowError when an argument of %c format is out of range.
also backout f1dc30a1be72 for not being a bugfix
#18179: document the local_hostname parameter.

Original patch by Berker Peksag.
#18179: reflow paragraphs.
Merge heads.