Marcel Hellkamp

Results 233 comments of Marcel Hellkamp

Debug mode does not enable code reloading on change, just more detailed error messages. See https://bottlepy.org/docs/dev/api.html#bottle.run You are looking for the `reloader` parameter?

Tests do not actually pass yet and test coverage was lacking, so this should be considered a WIP for now and not ready to merge yet. I had a local...

Github actions are kinda useless for testing legacy python versions. I'll have to somehow get those tests working locally. We still want to support 2.7 and 3.6+ with the master...

> May out of scope here, but why do you still keen on supporting legacy python versions on the master branch? Yes you are right, that should not be a...

Unfortunately, all data parsed by `email.parser.FeedParser` will end up in memory buffered `Message`s. Uploading large files (or many small ones) would likely trigger `MemoryError` on a busy server. The parser...

Does not really help for large uploads, as those are still collected as a list of strings in memory before `set_payload` is even called. That behavior is hard-coded in the...

There is no `Scripts` folder in virtualenvs?

That's unfortunate, bottle uses the `form-data/multipart` parser from that library. The PEP says: > FieldStorage/MiniFieldStorage has no direct replacement, but can typically be replaced by using [multipart](https://pypi.org/project/multipart/) (for POST and...

The only viable solution is to copy&paste code from `multipart` into bottle. I really really do not want to do that, but I have no other idea how to maintain...

You can tell bottle to be `quiet=True`. It does not log anything meaningful, so disabling output completely is always an option. There is no strong reason against switching to `logging`,...