[issue4497] Compiler warnings in longobject.c

2008-12-05 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: > r65789 That should be r67589. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-

[issue4497] Compiler warnings in longobject.c

2008-12-05 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: Fixed in r67588 (py3k), r65789 (release30-maint). None of the fixes apply to 2.x. -- resolution: -> fixed status: open -> closed versions: -Python 2.6, Python 2.7 ___ Python tracker <[EMAIL PROTE

[issue4497] Compiler warnings in longobject.c

2008-12-03 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Yes, the compiler is happy now. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bu

[issue4497] Compiler warnings in longobject.c

2008-12-03 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: Raymond, could you please try the attached patch to see if it silences the compiler? -- keywords: +patch Added file: http://bugs.python.org/file12212/issue4497.patch ___ Python tracker <[EMAIL PRO

[issue4497] Compiler warnings in longobject.c

2008-12-03 Thread Mark Dickinson
Changes by Mark Dickinson <[EMAIL PROTECTED]>: -- versions: +Python 2.6, Python 2.7, Python 3.1 ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue4497] Compiler warnings in longobject.c

2008-12-03 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: This is on Windows, right? I don't know of any other platforms where __int64 is defined. At a first glance, it looks as though the code's correct, so we probably just need to add some casts to silence the compiler. I'll add them to the p

[issue4497] Compiler warnings in longobject.c

2008-12-02 Thread Raymond Hettinger
New submission from Raymond Hettinger <[EMAIL PROTECTED]>: longobject.c ..\..\Objects\longobject.c(201) : warning C4244: '=' : conversion from 'long' to 'digit', possible loss of data ..\..\Objects\longobject.c(212) : warning C4244: '=' : conversion from 'long' to 'digit', possible loss of data .