[issue15647] isdir should be a local symbol, not exported

Matthias Klose report at bugs.python.org
Tue Aug 14 12:41:12 CEST 2012


New submission from Matthias Klose:

2.7 only:

isdir should not be exported, but a local symbol instead (this was accidentally changed after the 2.7.3 release.

currently defined and used in Modules/getpath.c and Python/import.c, and used in Python/bltinmodule.c

proposal to rename the implementation in import.c to _Py_isdir and use it in import.c and bltinmodule.c.

as an alternative, make the isdir implementation static for windows and posix builds.

----------
components: Interpreter Core
files: local-isdir-symbol.diff
keywords: needs review, patch
messages: 168190
nosy: doko
priority: normal
severity: normal
status: open
title: isdir should be a local symbol, not exported
versions: Python 2.7
Added file: http://bugs.python.org/file26801/local-isdir-symbol.diff

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


More information about the Python-bugs-list mailing list