[Scons-dev] Calling PseudoBuilder from an emitter function from a Builder with OverrideEnvironment looses overrides

andreas.ames at de.transport.bombardier.com andreas.ames at de.transport.bombardier.com
Mon Oct 21 05:54:33 EDT 2013


Hi all,

first of all, thanks for providing such a useful tool as scons.

I've found a small glitch in Scons 2.1.0 (as part of Ubuntu 12.04 LTS).
I've got an emitter function installed for one of my builders. This
builder is called with keyword arguments so that an OverrideEnviroment is
used to execute it. When the emitter function is called the
OverrideEnvironment is presented to it in the env parameter. But if I
call a PseudoBuilder (i.e. a MethodWrapper instance) from there, the
PseudoBuilder itsself is called with the original environment and the
OverrideEnvironment is no longer available to it. I guess, a possible fix
would be to forward the keyword arguments used to call the builder to the
emitter function so that these keyword arguments could be used to call the
PseudoBuilder.

I've checked the API docs for Scons 2.3.0 and couldn't find an additional
keyword argument spec in emitter calls there but I wanted to ask whether
this issue is already known before filing a bug report.


TIA,

aa


Please consider the environment before you print / Merci de penser à
l'environnement avant d'imprimer / Bitte denken Sie an die Umwelt bevor
Sie drucken

Bombardier Transportation GmbH
Vorsitzender des Aufsichtsrats / Chairman of Supervisory Board: Prof. Dr.
Wilhelm Bender
Geschäftsführung / Executive Board: Michael Clausecker
(Vorsitzender/Chairman), Dr. Susanne Kortendick, David Barry, Matthias
Keller
Sitz der Gesellschaft / Principal Office: Berlin
Registergericht / Registration Court: Amtsgericht Charlottenburg, HRB
64838

_______________________________________________________________________________________________________________

This e-mail communication (and any attachment/s) may contain confidential
or privileged information and is intended only for the individual(s) or
entity named above and to others who have been specifically authorized to
receive it. If you are not the intended recipient, please do not read,
copy, use or disclose the contents of this communication to others. Please
notify the sender that you have received this e-mail in error by reply
e-mail, and delete the e-mail subsequently. Please note that in order to
protect the security of our information systems an AntiSPAM solution is in
use and will browse through incoming emails.
Thank you.
_________________________________________________________________________________________________________________


Ce message (ainsi que le(s) fichier(s)), transmis par courriel, peut
contenir des renseignements confidentiels ou protégés et est destiné à
l?usage exclusif du destinataire ci-dessus. Toute autre personne est, par
les présentes, avisée qu?il est strictement interdit de le diffuser, le
distribuer ou le reproduire. Si vous l?avez reçu par inadvertance,
veuillez nous en aviser et détruire ce message. Veuillez prendre note
qu'une solution antipollupostage (AntiSPAM) est utilisée afin d'assurer la
sécurité de nos systèmes d'information et qu'elle furètera les courriels
entrants.
Merci.
_________________________________________________________________________________________________________________


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/scons-dev/attachments/20131021/f7666e13/attachment.html>


More information about the Scons-dev mailing list