[issue3601] test_unicode.test_raiseMemError fails in UCS4

2008-09-05 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Fixed in r66235, r66236. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3601] test_unicode.test_raiseMemError fails in UCS4

2008-08-23 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: This patch is ok on both UCS2 and UCS4 builds (on 32-bit machines). Someone should test it on a 64-bit machine. -- keywords: +needs review, patch Added file: http://bugs.python.org/file11230/memerror2.patch __

[issue3601] test_unicode.test_raiseMemError fails in UCS4

2008-08-21 Thread Antoine Pitrou
Changes by Antoine Pitrou <[EMAIL PROTECTED]>: -- assignee: -> pitrou ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list m

[issue3601] test_unicode.test_raiseMemError fails in UCS4

2008-08-19 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: (the fix is probably trivial, it involves dividing sys.maxsize by the number of bytes of an unicode character, something like: width = sys.getsizeof("a") - sys.getsizeof("") alloc = lambda: u"a" * (sys.maxsize // width) self.asser

[issue3601] test_unicode.test_raiseMemError fails in UCS4

2008-08-19 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Oh. Sorry, I didn't mean to assign it to you anyway. -- assignee: pitrou -> ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3601] test_unicode.test_raiseMemError fails in UCS4

2008-08-19 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Ok, please disable the test for now, I have more important things to do for the beta :) -- components: +Tests priority: critical -> high type: -> behavior versions: +Python 2.6, Python 3.0 ___ Pyt

[issue3601] test_unicode.test_raiseMemError fails in UCS4

2008-08-19 Thread Benjamin Peterson
New submission from Benjamin Peterson <[EMAIL PROTECTED]>: == ERROR: test_raiseMemError (test.test_unicode.UnicodeTest) -- Traceback (most recent call last): F