Today I am trying to search for SO some questions and answers about python's with statement (see PEP 343). To my surprise, searching for:

python with

returned zero matches, and searching for:

with statement

returned a whole lot of irrelevant results about if statements, for statements, etc. Are my search terms being post-processed? I was able to find some relevant results further down the list in a search for [python] +with statement, but they aren't really being prioritised properly.

So what's going on here?

1 Answer 1


There's a tag. Search for that and by entering:

[python] [with-statement]

in the search box, and you will get relevant posts.

  • 1
    Thanks, it only returns 3 results though. There are several useful posts about python's with statement that aren't tagged (yet), so is there any way to force 'with' to be included in the search terms?
    – wim
    Sep 20, 2011 at 12:17
  • I'm getting 39 results. Of course, this will only match questions that were tagged as such. There's always google +with +statement +python site:stackoverflow.com
    – Mat
    Sep 20, 2011 at 12:31

Not the answer you're looking for? Browse other questions tagged .