Message120212
| Author |
lemburg |
| Recipients |
dmalcolm, eric.smith, lemburg, mark.dickinson |
| Date |
2010年11月02日.09:50:21 |
| SpamBayes Score |
4.1949875e-07 |
| Marked as misclassified |
No |
| Message-id |
<4CCFDEDB.2020804@egenix.com> |
| In-reply-to |
<1288651306.95.0.100885156034.issue10288@psf.upfronthosting.co.za> |
| Content |
Dave Malcolm wrote:
>
> New submission from Dave Malcolm <dmalcolm@redhat.com>:
>
> Issue 5793 rationalized all usage of C "character" handling to use "Py_"-prefixed locale-unaware macros, at the "char" level.
>
> In particular, this comment was added in two places to Include/bytes_methods.h in r72044:
> http://svn.python.org/view/python/branches/py3k/Include/bytes_methods.h?view=diff&r1=72043&r2=72044
>
> /* These are left in for backward compatibility and will be removed
> in 2.8/3.2 */
>
> Given that 3.2 is coming soon, is it time to remove these? (also, the reference to "2.8" caught my eye)
+1
> Attached is a patch to py3k which removes them, and fixes up various users that were still in the source tree.
>
> Am I right in thinking that the undef and redefinition of the various lower-case macros from <ctype.h> was already intended to be removed? (given that this messes about with a standard C library)
Please remove those as well. I suppose those were mainly used to find
instances of islower() et al. in the source code. |
|