From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/2] scripts/pycompile: Accomodate latest Python 3 codebase
Date: Sun, 19 Mar 2017 15:53:38 +0100 [thread overview]
Message-ID: <20170319155338.66019ee6@free-electrons.com> (raw)
In-Reply-To: <20170314234228.3744-1-andrew.smirnov@gmail.com>
Hello,
On Tue, 14 Mar 2017 16:42:27 -0700, Andrey Smirnov wrote:
> As of the version 3.6.0 compile_dir() call will treat its 'quiet'
> argument as a full blown integer rather than a boolean value and perform
> integer comparison operations such as '<' or '>='.
>
> To account for that convert ReportProblem type to be a true derivative
> of built-in int() and override all of int's rich comparison operators in
> order to be able to "sinff" for PyCompileError in all possible use-cases
>
> The integer value ReportProblem pretends to be is teremined by class
> variable VALUE which is set to 1.
>
> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
> Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2017-03-19 14:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-14 23:42 [Buildroot] [PATCH v2 1/2] scripts/pycompile: Accomodate latest Python 3 codebase Andrey Smirnov
2017-03-14 23:42 ` [Buildroot] [PATCH v2 2/2] python3: Bump version to 3.6.0 Andrey Smirnov
2017-03-19 14:53 ` Thomas Petazzoni
2017-03-22 0:49 ` Andrey Smirnov
2017-03-22 7:56 ` Thomas Petazzoni
2017-03-19 14:53 ` Thomas Petazzoni [this message]
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=20170319155338.66019ee6@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