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 izbyshev
Recipients ciprian.craciun, izbyshev, ned.deily, ronaldoussoren
Date 2021-01-30.12:21:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1612009301.39.0.676842575334.issue43069@roundup.psfhosted.org>
In-reply-to
Content
I would suggest to start digging from the following piece of code in `maybe_pyc_file()` (Python/pythonrun.c):

     int ispyc = 0;
     if (ftell(fp) == 0) {
         if (fread(buf, 1, 2, fp) == 2 &&
             ((unsigned int)buf[1]<<8 | buf[0]) == halfmagic)
             ispyc = 1;
         rewind(fp);
     }
History
Date User Action Args
2021-01-30 12:21:41izbyshevsetrecipients: + izbyshev, ronaldoussoren, ned.deily, ciprian.craciun
2021-01-30 12:21:41izbyshevsetmessageid: <1612009301.39.0.676842575334.issue43069@roundup.psfhosted.org>
2021-01-30 12:21:41izbyshevlinkissue43069 messages
2021-01-30 12:21:41izbyshevcreate