[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/6] Some python patches
From: |
Stefano Lattarini |
Subject: |
[PATCH 0/6] Some python patches |
Date: |
Thu, 9 Jun 2011 16:15:21 +0200 |
Hello automakers.
In the first patch of this series I'll present the promised patch
ensuring that the py-compile script is run with $(SHELL) in the
automake-generated Makefiles.
While writing that patch, I've noticed (and plucked) a couple of
low-hanging fruits allowing small reductions in code duplication, and
improvements in consistency and error reporting. Also, I've added
few test cases checking py-compile directly (not only through its use
in generated Makefiles).
The changes introduced by these patches should IMHO go in a separate
new branch 'python-work' based off of maint; we can later decide
whether to merge this into maint, or only into master.
I will push in 72 hours if there is no comment by then.
Regards,
Stefano
Stefano Lattarini (6):
python: run the 'py-compile' script with $(SHELL)
py-compile: the '--destdir' option now accepts a blank argument
python tests: add "unit tests" on py-compile
py-compile: normalize error and help messages
py-compile: complain on unrecognized options
py-compile: '--' and non-option arguments terminate the option list
ChangeLog | 61 ++++++++++++++++++++++++++
NEWS | 5 ++
lib/am/python.am | 19 +++-----
lib/py-compile | 51 ++++++++++++++--------
tests/Makefile.am | 7 +++
tests/Makefile.in | 7 +++
tests/py-compile-basedir.test | 51 +++++++++++++++++++++
tests/py-compile-basic.test | 64 +++++++++++++++++++++++++++
tests/py-compile-basic2.test | 71 ++++++++++++++++++++++++++++++
tests/py-compile-destdir.test | 44 +++++++++++++++++++
tests/py-compile-env.test | 60 +++++++++++++++++++++++++
tests/py-compile-option-terminate.test | 44 +++++++++++++++++++
tests/py-compile-usage.test | 75 ++++++++++++++++++++++++++++++++
13 files changed, 529 insertions(+), 30 deletions(-)
create mode 100755 tests/py-compile-basedir.test
create mode 100755 tests/py-compile-basic.test
create mode 100755 tests/py-compile-basic2.test
create mode 100755 tests/py-compile-destdir.test
create mode 100755 tests/py-compile-env.test
create mode 100755 tests/py-compile-option-terminate.test
create mode 100755 tests/py-compile-usage.test
--
1.7.2.3
- [PATCH 0/6] Some python patches,
Stefano Lattarini <=
- [PATCH 2/6] py-compile: the '--destdir' option now accepts a blank argument, Stefano Lattarini, 2011/06/09
- [PATCH 4/6] py-compile: normalize error and help messages, Stefano Lattarini, 2011/06/09
- [PATCH 5/6] py-compile: complain on unrecognized options, Stefano Lattarini, 2011/06/09
- [PATCH 1/6] python: run the 'py-compile' script with $(SHELL), Stefano Lattarini, 2011/06/09
- [PATCH 3/6] python tests: add "unit tests" on py-compile, Stefano Lattarini, 2011/06/09
- [PATCH 6/6] py-compile: '--' and non-option arguments terminate the option list, Stefano Lattarini, 2011/06/09
- Re: [PATCH 0/6] Some python patches, Stefano Lattarini, 2011/06/12