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 vstinner
Recipients benjamin.peterson, georg.brandl, methane, serhiy.storchaka, vstinner
Date 2017-02-08.09:33:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwaM45JVyPcvNmgPEZ1jfjo1fS01f7gu+_B-foM4r+2b3w@mail.gmail.com>
In-reply-to <1486544892.3.0.51824922707.issue29463@psf.upfronthosting.co.za>
Content
2017-02-08 10:08 GMT+01:00 INADA Naoki <report@bugs.python.org>:
>      6  def func2():
>      7      """func docstring"""
>      8      1+1

1+1 is replaced with 2 and lone integer literals are removed by the
peephole optimizer. See also the issue #26204.
History
Date User Action Args
2017-02-08 09:33:48vstinnersetrecipients: + vstinner, georg.brandl, benjamin.peterson, methane, serhiy.storchaka
2017-02-08 09:33:48vstinnerlinkissue29463 messages
2017-02-08 09:33:48vstinnercreate