On Tue, 8 Oct 2013, Dima Tisnek wrote:

options like *_PENALTY_SIZE are "magic" in a sense that using these doesn't encourage good APIs.

How so?

Those options were added based on real-world HTTP pipelining experiences. I don't see how they make the API worse or better in any way.

they are still safe to export in hopes that someone finds a good, sensible use.

What's an insensible use of them?

some easy options on the other hand may be just too hard to implement correctly/nicely, e.g. SSL_CTX_*, error buffer, file object magic. that is these features should be exported, but only in some reasonable python bindings rather than directly.

True, you may need to wrap a bunch of options in necessary language specific magic. Like how all the callback options need to be handled to make sense for example.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to