commit | 4441001b56d6179cc3bfa540493a7eb6e0324172 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Fri Sep 14 03:26:08 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Fri Sep 14 03:26:08 2001 +0000 |
tree | f025f77a8951f333b4878422230f8eef8ce09888 | |
parent | 0ab085c4cba79c1743288a300425b3c9050250ba [diff] |
The end of [#460467] file objects should be subclassable. A surprising number of changes to split tp_new into tp_new and tp_init. Turned out the older PyFile_FromFile() didn't initialize the memory it allocated in all (error) cases, which caused new sanity asserts elsewhere to fail left & right (and could have, e.g., caused file_dealloc to try decrefing random addresses).