[New-bugs-announce] [issue5835] Deprecate PyOS_ascii_formatd

Eric Smith report at bugs.python.org
Sat Apr 25 09:44:55 CEST 2009


New submission from Eric Smith <eric at 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 <report at bugs.python.org>
<http://bugs.python.org/issue5835>
_______________________________________


More information about the New-bugs-announce mailing list