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.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, belopolsky, fredrikj, jess.austin, jribbens, mark.dickinson, tleeuwenburg@gmail.com, vstinner, webograph
Date 2009-03-25.08:45:07
SpamBayes Score 0.00033540395
Marked as misclassified No
Message-id <1237970711.0.0.965189378834.issue2706@psf.upfronthosting.co.za>
In-reply-to
Content
Well, this already happen with other types:

>>> a   = 100
>>> a //= 2.0
>>> a
50.0

>>> d  = datetime.datetime.now()
>>> d -= datetime.datetime.now()
>>> d
datetime.timedelta(-1, 86391, 609000)

See http://docs.python.org/reference/datamodel.html#object.__iadd__
"... return the result (which could be, but does not have to be, self) ..."
History
Date User Action Args
2009-03-25 08:45:11amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, jribbens, mark.dickinson, belopolsky, vstinner, jess.austin, fredrikj, webograph, tleeuwenburg@gmail.com
2009-03-25 08:45:11amaury.forgeotdarcsetmessageid: <1237970711.0.0.965189378834.issue2706@psf.upfronthosting.co.za>
2009-03-25 08:45:09amaury.forgeotdarclinkissue2706 messages
2009-03-25 08:45:08amaury.forgeotdarccreate