Gregory Ewing wrote, on Thursday, June 01, 2017 12:59 AM
> 
> Deborah Swanson wrote:
> > I got one suggestion that I could just copy the files to "the 
> > appropriate directories",
> 
> That was me, but I've just had a look at the source, and it 
> seems the core functionality is implemented in C, so scrub that idea.

Yes, memoryslots.c is core functionality, and I was just going to have
to fake it if the compiled file needed more than just being dropped into
Site Packages.
 
> But all is not lost. I've found this:
> 
https://pypi.python.org/pypi/namedlist

    "Similar to namedtuple, but instances are mutable."

It's all pure Python -- I checked this time! -- so you shouldn't have
any trouble installing it. In fact it's just a single source file,
namedlist.py. Put that in your site-packages folder and you should be
good to go.

-- 
Greg

Thanks Greg! I just ran into another wall, unsolvable by any methods
I've come up with yet, so I'm trying to unroll the namedtuples into a
list of lists, and that turns out to be trickier than you'd think too.
I'll give namedlist a try, seems the PyPi people have seen that hole in
namedtuples' functionality and have worked on some alternatives.
Spectacular!

Deborah

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to