Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: It's true that the order of arguments is difficult to remember correctly. However I think this deserves Guido's approval.
About the implementation: To build the kw dict, did you consider using Py_BuildValue? Something like: kw = Py_BuildValue("{si ss ss}", "buffering", buffering, "encoding", encoding, "errors", errors, ...); is simpler to write, if you consider error handling. ---------- nosy: +amaury.forgeotdarc, gvanrossum _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4121> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com