[New-bugs-announce] [issue19356] Change argument _self in _io/textio.c

Jeffrey Armstrong report at bugs.python.org
Wed Oct 23 04:05:01 CEST 2013


New submission from Jeffrey Armstrong:

At Modules/_io/textio.c:285, one argument to _PyIncrementalNewlineDecoder_decode is named "_self."  The name "_self," however is a keyword on older Microsoft C compilers and certain other compilers attempting to maintain compatibility with Microsoft.  Renaming the argument to "myself" would fix the problem with certain compilers (Microsoft C, Open Watcom, possibly more).

Please note that this is not an issue with MSVC.

----------
components: Build, IO
files: _self.3.3.2.patch
keywords: patch
messages: 200992
nosy: Jeffrey.Armstrong
priority: normal
severity: normal
status: open
title: Change argument _self in _io/textio.c
versions: Python 3.3
Added file: http://bugs.python.org/file32308/_self.3.3.2.patch

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


More information about the New-bugs-announce mailing list