[issue4977] test_maxint64 fails on 32-bit systems due to assumption that 64-bit fits into long

2009-04-11 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Closing since I haven't seen any sign of such failures on a 64-bit build. -- resolution: - works for me status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4977

[issue4977] test_maxint64 fails on 32-bit systems due to assumption that 64-bit fits into long

2009-01-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Closing as invalid. -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4977 ___

[issue4977] test_maxint64 fails on 32-bit systems due to assumption that 64-bit fits into long

2009-01-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Reopening at OP's request. -- nosy: +pitrou resolution: invalid - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4977

[issue4977] test_maxint64 fails on 32-bit systems due to assumption that 64-bit fits into long

2009-01-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Two comments: - please be more specific when mentioning a problem (when reading your bug report, I had a hard time figuring out what test_maxint64 could be) - I hope you're testing against trunk or at least 2.6, because the 2.5 branch will only

[issue4977] test_maxint64 fails on 32-bit systems due to assumption that 64-bit fits into long

2009-01-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Antoine, I leave it to you to decide what to do with this. As far as I can see, the only action that one might want to take as a result of this issue is to replace strtol with PyOS_strol in the codebase (in the struct module, and there's also

[issue4977] test_maxint64 fails on 32-bit systems due to assumption that 64-bit fits into long

2009-01-20 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: -marketdickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4977 ___ ___

[issue4977] test_maxint64 fails on 32-bit systems due to assumption that 64-bit fits into long

2009-01-20 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: hiya folks, lots of comments here. in no particular order: 1) thanks for reopening the bug 2) apologies for not being clearer - it's Lib/test/test_testzip.py specifically the TestZip64InSmallFiles case that's failing. 3) it's

[issue4977] test_maxint64 fails on 32-bit systems due to assumption that 64-bit fits into long

2009-01-17 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: From the included patch, I assume you're talking about a failure of test_pickle. I'm not seeing any such failure on my (32-bit) system, and the code in Modules/cPickle.c looks correct to me. I suspect that the problem is that in your

[issue4977] test_maxint64 fails on 32-bit systems due to assumption that 64-bit fits into long

2009-01-17 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: You might try replacing the strtol call with a call to PyOS_strtol. Please let us know if this works! ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4977