[issue9844] calling nonexisting function under __INSURE__

2011-01-14 Thread Eli Bendersky
Eli Bendersky added the comment: Backported to release31: r87994 (with svnmerge) -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue9844] calling nonexisting function under __INSURE__

2011-01-13 Thread Eli Bendersky
Eli Bendersky added the comment: Committed r87991 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue9844] calling nonexisting function under __INSURE__

2011-01-13 Thread Nick Coghlan
Nick Coghlan added the comment: A quick Google search suggests that code is there to make Insure++ happy, so +1 for Eli's simple fix. Georg hasn't closed the py3k branch yet, so go ahead and commit it. (3.2c1 is due this Saturday, so it's worth keeping a close eye on python-committers for th

[issue9844] calling nonexisting function under __INSURE__

2011-01-13 Thread Eli Bendersky
Eli Bendersky added the comment: Attaching a patch that removes the call of the non-existing function in py3k. I ran the test suite and make patchcheck. I don't remove the whole __INSURE__ since someone might still want it in (and I don't have the tool to play around with it). But the call sh

[issue9844] calling nonexisting function under __INSURE__

2011-01-13 Thread Eli Bendersky
Eli Bendersky added the comment: This code is in Modules/main.c, function Py_Main. In 2.7, only _Py_ReleaseInternedStrings is called, and this function is defined in Objects/stringobject.c In 3k, the two functions are called as specified above. _Py_ReleaseInternedStrings doesn't exist in 3k

[issue9844] calling nonexisting function under __INSURE__

2011-01-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: If the source will not compile with __INSURE__ defined, then perhaps no one has ever tried to do that with 3.x. That would suggest that the ifdef could be removed. In any case, the non-function call should be removed. Is the other function called anywhere else

[issue9844] calling nonexisting function under __INSURE__

2010-09-13 Thread Eli Bendersky
Eli Bendersky added the comment: Barry, I've taken the liberty to add you to the nosy list because I found in the logs you've originally added this code (in 2001!!) I hope it's OK with you :-) -- nosy: +barry ___ Python tracker

[issue9844] calling nonexisting function under __INSURE__

2010-09-12 Thread Eli Bendersky
New submission from Eli Bendersky : The Py_Main function has a section under #ifdef __INSURE__ at the end, where it does: _Py_ReleaseInternedStrings(); _Py_ReleaseInternedUnicodeStrings(); The first function doesn't exist in Python 3K, so there will be a compile error with __INSURE__