[PR PATCH] python: Add argparse samba options

Andrew Bartlett abartlet at samba.org
Thu May 10 03:03:00 UTC 2018


On Wed, 2018-05-09 at 07:30 -0600, David Mulder via samba-technical
wrote:
> > I agree that argparse is very much nicer than optparse, but it was
> > introduced in Python 2.7 and we have to support 2.6 until the death of
> > RHEL6 (and SUSE 11?).
> 
> Ah, I guess I should have checked the age of argparse (did not think of
> this). Well, this doesn't *replace* getopt.py, just provides a version
> that uses argparse also. Is anybody backporting new code to older
> distros that need optparse?

It isn't about backporting: folks complained quite bitterly when Samba
4.8 as an AD DC didn't run on RHEL6.

Andrew Bartlett

-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba







More information about the samba-technical mailing list