[issue3852] kqueue.control requires 2 params while docs say max_events (the second) defaults to 0

2008-09-21 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Committed patch in r66523. At least for now, code and docs are consistent again. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3852

[issue3852] kqueue.control requires 2 params while docs say max_events (the second) defaults to 0

2008-09-20 Thread Gabriel Genellina
Gabriel Genellina [EMAIL PROTECTED] added the comment: Attached a documentation patch, including the kqueue.control function docstring. But I wonder if the code was incorrect instead - both the documentation and the function docstring specified a default value for max_events=0, and the

[issue3852] kqueue.control requires 2 params while docs say max_events (the second) defaults to 0

2008-09-12 Thread Maries Ionel Cristian
New submission from Maries Ionel Cristian [EMAIL PROTECTED]: http://docs.python.org/dev/library/select.html#id1 Docs say: select.control(changelist, max_events=0[, timeout=None]) However, control requires 2 params (TypeError: control() takes at least 2 arguments (1 given)). Also, it should be

[issue3852] kqueue.control requires 2 params while docs say max_events (the second) defaults to 0

2008-09-12 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- assignee: georg.brandl - christian.heimes nosy: +christian.heimes ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3852 ___