[issue7343] What's new in 3.0 says % operator will be deprecated in 3.1
Brett Cannon br...@python.org added the comment: The % operator has not been deprecated, although talk of removing it flares up from time to time. We are still encouraging people to use the new str.format(). -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7343 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7343] What's new in 3.0 says % operator will be deprecated in 3.1
Changes by Eric Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7343 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7343] What's new in 3.0 says % operator will be deprecated in 3.1
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Fixed in r76372: * :ref:`pep-3101`. Note: the 2.6 description mentions the :meth:`format` method for both 8-bit and Unicode strings. In 3.0, only the :class:`str` type (text strings with Unicode support) supports this method; the :class:`bytes` type does not. The plan is to make this the preferred API for string formatting and to de-emphasize the ``%`` string formatting operator. -- nosy: +rhettinger resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7343 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7343] What's new in 3.0 says % operator will be deprecated in 3.1
New submission from Jared Grubb pyt...@jaredgrubb.com: The existing text: http://www.python.org/doc/3.0/whatsnew/3.0.html A new system for built-in string formatting operations replaces the % string formatting operator. (However, the % operator is still supported; it will be deprecated in Python 3.1 and removed from the language at some later time.) Read PEP 3101 for the full scoop. Python 3.1 did not deprecate the % operator, right? Is it appropriate to edit the 3.0 docs to reflect that? -- assignee: georg.brandl components: Documentation messages: 95411 nosy: georg.brandl, jaredgrubb severity: normal status: open title: What's new in 3.0 says % operator will be deprecated in 3.1 versions: Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7343 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com