#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.
Close #18285: add 'repeat' parameter to docstring for product
Closes #18220: expand itertools.islice docstring to 2 lines
Issue #18137: Detect integer overflow on precision in float.__format__() and
complex.__format__().
_ssl.c: strip trailing spaces
Issue #18135: Fix a possible integer overflow in ssl.SSLSocket.write()
and in ssl.SSLContext.load_cert_chain() for strings and passwords longer
than 2 gigabytes.
Solaris' /dev/null is a symlink. The device test now uses stat instead of lstat to compensate
for symlinks.
Fixed issue #18260: configparser TypeError on source name specified as bytes
Issue #18184: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raise
OverflowError when an argument of %c format is out of range.
Merge heads
#18179: document the local_hostname parameter.

Original patch by Berker Peksag.
#18179: reflow paragraphs.
Check for correct macro, code uses S_ISDIR().