On Thu, Aug 8, 2019 at 1:33 PM Peter Otten <__pete...@web.de> wrote:
>
> Larry Martell wrote:
>
> >> Pyke has been ported to py3. Here is the code that returns the data I
> >> am trying to process:
> >>
> >> return map(self.doctor_answer, it)
> >>
> >> I don't see anything calling imap.
> >
> > I g
Larry Martell wrote:
>> Pyke has been ported to py3. Here is the code that returns the data I
>> am trying to process:
>>
>> return map(self.doctor_answer, it)
>>
>> I don't see anything calling imap.
>
> I grepped through the entire pyke code and imap is not in there.
Fire up the python3 interp
On Thu, Aug 8, 2019 at 12:34 PM Rhodri James wrote:
>
> On 08/08/2019 17:16, Larry Martell wrote:
> > On Thu, Aug 8, 2019 at 11:30 AM Peter Otten <__pete...@web.de> wrote:
> >>
> >> Larry Martell wrote:
> [snip]
> >>> But in py3 that fails with: AttributeError: module 'itertools' has no
> >>> attr
On 08/08/2019 17:16, Larry Martell wrote:
On Thu, Aug 8, 2019 at 11:30 AM Peter Otten <__pete...@web.de> wrote:
Larry Martell wrote:
[snip]
But in py3 that fails with: AttributeError: module 'itertools' has no
attribute 'imap'
In Python 3 the map() builtin is "lazy", so you can use that ins
On Thu, Aug 8, 2019 at 12:16 PM Larry Martell wrote:
>
> On Thu, Aug 8, 2019 at 11:30 AM Peter Otten <__pete...@web.de> wrote:
> >
> > Larry Martell wrote:
> >
> > > I have some code that is using the pyke package
> > > (https://sourceforge.net/projects/pyke/). That project seems fairly
> > > dead
On Thu, Aug 8, 2019 at 11:30 AM Peter Otten <__pete...@web.de> wrote:
>
> Larry Martell wrote:
>
> > I have some code that is using the pyke package
> > (https://sourceforge.net/projects/pyke/). That project seems fairly
> > dead, so asking here.
> >
> > There is a pyke function that returns a cont
On 2019-08-08 15:29, Larry Martell wrote:
I have some code that is using the pyke package
(https://sourceforge.net/projects/pyke/). That project seems fairly
dead, so asking here.
There is a pyke function that returns a context manager with an
iterable map. In py2.7 I did this:
from pyke import
Larry Martell wrote:
> I have some code that is using the pyke package
> (https://sourceforge.net/projects/pyke/). That project seems fairly
> dead, so asking here.
>
> There is a pyke function that returns a context manager with an
> iterable map. In py2.7 I did this:
>
> from pyke import knowl