Message285891
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 |
|
Date |
User |
Action |
Args |
2017-01-20 08:29:06 | Wen Adam | set | recipients:
+ Wen Adam, neologix |
2017-01-20 08:29:05 | Wen Adam | set | messageid: <1484900945.96.0.01738502245.issue29332@psf.upfronthosting.co.za> |
2017-01-20 08:29:05 | Wen Adam | link | issue29332 messages |
2017-01-20 08:29:05 | Wen Adam | create | |
|