socket: workaround socket close problem
The socket implementation used to only call close on a socket when all references where gone. This works fine for cpython which uses reference counting but for pyston (and pypy) this is a problem. This works around the problem in a similar way as pypy does. It also uses the same method names so that 3th party libs which already support pypy will automatically work with pyston too. (e.g. urllib3)
Showing
test/cpython/badcert.pem
0 → 120000
test/cpython/badkey.pem
0 → 120000
test/cpython/keycert.pem
0 → 120000
test/cpython/nokia.pem
0 → 120000
test/cpython/nullcert.pem
0 → 120000
test/cpython/sha256.pem
0 → 120000
test/cpython/wrongcert.pem
0 → 120000