New submission from Eric Smith <e...@trueblade.com>: PyOS_ascii_formatd is no longer needed, now that we have PyOS_double_to_string. PyOS_ascii_formatd has a horrible interface, requiring a format string to be composed and then parsed. The format string is a very limited printf-like format string.
In 2.7 and 3.1 I'm going to deprecate this function. As a temporary measure I'm going to create a similar function _PyOS_ascii_formatd (with a leading underscore) that does not raise a DeprecationWarning and that takes discrete parameters. In 2.8 (if it exists) and 3.2 I'll remove PyOS_ascii_formatd. ---------- assignee: eric.smith components: Interpreter Core messages: 86446 nosy: eric.smith, marketdickinson priority: release blocker severity: normal status: open title: Deprecate PyOS_ascii_formatd type: behavior versions: Python 2.7, Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5835> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com