[New-bugs-announce] [issue10288] Remove

Dave Malcolm report at bugs.python.org
Mon Nov 1 23:41:46 CET 2010


New submission from Dave Malcolm <dmalcolm at 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)

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)

----------
files: py3k-remove-old-char-compat-macros.patch
keywords: patch
messages: 120185
nosy: dmalcolm, eric.smith, mark.dickinson
priority: normal
severity: normal
stage: patch review
status: open
title: Remove
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file19459/py3k-remove-old-char-compat-macros.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10288>
_______________________________________


More information about the New-bugs-announce mailing list