This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Wen Adam
Recipients Wen Adam, neologix
Date 2017-01-20.08:29:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484900945.96.0.01738502245.issue29332@psf.upfronthosting.co.za>
In-reply-to
Content
SelectSelector._select is differently on different platforms.

On win32, SelectSelector._select is a unbound/bound method and pass instance as the first argument, but on *nix, SelectSelector._select is a builtin_function_or_method(Although self.select still works)

If someone want to replace(or patch) select, he must implement two select function(one is a function, the other is a instance method), 
Otherwise you will get「TypeError: select() takes at most 4 arguments (5 given)」.

And I think make built-in funtion(like len, select.select) as a class attr/method is a black magic(it's still a function) and hard to maintain
History
Date User Action Args
2017-01-20 08:29:06Wen Adamsetrecipients: + Wen Adam, neologix
2017-01-20 08:29:05Wen Adamsetmessageid: <1484900945.96.0.01738502245.issue29332@psf.upfronthosting.co.za>
2017-01-20 08:29:05Wen Adamlinkissue29332 messages
2017-01-20 08:29:05Wen Adamcreate