Search found 5 matches

by cr0mbly
Mon Apr 13, 2020 9:39 pm
Forum: Programs, Libraries and Tools
Topic: CSV module devleopment
Replies: 14
Views: 989

Re: CSV module devleopment

Heya stijn thanks for your reply > - you say 'ported from CPython', not sure if that means you started with copying CPython bits but if so it's possible it's license needs to be mentioned (no clue really, just thinking out loud). Ha sorry "ported" here just means copying over the interface, the impl...
by cr0mbly
Sun Apr 12, 2020 5:21 am
Forum: Programs, Libraries and Tools
Topic: CSV module devleopment
Replies: 14
Views: 989

Re: CSV module devleopment

Hey guys I've been working on this for a few weeks now and I just wanted to get some input on you all before I proceed with this further. Here's the current branch I'm working on here https://github.com/micropython/micropython-lib/compare/master...cr0mbly:implement_csv_module?expand=1 So far it impl...
by cr0mbly
Fri Mar 27, 2020 8:04 pm
Forum: Programs, Libraries and Tools
Topic: CSV module devleopment
Replies: 14
Views: 989

Re: CSV module devleopment

I've started working on this under this forked branch https://github.com/cr0mbly/micropython-lib/tree/implement_csv_module I've just added a example test written in the micro-python unittest implementation, is there a reason why the other modules don't utilise this? I'm able to test my work pretty e...
by cr0mbly
Fri Mar 27, 2020 6:26 pm
Forum: Programs, Libraries and Tools
Topic: CSV module devleopment
Replies: 14
Views: 989

Re: CSV module devleopment

Wow thank you all for the discussions this is super helpful! What I was thinking is taking the existing python/Cpython API interface and where possible just recreating it/porting it over to raw python rewriting it back into C down the line when the bottlenecks are found, I guess the interface is a g...
by cr0mbly
Sat Mar 21, 2020 10:31 pm
Forum: Programs, Libraries and Tools
Topic: CSV module devleopment
Replies: 14
Views: 989

CSV module devleopment

Excuse my ignorance first, very interested in this project! Given how the JSON module has been developed to optionally use a c implementation for a large section of it's implementation (swapping back to a python implementation if not available) e.g. try: from _json import make_scanner as c_make_scan...