This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, gvanrossum, vstinner
Date 2008-10-14.11:45:19
SpamBayes Score 9.5601035e-06
Marked as misclassified No
Message-id <>
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.
Date User Action Args
2008-10-14 11:45:20amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, gvanrossum, vstinner
2008-10-14 11:45:20amaury.forgeotdarcsetmessageid: <>
2008-10-14 11:45:19amaury.forgeotdarclinkissue4121 messages
2008-10-14 11:45:19amaury.forgeotdarccreate