Yes, I saw this - very beautiful!

On Wed, Apr 30, 2014 at 9:30 AM, Aaron Meurer <[email protected]> wrote:
> Some people on this list might find this useful.
> http://takluyver.github.io/posts/astsearch-code-searching-that-knows-about-code.html
>
> We often grep the codebase to do refactorings, or fix some API, or
> whatever. This uses Python's ast to search, meaning it will filter out
> false positive, and should also work with things that span multiple
> lines (and you don't have to worry about whitespace).
>
> As an example, to find all instances of .args in code (as opposed to
> strings and comments), you could do
>
> astsearch ?.args sympy/
>
> Aaron Meurer
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/CAKgW%3D6JQpXRF0Pmd-BvXjXpvShLGWNs7BicW0%3DyfO_JdxDsz3Q%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
[email protected] and [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAH4pYpSLgRAZ9rk-bLAbc1pcGYHBkf6wAL4QB1fAHmM844fgjA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to