On Jun 23, 2019, at 9:34 AM, johnf <[email protected]> wrote:
> 
> In dUICursosrs I get a Deprecated warning from:
> 
> return wx.StockCursor(id) line 34
> 
> I changed it to
> 
> return wx.Cursor(id) and it works.

OK, thanks. I've made that change locally.

> In dGrid
> 
> I have some code as follows:
> 
> self.gridinstance.processSort(0,True) and uses a data type of a blank str = 
> ''.  Blank but not None.
> 
> Line 3047 in dGrid has the following which fails
> 
> sortingStrings = dataType in six.string_types

Yeah, that was a brain fart, due to the poor naming. I assumed that 'dataType' 
was, you know, a type. :)

> this works:
> 
> sortingStrings = isinstance(dataType, str)

I've change it to that locally.

> Also I was under the impression that we were not going to use 'six'????


There's no rule against it, but since dabo3 is not designed to support Python2, 
there isn't a need for it. But in my "day job" I write code that has to support 
both 2 and 3, so I use six a lot, and that's just what pops into my mind when 
coding now.


-- Ed Leafe






_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/[email protected]

Reply via email to