resource: various fixes (#3747)

* resource: mark positional-only args
* resource: alias error to OSError
* resource: no longer seems incomplete

At least for Linux and Mac. Might be some things missing for FreeBSD

* resource: fix platform availability
* resource: update whitelist
This commit is contained in:
Shantanu
2020-02-21 02:57:07 -08:00
committed by GitHub
parent a19caac361
commit 374992bff7
2 changed files with 15 additions and 18 deletions

View File

@@ -198,9 +198,6 @@ pyclbr.Function.__init__
queue.SimpleQueue.__init__
random.Random.getrandbits
random.getrandbits
resource.getrlimit
resource.getrusage
resource.setrlimit
secrets.SystemRandom.getstate
secrets.compare_digest
select.epoll.__exit__