[BUG] 0.15rc2: DeprecationWarning: struct integer overflow masking is deprecated

Jari Aalto jari.aalto at cante.net
Thu Mar 22 17:17:13 GMT 2007


John Arbash Meinel <john at arbash-meinel.com> writes:

> Jari Aalto wrote:
> 
> > FYI, Cygwin's 0.15rc2 reports following message:
> > 
> >  $ bzr ci -m  "..."
> >  /usr/lib/python2.5/site-packages/bzrlib/dirstate.py:2302: DeprecationWarning: struct integer overflow masking is deprecated
> >   , st.st_dev, st.st_ino, st.st_mode))[:-1]
>
> struct.pack('>LLLLLL') instead of struct.pack('>llllll')
> 
> Can you try using 'LLLLLL' and see if it avoids the warning for you?

I'm sorry to report that changign to use 'L' did not help. Do you have
other suggestions to try?

Jari





More information about the bazaar mailing list