[WIP]Add missing posix attributes

Closed Bitbucket Importer requested to merge bitbucket/declined-pr-592 into branch/py3.5