<br><br><div class="gmail_quote">On Tue, Jun 10, 2008 at 9:04 AM, Jean-Paul Calderone &lt;<a href="mailto:exarkun@divmod.com">exarkun@divmod.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
 &nbsp; exarkun@charm:~$ ~/Projects/python/trunk/python<br>
 &nbsp; Python 2.6a3+ (trunk:63964, Jun &nbsp;5 2008, 16:49:12)<br>
 &nbsp; [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2<br>
 &nbsp; Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br>
 &nbsp; &gt;&gt;&gt; import struct<br>
 &nbsp; &gt;&gt;&gt; struct.pack(&quot;357913941c&quot;, &#39;a&#39;)<br>
 &nbsp; Segmentation fault<br>
 &nbsp; exarkun@charm:~$<br>
<br>
The unit test for exactly this case was deleted in r60892. &nbsp;I would like to<br>
suggest that just deleting unit tests isn&#39;t a very good idea.<br>
<br>
Jean-Paul<br></blockquote></div><br>That deletion was apparently in the release25-maint branch where this bug has been fixed in order to avoid the test case from allocating 8gb on 64bit hosts where it wouldn&#39;t need to raise a MemoryError (<a href="http://bugs.python.org/issue2137">http://bugs.python.org/issue2137</a>).&nbsp; However it looks like it was never committed to trunk.&nbsp; (release25-maint r60793 has a lot of fixes)<br>
<br>I&#39;m looking into merging the fixes into trunk.<br><br>Martin, since you committed 60793 in Feb, any others like this that need merging from release25-maint to trunk off the top of your head?<br><br>-Greg<br><br>