Hi Nicolas, These both seem like good patches to me. Did you run the test suite to make sure that no tests are broken by them? It would also be good if you added some tests for this functionality – the example included at the bottom of your email is a good starting point. The other babel export tests live in the file testing/lisp/test-ob-exp.el, so that’s the spot to look for examples.
Have you heard back from the FSF about your copyright assignment? Thanks for the patches, -- Aaron Ecay