[issue20619] tracemalloc changes col_offset attribute for _ast.arg objects

2014-02-15 Thread STINNER Victor
STINNER Victor added the comment: Ok, thanks for the fix. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue20619] tracemalloc changes col_offset attribute for _ast.arg objects

2014-02-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: This is a 3.4 only issue. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue20619] tracemalloc changes col_offset attribute for _ast.arg objects

2014-02-14 Thread STINNER Victor
STINNER Victor added the comment: The fix should not be backported? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue20619] tracemalloc changes col_offset attribute for _ast.arg objects

2014-02-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2dd4922c9371 by Benjamin Peterson in branch 'default': set line and column numbers for keyword-only arg nodes (closes #20619) http://hg.python.org/cpython/rev/2dd4922c9371 -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejec

[issue20619] tracemalloc changes col_offset attribute for _ast.arg objects

2014-02-13 Thread STINNER Victor
STINNER Victor added the comment: I don't understand the link with tracemalloc. I get the same result if I comment all lines containing tracemalloc. With Python 3.3, I get: Traceback (most recent call last): File "x.py", line 9, in print(arg.lineno, arg.col_offset) AttributeError: 'arg'

[issue20619] tracemalloc changes col_offset attribute for _ast.arg objects

2014-02-13 Thread Claudiu.Popa
Claudiu.Popa added the comment: The version of the interpreter is: Python 3.4.0rc1+ (default:1166b3321012, Feb 13 2014, 21:49:27) [GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd8 -- nosy: +haypo ___ Python tracker

[issue20619] tracemalloc changes col_offset attribute for _ast.arg objects

2014-02-13 Thread Claudiu.Popa
New submission from Claudiu.Popa: Here's a strange bug. I don't know if this is legitimate or not, but it seems like there is some sort of overflow. Given the following code: data = """ def function(*, foot): print(foot) """ from ast import parse import tracemalloc tracemalloc.