[issue7777] Support needed for AF_RDS family

Charles-François Natali report at bugs.python.org
Tue Nov 1 22:50:55 CET 2011


Charles-François Natali <neologix at free.fr> added the comment:

> - the tests are skipped with "unable to bind RDS socket" here (even
> under root). Is it expected?

Oops. I did a quick test to force the socket family (because RDS sockets really use sockaddr_in), and apparently I overwrote my original patch... Here's the correct one.
As long as the `rds` module is loaded, all the tests should pass.

> - socket.error is the same as OSError now

I changed this in this patch.
I'll update the other occurrences in test_socket in a separate patch.

> - there are some ResourceWarnings abount unclosed sockets when
> running the tests

Same thing here, I fixed those in my original patch, then somehow overwrote it with a previous version...

----------
Added file: http://bugs.python.org/file23588/socket_rds-1.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7777>
_______________________________________


More information about the Python-bugs-list mailing list