New submission from Florin Papa: Hi All,
My name is Florin Papa and I work in the Server Languages Optimizations Team at Intel Corporation. I would like to submit a patch that deprecates the mako benchmark for Python 3.6 and above. The mako benchmark uses inspect.getargspec(), which is deprecated and was removed in Python 3.6. Therefore, it crashes with the message "AttributeError: module 'inspect' has no attribute 'getargspec'" when using the latest version of Python on the default branch. The patch limits the version range of the mako benchmark to Python 3.5 and below. To apply the patch please follow these steps: hg clone https://hg.python.org/benchmarks cd benchmarks/ copy mako_deprecation.patch to the current directory hg import --no-commit mako_deprecation.patch Regards, Florin ---------- components: Benchmarks files: mako_deprecation.patch keywords: patch messages: 251844 nosy: brett.cannon, florin.papa, pitrou priority: normal severity: normal status: open title: mako benchmark not working in Python 3.6 type: crash versions: Python 3.6 Added file: http://bugs.python.org/file40618/mako_deprecation.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25266> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com