Re: [Python-Dev] cpython: Issue #16129: Add `Py_SetStandardStreamEncoding`

2013-10-18 Thread Antoine Pitrou
Le Fri, 18 Oct 2013 20:16:03 +1000, Nick Coghlan a écrit : > > > > Also, shouldn't it be excluded from the stable/limited API? > > Since it didn't expose any struct layouts, I just followed the > precedent set by the other PySet_* APIs on that front. Moving it > would be fine, too, though, since

Re: [Python-Dev] cpython: Issue #16129: Add `Py_SetStandardStreamEncoding`

2013-10-18 Thread Nick Coghlan
On 18 Oct 2013 15:20, "Georg Brandl" wrote: > > Am 17.10.2013 17:36, schrieb Antoine Pitrou: > > On Thu, 17 Oct 2013 15:22:03 +0200 (CEST) > > nick.coghlan wrote: > >> > >> +.. c:function:: int Py_SetStandardStreamEncoding(char *encoding, char *errors) > >> + > >> + .. index:: > >> + singl

Re: [Python-Dev] cpython: Issue #16129: Add `Py_SetStandardStreamEncoding`

2013-10-17 Thread Georg Brandl
Am 17.10.2013 17:36, schrieb Antoine Pitrou: > On Thu, 17 Oct 2013 15:22:03 +0200 (CEST) > nick.coghlan wrote: >> >> +.. c:function:: int Py_SetStandardStreamEncoding(char *encoding, char >> *errors) >> + >> + .. index:: >> + single: Py_Initialize() >> + single: main() >> + tri

Re: [Python-Dev] cpython: Issue #16129: Add `Py_SetStandardStreamEncoding`

2013-10-17 Thread Antoine Pitrou
On Thu, 17 Oct 2013 15:22:03 +0200 (CEST) nick.coghlan wrote: > > +.. c:function:: int Py_SetStandardStreamEncoding(char *encoding, char > *errors) > + > + .. index:: > + single: Py_Initialize() > + single: main() > + triple: stdin; stdout; sdterr > + > + This function should