Le mardi 22 novembre 2011 02:02:05, Victor Stinner a écrit : > This function is broken by design if an error handler is specified: the > caller cannot know the size of the output buffer, whereas the caller has > to allocate this buffer. > > I propose to raise an error if an error handler (different than "strict") > is specified) and do this change in Python 2.7, 3.2 and 3.3. > > In Python 2.7 code base, PyUnicode_EncodeDecimal() is always called with > errors=NULL. In Python 3.x, the function is no more called. I opened the following issue for this point: http://bugs.python.org/issue13452 Victor
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4