Thread: psycopg2.extras DictCursor typos

psycopg2.extras DictCursor typos

From
Alexey Luchko
Date:
Hi!

lib/extras.py lines 123 and 128 refer to _cursor, but the class is
inherited from DictCursorBase.


https://dndg.it/cgi-bin/gitweb.cgi?p=public/psycopg2.git;a=blob;f=lib/extras.py;h=2e3974b648bf10c76af8fdfbeb6add8aae3475a3;hb=HEAD#l123

--
Regards,
Alexey.


Re: psycopg2.extras DictCursor typos

From
Daniele Varrazzo
Date:
On Tue, May 8, 2012 at 3:24 PM, Alexey Luchko <luch@ank-sia.com> wrote:
> Hi!
>
> lib/extras.py lines 123 and 128 refer to _cursor, but the class is inherited
> from DictCursorBase.

Yes, I think it's wrong, thank you.

-- Daniele

Re: psycopg2.extras DictCursor typos

From
Daniele Varrazzo
Date:
On Tue, May 8, 2012 at 3:44 PM, Daniele Varrazzo
<daniele.varrazzo@gmail.com> wrote:
> On Tue, May 8, 2012 at 3:24 PM, Alexey Luchko <luch@ank-sia.com> wrote:
>> Hi!
>>
>> lib/extras.py lines 123 and 128 refer to _cursor, but the class is inherited
>> from DictCursorBase.
>
> Yes, I think it's wrong, thank you.

Fog, I've already fixed it in my devel: you can pull from there
instead of patching it yourself.

-- Daniele

Re: psycopg2.extras DictCursor typos

From
Federico Di Gregorio
Date:
On 08/05/12 16:44, Daniele Varrazzo wrote:
> On Tue, May 8, 2012 at 3:24 PM, Alexey Luchko <luch@ank-sia.com> wrote:
>> > Hi!
>> >
>> > lib/extras.py lines 123 and 128 refer to _cursor, but the class is inherited
>> > from DictCursorBase.
> Yes, I think it's wrong, thank you.

Definitely a typo.

federico

--
Federico Di Gregorio                         federico.digregorio@dndg.it
Studio Associato Di Nunzio e Di Gregorio                  http://dndg.it
 Il panda ha l'apparato digerente di un carnivoro (e.g., di un orso).
  Il panda ha scelto di cibarsi esclusivamente di germogli di bambù.
  Quindi, il panda è l'unico animale vegano del pianeta. Il panda
  merita di estinguersi.                       -- Maria, Alice, Federico

Re: psycopg2.extras DictCursor typos

From
Federico Di Gregorio
Date:
On 08/05/12 16:52, Daniele Varrazzo wrote:
> On Tue, May 8, 2012 at 3:44 PM, Daniele Varrazzo
> <daniele.varrazzo@gmail.com> wrote:
>> > On Tue, May 8, 2012 at 3:24 PM, Alexey Luchko <luch@ank-sia.com> wrote:
>>> >> Hi!
>>> >>
>>> >> lib/extras.py lines 123 and 128 refer to _cursor, but the class is inherited
>>> >> from DictCursorBase.
>> >
>> > Yes, I think it's wrong, thank you.
> Fog, I've already fixed it in my devel: you can pull from there
> instead of patching it yourself.

Done. Thanks.

federico

--
Federico Di Gregorio                         federico.digregorio@dndg.it
Studio Associato Di Nunzio e Di Gregorio                  http://dndg.it
            Bhoe, bhe, bhe. Sono brutto e cattivo. Brutto lama! -- Cuzco