Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue7343] "What's new in 3.0" says % operator will be deprecated in 3.1

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Nov 17, 2009, 9:46 PM

Post #1 of 4 (178 views)
Permalink
[issue7343] "What's new in 3.0" says % operator will be deprecated in 3.1

New submission from Jared Grubb <python [at] jaredgrubb>:

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 <report [at] bugs>
<http://bugs.python.org/issue7343>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 18, 2009, 10:38 AM

Post #2 of 4 (152 views)
Permalink
[issue7343] "What's new in 3.0" says % operator will be deprecated in 3.1 [In reply to]

Brett Cannon <brett [at] python> 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 <report [at] bugs>
<http://bugs.python.org/issue7343>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 18, 2009, 11:12 AM

Post #3 of 4 (151 views)
Permalink
[issue7343] "What's new in 3.0" says % operator will be deprecated in 3.1 [In reply to]

Changes by Eric Smith <eric [at] trueblade>:


----------
nosy: +eric.smith

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7343>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 18, 2009, 11:22 AM

Post #4 of 4 (151 views)
Permalink
[issue7343] "What's new in 3.0" says % operator will be deprecated in 3.1 [In reply to]

Raymond Hettinger <rhettinger [at] users> 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 <report [at] bugs>
<http://bugs.python.org/issue7343>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.