This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | Rhamphoryncus |
|---|---|
| Recipients | Rhamphoryncus |
| Date | 2008年06月20日.21:36:03 |
| SpamBayes Score | 0.19259806 |
| Marked as misclassified | No |
| Message-id | <1213997766.53.0.685117931663.issue3153@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Found in Modules/_sqlite/cursor.c: self->statement = PyObject_New(pysqlite_Statement, &pysqlite_StatementTy pe); if (!self->statement) { goto error; } rc = pysqlite_statement_create(self->statement, self->connection, operation); if (rc != SQLITE_OK) { self->statement = 0; goto error; } Besides the ugliness of allocating the object before passing it to the "create" function, if pysqlite_statement_create fails, the object is leaked. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年06月20日 21:36:07 | Rhamphoryncus | set | spambayes_score: 0.192598 -> 0.19259806 recipients: + Rhamphoryncus |
| 2008年06月20日 21:36:06 | Rhamphoryncus | set | spambayes_score: 0.192598 -> 0.192598 messageid: <1213997766.53.0.685117931663.issue3153@psf.upfronthosting.co.za> |
| 2008年06月20日 21:36:05 | Rhamphoryncus | link | issue3153 messages |
| 2008年06月20日 21:36:04 | Rhamphoryncus | create | |