/usr/lib/python3/dist-packages/postgresql/python/msw.py is in python3-postgresql 1.1.0-1build1.
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 12 13 14 15 16 17 | ##
# .python.msw
##
"""
Additional Microsoft Windows tools.
"""
# for Popen(), not supported on windows
close_fds = False
def platform_exe(name):
"""
Append '.exe' if it's not already there.
"""
if name.endswith('.exe'):
return name
return name + '.exe'
|