getsentry/raven-python — pull request #386 by crankycoder (2013-11-29 16:41:20+00:00)
Title: Fixes the BaseUDPTransport to use IPv4 by default

This is a matching patch for getsentry/sentry#1073

getaddrinfo() does not make any guarantees about the ordering of IPv4 vs IPv6 addresses and BaseUDPTransport was just picking the first address from getaddrinfo. This patch will fall back to using the first IPv4 address by default as per the documentation.