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 serhiy.storchaka
Recipients Mark.Shannon, benjamin.peterson, georg.brandl, methane, ned.deily, rhettinger, serhiy.storchaka, vstinner
Date 2018-02-23.11:29:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1519385384.55.0.467229070634.issue32911@psf.upfronthosting.co.za>
In-reply-to
Content
Note, that getting the location of the dostring already was a pain since in case of multiline string literals CPython saves the location of the last line, and PyPy saves the location of the first line. Getting the location of the specific fragment of the docstring is even larger pain as shown in following examples:

    def f()
        """
        >>> f()
        """

    def f()
        """\
        >>> f()
        """

    def f()
        ""\
        ""\
        ">>> f()"\
        ""\
        ""
History
Date User Action Args
2018-02-23 11:29:44serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, rhettinger, vstinner, benjamin.peterson, ned.deily, methane, Mark.Shannon
2018-02-23 11:29:44serhiy.storchakasetmessageid: <1519385384.55.0.467229070634.issue32911@psf.upfronthosting.co.za>
2018-02-23 11:29:44serhiy.storchakalinkissue32911 messages
2018-02-23 11:29:44serhiy.storchakacreate