paramiko deprecation warning

Martin Pool mbp at canonical.com
Tue Feb 6 04:05:43 GMT 2007


On  6 Feb 2007, Martin Pool <mbp at canonical.com> wrote:
> Is anyone else seeing this?
> 
> [124/4342 in 31s] test_bzrdir.TestRemoteSFTP.test_open_containing_tree_or_branch
> /var/lib/python-support/python2.5/paramiko/message.py:226: DeprecationWarning: integer argument expected, got float self.packet.write(struct.pack('>I', n))
> 
> I only get this with feisty's python2.5, not with 2.4.

I think it's this:

  https://bugs.launchpad.net/paramiko/+bug/83523

I thought it would probably be stat, because that was the only place I
could think of for non-integers to come in.  It was a bit hard to reduce
because the error is actually raised in the server thread -- I ended up
just putting in an "if not isinstance... set_trace()".

-- 
Martin



More information about the bazaar mailing list