Samuel Colvin

Results 1078 comments of Samuel Colvin

Works fine for me on Linux. One last thing to check before I report to pyo3. You mentioned you're on `amd64`, I'm on `x86_64`, could you just run `python -c...

I think you should create an issue on pyo3 and see if those guys can help. I think it could be related to https://github.com/samuelcolvin/watchfiles/blob/7cc903004bbea712a295c6674e728ce27752b0dc/src/lib.rs#L276 But I really don't know.

closed since https://github.com/PyO3/pyo3/issues/2525 was closed.

Well python sets don't maintain order, so it doesn't really matter what type we use in rust. I assume that offer doesn't matter, but de-duplication does, hence the use of...

Because depending on the OS there can easily be duplicates in the file changes. For example two "file modified" events because the data is modified and also the timestamp. E.g....

What you miss is that filesystem changes are often delayed by seconds or even tens of seconds, and can arrive or of order. The delay issue is particularly prevalent on...

Ok, the rust wouldn't be that hard. I'll leave this open as a python interface to the underlying changes would be useful.

Code is currently closed source to avoid confusion, but if I can make it work it will end up being OS. I'll invite you as a collaborator so you can...

This is really interesting, thank you so much. Stuff like this scares me a little, the explanation is beyond my knowledge. If I hadn't happened upon this fix, I would...

Thanks so much for making me aware. I hadn't seen this because 1) my tests for mappings were not good enough 🙈 2) I trusted pyo3 too much. Should be...