Re: Missing typecasters [was: Decimal]
Jan UrbaĆski <[email protected]> Wed, 14 Apr 2010 10:16:12 +0200
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On 14/04/10 10:11, Federico Di Gregorio wrote: > On 14/04/2010 09:59, Daniele Varrazzo wrote: >> On Wed, Apr 14, 2010 at 8:01 AM, Federico Di Gregorio <fog-NGVKUo/i/[email protected]> wrote: > Before the release I'd like to have a couple more changes and a final > decision on poll/fileno on the cursor. The changes are trivial and I'll > do them when I'll find 1h of free hacking time: > > executing() -> isexecuting() > issync() -> async attribute (it really just expose the value of the > async parameter given at __init__ time.) Sounds good. > About poll/fileno, now that the semantics are exactly the same I'd like > to remove them from the cursor and have the client code access them > directly on the connection or via cursor.connection and for two reasons: > > 2)If in the future we discover we NEED poll() on the cursor (different > behaviour for named cursors?) adding a method won't break the API while > changing the semantics of an already existing one will. Yeah, that's a good reason, I can make the necessary changes but not sooner than on the weekend. Cheers, Jan