This is the mail archive of the
mailing list for the glibc project.
Re: improvements to ctype-compatibility.py
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Mike FABIAN <mfabian at redhat dot com>
- Cc: Pravin Satpute <psatpute at redhat dot com>, libc-alpha at sourceware dot org
- Date: Mon, 22 Dec 2014 22:31:56 -0200
- Subject: Re: improvements to ctype-compatibility.py
- Authentication-results: sourceware.org; auth=none
- References: <573624784 dot 8871393 dot 1416848051220 dot JavaMail dot zimbra at redhat dot com> <orzjb3o7yf dot fsf at free dot home> <s9d388qqt9m dot fsf_-_ at ari dot site> <orbnn199hd dot fsf at free dot home> <s9dsigbq4rj dot fsf at ari dot site>
On Dec 19, 2014, Mike FABIAN <email@example.com> wrote:
> I donât like it because it just looks uglier without really improving
So how about defining cperror as a method of an âerror_countingâ class?
Then you instantiate two error_counting objects, one for the old and the
one for the new file, and pass it down to the test functions, or create
a single object and introduce a function that returns the accumulated
count before resetting it.
These are probably more in line with the intent of the rule to avoid
âglobalâ, but the former is more in line with the idea of avoiding
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer