/usr/lib/python2.7/dist-packages/stomp/backwardsock.py is in python-stomp 4.1.19-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | """Networking functions to support backwards compatibility.
Distinct from the backward(2/3) functions to handle ipv6 changes between Python versions 2.5 and 2.6.
"""
import sys
if sys.hexversion < 0x02060000: # < Python 2.6
from stomp.backwardsock25 import *
else: # Python 2.6 onwards
from stomp.backwardsock26 import *
|