Message74732
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:20 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, gvanrossum, vstinner |
2008-10-14 11:45:20 | amaury.forgeotdarc | set | messageid: <1223984720.45.0.932630021557.issue4121@psf.upfronthosting.co.za> |
2008-10-14 11:45:19 | amaury.forgeotdarc | link | issue4121 messages |
2008-10-14 11:45:19 | amaury.forgeotdarc | create | |
|