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 Christopher Aycock
Recipients Christopher Aycock
Date 2017-06-27.08:01:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498550497.04.0.537095530939.issue30785@psf.upfronthosting.co.za>
In-reply-to
Content
The function alias_for_import_name() duplicates logic starting at Python/ast.c:3237

    char *sch = STR(CHILD(n, i));
    strcpy(s, STR(CHILD(n, i)));
    s += strlen(sch);
    *s++ = '.';

I assume the strcpy() is supposed to use the sch value from the line above. There shouldn't be any consequence to the code as it currently is; I just noticed it while reading through the source.
History
Date User Action Args
2017-06-27 08:01:37Christopher Aycocksetrecipients: + Christopher Aycock
2017-06-27 08:01:37Christopher Aycocksetmessageid: <1498550497.04.0.537095530939.issue30785@psf.upfronthosting.co.za>
2017-06-27 08:01:36Christopher Aycocklinkissue30785 messages
2017-06-27 08:01:36Christopher Aycockcreate