/usr/share/doc/python-logilab-astng/test/regrtest_data/descriptor_crash.py is in python-logilab-astng 0.24.3-1ubuntu1.
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 | import urllib
class Page(object):
_urlOpen = staticmethod(urllib.urlopen)
def getPage(self, url):
handle = self._urlOpen(url)
data = handle.read()
handle.close()
return data
|