#39 ValueError in _get_candidate_file_descriptor_ranges when all FDs excluded
Closed: Fixed by bignose. Opened by bignose.

When the ‘exclude’ parameter to ‘close_all_file_descriptors’ is a collection that encompasses all possible file descriptors, the ‘_get_candidate_file_descriptor_ranges’ function raises a ValueError exception:

  File "/home/bignose/Projects/python/python-daemon/trunk/daemon/daemon.py", line 916, in _get_candidate_file_descriptor_ranges
    low=min(candidates_list),
ValueError: min() arg is an empty sequence

This is now corrected in commit 68bacf954118f151 on the ‘master’ branch.

Metadata Update from @bignose:
- Issue assigned to bignose

Metadata Update from @bignose:
- Issue tagged with: confirmed

This issue should probably close by now, since it's fixed in the master branch.

This issue should probably close by now, since it's fixed in the master branch.

Metadata Update from @bignose:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata