One argument you can make for merging your changes back into trunk is that they will have to fix the unicode issues for Python 3 anyway, so you have already done that part of the work for them.
On Thu, Nov 29, 2012 at 5:46 PM, Michael van der Kolff < mvanderko...@gmail.com> wrote: > Yep, that works! Paramiko's agent handling has all kinds of > string==bytestring assumptions, so I'll need to write some patches for > that. My repo for that work: https://github.com/mvdk/paramiko. > > Cheers, > > Michael > > > On Fri, Nov 30, 2012 at 11:08 AM, Jeff Hardy <jdha...@gmail.com> wrote: > >> No, that should work. Can you try it with FindWindowW? Perhaps there's >> a unicode issue (IronPython strings are unicode). One other thing to >> try would be FindWindowA(b'Pageant', b'Pageant') to force it to use >> byte strings. >> >> - Jeff >> >> On Thu, Nov 29, 2012 at 3:55 PM, Michael van der Kolff >> <mvanderko...@gmail.com> wrote: >> > In paramiko, we try to find a Pageant window using either the win32all >> > module or the ctypes module. >> > >> > win32all is not implemented on IronPython, which is to be expected, but >> > ctypes is. However, FindWindowA doesn't do what we expect: >> > On CPython: >> >>>> import ctypes >> >>>> ctypes.windll.user32.FindWindowA('Pageant','Pageant') >> > 131376 >> > >> > On IronPython: >> >>>> import ctypes >> >>>> ctypes.windll.user32.FindWindowA('Pageant','Pageant') >> > 0 >> > >> > Am I doing something that isn't expected to work? >> > >> > Cheers, >> > >> > >> > Michael van der Kolff >> > >> > _______________________________________________ >> > Ironpython-users mailing list >> > Ironpython-users@python.org >> > http://mail.python.org/mailman/listinfo/ironpython-users >> > >> > > > _______________________________________________ > Ironpython-users mailing list > Ironpython-users@python.org > http://mail.python.org/mailman/listinfo/ironpython-users > >
_______________________________________________ Ironpython-users mailing list Ironpython-users@python.org http://mail.python.org/mailman/listinfo/ironpython-users