New submission from Eric Smith <e...@trueblade.com>: These functions are unsafe and I'd like to delete them. They've already been deleted in py3k, per PEP 3100. They are no longer used internally to the interpreter.
They should be documented as deprecated and as unsafe. They write to a char* parameter, but don't take a length, so they could overwrite the passed-in buffer. There's some argument to be made that we should also document PyFloat_AsStringEx, which is also deprecated and unsafe. But it is not in a .h file in 2.4, 2.5, or 2.6, so I'd like to just delete it for 2.7. ---------- assignee: georg.brandl components: Documentation messages: 94230 nosy: eric.smith, georg.brandl priority: normal severity: normal status: open title: Document PyFloat_AsString and PyFloat_AsReprString as deprecated and unsafe versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7168> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com