homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients Rhamphoryncus, effbot, georg.brandl, jcea, ncoghlan, pitrou, timehorse, vstinner
Date 2010年01月14日.17:02:25
SpamBayes Score 1.9350666e-05
Marked as misclassified No
Message-id <1263488548.04.0.00271458300198.issue3299@psf.upfronthosting.co.za>
In-reply-to
Content
Victor, your overflow test in the sre patch tests for TypeError, but OverflowError is actually raised:
======================================================================
ERROR: test_dealloc (test.test_re.ReTests)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/antoine/cpython/debug/Lib/test/test_re.py", line 711, in test_dealloc
 self.assertRaises(TypeError, _sre.compile, "abc", 0, [long_overflow])
 File "/home/antoine/cpython/debug/Lib/unittest/case.py", line 394, in assertRaises
 callableObj(*args, **kwargs)
OverflowError: regular expression code size limit exceeded
----------------------------------------------------------------------
History
Date User Action Args
2010年01月14日 17:02:30pitrousetrecipients: + pitrou, effbot, georg.brandl, jcea, ncoghlan, Rhamphoryncus, vstinner, timehorse
2010年01月14日 17:02:28pitrousetmessageid: <1263488548.04.0.00271458300198.issue3299@psf.upfronthosting.co.za>
2010年01月14日 17:02:26pitroulinkissue3299 messages
2010年01月14日 17:02:25pitroucreate

AltStyle によって変換されたページ (->オリジナル) /