From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4] python: rework *.pyc files generation
Date: Fri, 11 Dec 2015 23:32:42 +0100 [thread overview]
Message-ID: <20151211233242.50a12f09@free-electrons.com> (raw)
In-Reply-To: <CAHXCMM+fZO0q-wTzwHMGK9cB5NWOJrh5Q_YNMU=G+dHM9OoHAQ@mail.gmail.com>
Samuel,
On Fri, 11 Dec 2015 23:22:52 +0100, Samuel Martin wrote:
> AFAI have tested, this change works as expected, except for broken
> python modules.
> In such cases, 'compileall.compile_dir(...)' does not raise any
> exceptions when it failed to compile the *.py file, leading to the
> unfortunate consequence: the *.pyc file is not generated and the *.py
> file is lost if BR2_PACKAGE_PYTHON_PYC_ONLY is enabled.
Do you have some specific examples that exhibit this behavior?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-12-11 22:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-19 15:52 [Buildroot] [PATCH v4] python: rework *.pyc files generation yegorslists at googlemail.com
2015-12-11 22:22 ` Samuel Martin
2015-12-11 22:32 ` Thomas Petazzoni [this message]
2015-12-11 22:58 ` Samuel Martin
2015-12-14 11:30 ` Yegor Yefremov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151211233242.50a12f09@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox