-
-
Notifications
You must be signed in to change notification settings - Fork 533
2.5 broken on OS X: module 'socket' has no attribute 'TCP_DEFER_ACCEPT' #115
Comments
http://linux.die.net/man/7/tcp Apparently |
OK. I'll release 2.5.1 shortly. |
Closed by mistake. |
I think we can safely assume either none or very small section of our users are on Linux 2.4. So I'll make this change for OS X only. I am seeing more that 100 ms gain with this option enabled. Can you please check if 99c1336 works for you? |
I don't have time to read the code and figure out what each line does, but one should really stick to POSIX. If you want to have separate code for Linux then sure, it's your call; as I said I'll no longer work on new features and this is one, so it won't be my domain. Here's |
I wanted to know if the version is working for you. Not asking you to review the change.
Yes, I intend to retain the optimizations for Linux given that both are available in the recent versions. Linux 2.4 was released in Jan 2001. Commit 77fa658 has all these optimization options enabled only for Linux. Please confirm if this works on your system and I'll make the release. |
As said, no. Now it appears to be working. |
Nowhere do we mention Linux before Jan 2001 is not supported. The usual way to feature test in python is try catch. |
I think we can keep arguing on this but it doesn't make practical sense. If someone comes back with reports on kernel 2.4 we'll provide a patch.
I didn't want to make extra calls when it's known to fail. I'll re-look at it later. |
OS X 10.11.5, Python 3.5.1, googler 2.5:
The text was updated successfully, but these errors were encountered: