Comment 13 for bug 1726399

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to ospurge (master)

Reviewed: https://review.openstack.org/514336
Committed: https://git.openstack.org/cgit/openstack/ospurge/commit/?id=b73c938a93dc90839515df1dae285e9dd492aca9
Submitter: Zuul
Branch: master

commit b73c938a93dc90839515df1dae285e9dd492aca9
Author: Victor Stinner <email address hidden>
Date: Mon Oct 23 16:15:22 2017 +0200

    Python 2: Move type annotations to .pyi files

    Python 2 doesn't support type annotations: raise SyntaxError. Move
    them to separated .pyi files to add Python 2 support without loosing
    annotations.

    Keep inline comments like "# type: Optional[str]".

    Related-Bug: 1726399
    Change-Id: Ib1a837e88cf76908f1007b3881703ffb433e6c2f