Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #93283 > unrolled thread

Re: How to debug TypeError: required field "lineno" missing from expr?

Started byLaura Creighton <lac@openend.se>
First post2015-06-29 09:08 +0200
Last post2015-06-29 09:08 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How to debug TypeError: required field "lineno" missing from expr? Laura Creighton <lac@openend.se> - 2015-06-29 09:08 +0200

#93283 — Re: How to debug TypeError: required field "lineno" missing from expr?

FromLaura Creighton <lac@openend.se>
Date2015-06-29 09:08 +0200
SubjectRe: How to debug TypeError: required field "lineno" missing from expr?
Message-ID<mailman.156.1435561743.3674.python-list@python.org>
In a message of Mon, 29 Jun 2015 02:14:43 +0100, Mark Lawrence writes:
>Purely as an exercise I've been converting Grant Jenks' pypatt[1] from 
>2.7 to 3.4.  I've managed to sort out most of the required changes by 
>checking on what I can see with an AST pretty printer[2].  So it's 
>rather frustrating to have the compile stage throw the error given in 
>the subject line.

Are you trying to use ast.copy_location recursively somewhere?
http://bugs.python.org/issue3530  Maybe you have found something else
that doesn't work recursively?

Laura

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web