mkrd

Results 18 comments of mkrd

Oh good to know! Back when I learned python, it didn’t guarantee the order so I assumed that would still be the case. Since this library doesn’t support python versions...

Also, an update to the docs would be required, but that’s also only a few lines of text

```python import time import mmap def naive_insert_at_beginning(): t1 = time.monotonic() with open("ddb_storage/users copy.json", "r+b") as f: data = f.read() f.seek(0) f.write(b"aaaa" + data) f.flush() t2 = time.monotonic() print(f"Time taken: {(t2...

@UmbrellaMalware I did a quick rebase to incorporate die latest changes in main

> > @UmbrellaMalware I did a quick rebase to incorporate die latest changes in main > > I need to test new functionality, I just found a bug in the...

Thanks for the comment! I think you are absolutely right, the example is just bad. I opened an issue to find a better one. Especially in the academic field, theres...

@jmgamboa It exists, and behaves just like a regular dict pop. It does not accept paths, but you can always get the nested pathdict, and use the pop method there,...

It could be done in https://github.com/mikeckennedy/jinja_partials/blob/31e813008dc60d1e8c0e7c2ad0fb6045ae54009a/jinja_partials/__init__.py#L58 It checks if flask is installed, and if yes, the render function could be replaced with one that automatically injects the context