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 ned.deily
Recipients flox, ned.deily, pitrou
Date 2012-07-07.23:20:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341703244.28.0.749547017485.issue15285@psf.upfronthosting.co.za>
In-reply-to
Content
Actually this is a real test case error.  The problem is observed when the system under test is connected to subnet "10.0.x.x".  The requested address (10.0.0.0) is then a broadcast address for the subnet.  On OS X and (I believe) BSD networking systems, the connect system call checks for this (see man 3 connect) and is documented to fail with:

   [EACCES]  The destination address is a broadcast address and the
             socket option SO_BROADCAST is not set.

When running on a testing Debian Linux 3.2.0 kernel in a VM, the same connect fails with: Errno 113] No route to host, which results in the test being skipped with:
Resource '10.0.0.0' is not available

The test could be changed to pick a (hopefully unused) non-broadcast address or support.transient_internet could add EACCES to its default_errnos, possibly just for BSD/OSX platforms.
History
Date User Action Args
2012-07-07 23:20:44ned.deilysetrecipients: + ned.deily, pitrou, flox
2012-07-07 23:20:44ned.deilysetmessageid: <1341703244.28.0.749547017485.issue15285@psf.upfronthosting.co.za>
2012-07-07 23:20:42ned.deilylinkissue15285 messages
2012-07-07 23:20:42ned.deilycreate