Signed-off-by: Daira Hopwood <daira@jacaranda.org>
path = abspath_expanduser_unicode(path)
path = abspath_expanduser_unicode(path)
- # XXX consider using get_pathinfo
+ # TODO: consider using get_pathinfo.
s = os.stat(path)
size = s[stat.ST_SIZE]
ctime = s[stat.ST_CTIME]
s = os.stat(path)
size = s[stat.ST_SIZE]
ctime = s[stat.ST_CTIME]
create_unicode_buffer, get_last_error
from ctypes.wintypes import BOOL, DWORD, LPCWSTR, LPWSTR, LPVOID, HANDLE
create_unicode_buffer, get_last_error
from ctypes.wintypes import BOOL, DWORD, LPCWSTR, LPWSTR, LPVOID, HANDLE
-if sys.platform == "win32":
- from ctypes import WINFUNCTYPE, WinError, windll, POINTER, byref, c_ulonglong, \
- create_unicode_buffer, get_last_error
- from ctypes.wintypes import BOOL, DWORD, LPCWSTR, LPWSTR
-
from twisted.python import log
from pycryptopp.cipher.aes import AES
from twisted.python import log
from pycryptopp.cipher.aes import AES