The docstring of ResponseSelector.select states that the number of elements contained in a returned list is limited to 10 when the num argument is not given explicitly.
However, current implementation of ResponseSelector.select returns a list whose number of elements is unlimited.
This pull request fixes the above problem and lets ResponseSelector.select behaves expectedly.
Thanks for your PR. I made a mistake in the document you refered to. The default code is what I intended - if num == None, then it returns all the responses.
The docstring of
ResponseSelector.select
states that the number of elements contained in a returned list is limited to 10 when thenum
argument is not given explicitly. However, current implementation ofResponseSelector.select
returns a list whose number of elements is unlimited.This pull request fixes the above problem and lets
ResponseSelector.select
behaves expectedly.