main logo
Subject: Re: [dabo-dev] what is the point of _getCursorClass()
Author: Carl Karsten
Posted: 2007/04/30 19:26:50
 
View Entire Thread
New Search


Ed Leafe wrote:
> On Apr 30, 2007, at 7:11 PM, Carl Karsten wrote:
>
>>> I see 3 places where this is needed in dBizobj. So I have a choice
>>> to triplicate the code in those places, or I could write it once in a
>>> function and call that function from three different places.
>> It may help if you add a docstring to _getCursorClass(), but I
>> still have no
>> clue where to put my code.
>
> Oh, c'mon. The name and code is self-documenting. What else could
> possibly be useful?

If I knew that, I wouldn't be asking. so make

>
>> The closest thing I have gotten in the way of advice from you is:
>>
>>> update dbMySQL.py to include that
>>> code, and dBackend.py to add the default method behavior.
>>>
>> Should I just add it, and if you don't like it you can tell me how
>> to implement
>> it?
>
> You haven't explained why "getDBs()" is not generic. It returns a
> list of available databases for a connection, based on what you've
> written. How is that not generic?

I'm not sure how to answer that, but maybe it doesn't matter: Do you care why I
was wrong?

I'll just add away.

Carl K



 
©2007 Carl Karsten
<-- Prior Message New Search Next Message -->