UP929312

Results 6 issues of UP929312

### Describe your change: * [ ] Add an algorithm? * [x] Fix a bug or typo in an existing algorithm? * [x] Documentation change? ### Checklist: * [x] I...

enhancement
stale
awaiting reviews

## What do these changes do? Add in missing requirement, fix link that's different for no reason. These changes fix the missing requirement for frozenlist in the file, as well...

context managers, tuple unpacking, enumerate all should be used.

This pull request uses context managers to cleanup the outdated open, read/write, close and should be used instead. It also forces a flush, so that is also not needed.