[New-bugs-announce] [issue29927] Unnecessary code in the c-api/exceptions.c

Kinebuchi Tomohiko report at bugs.python.org
Mon Mar 27 22:23:00 EDT 2017


New submission from Kinebuchi Tomohiko:

1. BufferError is PRE_INIT'ed twice, and also POST_INIT'ed twice.
2. Using macros (PRE_INIT, POST_INIT and ADD_ERRNO) with following unnecessary semicolons.

These unnecessary code have no semantic effect, but is somehow confusing.

----------
components: Interpreter Core
messages: 290678
nosy: cocoatomo
priority: normal
severity: normal
status: open
title: Unnecessary code in the c-api/exceptions.c
versions: Python 3.5, Python 3.6, Python 3.7

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


More information about the New-bugs-announce mailing list