[issue3307] invalid check of _bsddb creation failure

2008-07-19 Thread Jesús Cea Avión
Changes by Jesús Cea Avión <[EMAIL PROTECTED]>: -- resolution: -> fixed ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue3307] invalid check of _bsddb creation failure

2008-07-19 Thread Jesús Cea Avión
Jesús Cea Avión <[EMAIL PROTECTED]> added the comment: Solved in my SVN repository. Revision 527. Testsuite updated. Will be available in bsddb 4.7.2. -- status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3307] invalid check of _bsddb creation failure

2008-07-06 Thread Gregory P. Smith
Changes by Gregory P. Smith <[EMAIL PROTECTED]>: -- assignee: -> jcea nosy: +jcea priority: -> normal type: -> crash ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3307] invalid check of _bsddb creation failure

2008-07-06 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: The bug occurs on db_create() failure. Dummy example to reproduce it: "import _bsddb; _bsddb.DB(None, 29.515)" ___ Python tracker <[EMAIL PROTECTED]> _

[issue3307] invalid check of _bsddb creation failure

2008-07-06 Thread STINNER Victor
New submission from STINNER Victor <[EMAIL PROTECTED]>: newDBObject(), called by DB_construct(), doesn't check correctly the result of all to the external function db_create(). It checks if self->db is NULL, but db_create() doesn't change self->db value on error. So if self->db is uninitialize