public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions
@ 2014-08-04 10:23 Masahiro Yamada
  2014-08-04 10:23 ` [U-Boot] [RFC PATCH v2 1/2] kconfig: make multiconfig.py compatible with Python 2.4 Masahiro Yamada
                   ` (4 more replies)
  0 siblings, 5 replies; 30+ messages in thread
From: Masahiro Yamada @ 2014-08-04 10:23 UTC (permalink / raw)
  To: u-boot


It was reported by Miao Yan that the kconfig-related Python scripts
are not working on Python 2.4.

Do we have any consensus in terms of Python version requirement?

This series avoids using "with ... as ..." and "except ... as ..."
statements.  But "with ... as ..." is used everywhere in buildman,
which means buildman requires at least Python 2.6.

It is true we hope tools can work on broad range of versions,
but it also means we have more restrictions when writing Python scripts.

I have no idea which version we should expect at least.
Your comments are welcome.


Changes in v2:
  - Fix git-description.  s/exception/except/
  - Fix git-description.  s/exception/except/

Masahiro Yamada (2):
  kconfig: make multiconfig.py compatible with Python 2.4
  tools: make genboardscfg.py compatible with Python 2.5

 scripts/multiconfig.py | 73 +++++++++++++++++++++++---------------------------
 tools/genboardscfg.py  |  4 +--
 2 files changed, 36 insertions(+), 41 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2014-08-25  1:53 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-04 10:23 [U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions Masahiro Yamada
2014-08-04 10:23 ` [U-Boot] [RFC PATCH v2 1/2] kconfig: make multiconfig.py compatible with Python 2.4 Masahiro Yamada
2014-08-04 10:23 ` [U-Boot] [RFC PATCH v2 2/2] tools: make genboardscfg.py compatible with Python 2.5 Masahiro Yamada
2014-08-22  6:01   ` Masahiro Yamada
2014-08-22  6:18     ` Masahiro Yamada
2014-08-23 12:44     ` Tom Rini
2014-08-25  1:53       ` Masahiro Yamada
2014-08-04 10:40 ` [U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions Simon Glass
2014-08-04 11:21 ` Igor Grinberg
2014-08-04 12:00   ` Masahiro Yamada
2014-08-04 12:59     ` Masahiro Yamada
2014-08-04 13:17       ` Igor Grinberg
2014-08-04 13:28         ` Masahiro Yamada
2014-08-07 10:57         ` Tom Rini
2014-08-07 13:17           ` Igor Grinberg
2014-08-07 16:57             ` Tom Rini
2014-08-07 17:33               ` Stephen Warren
2014-08-07 17:53                 ` Tom Rini
2014-08-10  8:49                 ` Igor Grinberg
2014-08-10 11:14                   ` Tom Rini
2014-08-11 10:18                     ` Igor Grinberg
2014-08-11 13:12                       ` Tom Rini
2014-08-11 23:03                         ` Masahiro YAMADA
2014-08-12  1:53                           ` Tom Rini
2014-08-18  4:45                             ` Masahiro Yamada
2014-08-11 16:58                   ` Stephen Warren
2014-08-12 10:32                     ` Igor Grinberg
2014-08-04 13:50 ` Tom Rini
2014-08-05  2:05   ` Yan, Miao
2014-08-05 14:18     ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox