Anyone have any objection to me adding a few filters for windows paths?
looks pretty straightforward to do, just import ntpath then use the ntpath versions of the os.path methods:
I’m thinking just add the following (and using the ansible-ish convention of starting windows things with win_):
‘win_basename’: partial(unicode_wrap, ntpath.basename),
‘win_dirname’: partial(unicode_wrap, ntpath.dirname),
‘win_expanduser’: partial(unicode_wrap, ntpath.expanduser),
Jon