This project is archived and is in readonly mode.
cursor is not compatible with the with statement
-
Daniele Varrazzo
Nobody has ever said it was.
-
Daniele Varrazzo
- State changed from new to hold
Ticket put on hold: I don't want to add with support until the DB-SIG decides what should be its semantic. I'm not so worried about the cursor: more about the connection as there could be several ways to exit it. Notice though that cursors (the regular ones, not named ones) don't really hold any resource except the memory they have allocated, so using them into a with context doesn't really protect anything.
-
Daniele Varrazzo
- State changed from hold to open
- Milestone set to 2.5
- Milestone order changed from 90 to 0
To be implemented as specified by the new DB-API extension