You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/ericvsmith'closed_at=<Date2009-10-19.14:41:03.244>created_at=<Date2009-10-19.00:59:58.818>labels= ['docs']
title='Document PyFloat_AsString and PyFloat_AsReprString as deprecated and unsafe'updated_at=<Date2009-10-19.14:41:03.242>user='https://github.com/ericvsmith'
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.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: