This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: "Decimal(2) != float(2)" documentation bug
Type: Stage: resolved
Components: Documentation Versions: Python 3.2, Python 3.3, Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, georg.brandl, maker, mark.dickinson, python-dev, serhiy.storchaka, terry.reedy
Priority: normal Keywords:

Created on 2012-10-06 11:18 by maker, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (6)
msg172182 - (view) Author: Michele Orrù (maker) * Date: 2012-10-06 11:18
Follows from the discussion on python-dev:
http://mail.python.org/pipermail/python-dev/2012-September/121871.html
msg172187 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-10-06 11:49
New changeset ee71d8023f1b by Georg Brandl in branch '3.3':
Closes #16149: remove now-false statement about the inability to compare Decimal and float objects.
http://hg.python.org/cpython/rev/ee71d8023f1b
msg172201 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2012-10-06 14:39
I think the fix should be applied to 2.7 and 3.2 too. See issue2531 which allowed comparing decimals and floats.
msg172202 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2012-10-06 14:48
Ah, sorry, I thought this was a 3.3 thing.
msg172225 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-10-06 17:21
New changeset 1dc66e654806 by Georg Brandl in branch '3.2':
Closes #16149: remove now-false statement about the inability to compare Decimal and float objects.
http://hg.python.org/cpython/rev/1dc66e654806
msg172226 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2012-10-06 17:22
Planted to 3.2 in 1dc66e654806.  Turns out the offending paragraph wasn't in 2.7.
History
Date User Action Args
2022-04-11 14:57:36adminsetgithub: 60353
2012-10-06 18:13:26serhiy.storchakasetversions: - Python 2.7
2012-10-06 17:22:16georg.brandlsetmessages: + msg172226
2012-10-06 17:21:50python-devsetstatus: open -> closed

messages: + msg172225
2012-10-06 14:48:44georg.brandlsetnosy: + georg.brandl
messages: + msg172202
2012-10-06 14:39:25serhiy.storchakasetstatus: closed -> open
versions: + Python 2.7, Python 3.2
nosy: + serhiy.storchaka, mark.dickinson

messages: + msg172201
2012-10-06 11:49:29python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg172187

resolution: fixed
stage: resolved
2012-10-06 11:18:49makercreate