Peter Inglesby

Results 22 comments of Peter Inglesby

Hi all, I've had some thoughts about what an event handling execution model might look like, and it's a bit different to what's been proposed in this thread so far....

Hi @sparkslabs -- this looks interesting. I'll try to read it properly later in the day. One thing for now: GitHub is somehow hiding the second half of your comment,...

I've been thinking about this a bit more this evening, and I've come to the conclusion that without introducing people to classes and objects, the callback approach I outlined last...

I've been working on an implementation of an event loop over the last few evenings. See #129 for details.

> SQLAlchemy is not doing anything strange here, it's just setting up a module level cache. That's a very common pattern in python. Agree. > I think the bug is...

Hey @alexwlchan. I agree this would be useful. Do you have any thoughts about what a good API for this might be?

Hi @rkrp. That looks like a sensible approach. One question: what should the default behaviour be? I think that following redirects should be the default, as this is what people...

Yes, when you come to implement this, please include tests. Good luck with your exams!

Hi @rkrp! I'm one step ahead! Last night, I added a [commit](https://github.com/inglesp/http-crawler/commit/f2c9d379e01a0d2e6b12a67dbafd7f526cfdf3db) that adds a new option to `crawl()`, and in the process, refactored the test code to move `_serve()`...

Hi @rkrp -- how's this going? Anything I can help with?