[New-bugs-announce] [issue26948] Simplify PyImport_ImportModuleLevelObject: avoid temporary tuple of str.partition/rpartition
STINNER Victor
report at bugs.python.org
Wed May 4 08:48:17 EDT 2016
New submission from STINNER Victor:
Attached patch simplifies PyImport_ImportModuleLevelObject to avoid the temporary tuple created by str.partition/rpartition(). I don't expect any difference on the performance, it's more to cleanup the code.
----------
files: import.patch
keywords: patch
messages: 264809
nosy: haypo, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Simplify PyImport_ImportModuleLevelObject: avoid temporary tuple of str.partition/rpartition
type: performance
versions: Python 3.6
Added file: http://bugs.python.org/file42714/import.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26948>
_______________________________________
More information about the New-bugs-announce
mailing list