]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
* set_new() doesn't need to zero the structure a second time after tp_alloc
authorRaymond Hettinger <python@rcn.com>
Sat, 6 Aug 2005 18:31:24 +0000 (18:31 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 6 Aug 2005 18:31:24 +0000 (18:31 +0000)
commit5ba0cbe39221ff8985ce5a4702a3b01a17ae3248
tree1902f3101c306803111ccca197534fcab4bd7a71
parentfe889f3c628797e5d4eb5e8cf26a783ed504a251
* set_new() doesn't need to zero the structure a second time after tp_alloc
  has already done the job.
* Use a macro form of PyErr_Occurred() inside the set_lookkey() function.
Include/pyerrors.h
Objects/setobject.c