Issue #17832: fix a compilation warning about a function prototype.
Also, make the private function static.
Issue #17244: Windows doesn't let you set permissions on directories.
Issue #17835: Fix test_io when the default OS pipe buffer size is larger than one million bytes.
Issue #17835: Fix test_io when the default OS pipe buffer size is larger than one million bytes.
Issue #17272: Making the urllib.request's Request.full_url a descriptor.  Fixes
bugs with assignment to full_url. Patch by Demian Brecht.