Skip to content

v0.2.2

Compare
Choose a tag to compare
@cptpcrd cptpcrd released this 13 Sep 21:34
· 123 commits to master since this release

Changelog

  • Remove Windows support
    • It unnecessarily complicates portions of the code, especially the testing code.
    • It may require users to set an "invalid parameter handler" for it to work properly. Most probably won't realize this and will be confused to see their programs segfault.
    • The real killer: Windows handles file descriptors differently, and a function that closes all file descriptors just isn't necessary for security on Windows.
      The way I understand it, only file descriptors 0, 1, and 2 are ever inherited across program launches. File handles are inherited by default, but we can't close them.
  • Implement size_hint() for FdIter
  • Add warnings to the docs of iter_open_fds() and iter_possible_fds()
  • Add Solaris/Illumos support
  • Ensure FdIter is fused and mark it as such
  • Minor internal refactoring