David Abrahams wrote: > Someone I work with recently caused a test to start asserting in VC7's > instrumented free() call, using a pydebug build. He explained the > change this way: > > "I switched from PyObject_New to PyObject_NEW, which according to it's > documentation omits the check for type_object != 0 and consequently > should run a little bit faster" > > [he doesn't ever pass 0 as the typeobject] > > Did he miss some other important fact about PyObject_NEW? Does the > doc need to be fixed? Does he use PyObject_DEL() to free the object ? -- Marc-Andre Lemburg eGenix.com Professional Python Software directly from the Source (#1, Mar 12 2003) >>> Python/Zope Products & Consulting ... http://www.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ Python UK 2003, Oxford: 20 days left EuroPython 2003, Charleroi, Belgium: 104 days left
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4