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 martin.panter
Recipients gregory.p.smith, martin.panter
Date 2016-09-09.07:54:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Revision 7eaaac5ad4e8 removed a bunch of “with_statement” __future__ imports, including in Tools/hg/ This is causing a buildbot to fail; presumably it has Python < 2.6 for Mercurial:
Tools/hg/ Warning: 'with' will become a reserved keyword in Python 2.6
*** failed to import extension touch from Tools/hg/ invalid syntax (, line 22)
hg: unknown command 'touch'

The compile step subsequently seems to regenerate a file and fails.

What was the reason to remove these __future__ imports? Maybe only remove them from Python 3-only code.
Date User Action Args
2016-09-09 07:54:01martin.pantersetrecipients: + martin.panter, gregory.p.smith
2016-09-09 07:54:01martin.pantersetmessageid: <>
2016-09-09 07:54:01martin.panterlinkissue28039 messages
2016-09-09 07:54:00martin.pantercreate