[issue10775] assertRaises as a context manager should accept a 'msg' keyword argument.

2011-03-15 Thread Winston Ewert
Winston Ewert winstonew...@gmail.com added the comment: The public methods were using both callable_obj and callableObj. Perhaps the patch should standardize on callableObj and accept callable_obj with a warning? -- ___ Python tracker rep

[issue10775] assertRaises as a context manager should accept a 'msg' keyword argument.

2011-03-14 Thread Winston Ewert
Winston Ewert winstonew...@gmail.com added the comment: robquad mentions having left a comment on the review, but I'm not seeing how to view it. Can somebody explain? It wasn't necessary to change the callable_obj bit, but both form were being used so I thought it best to standardize. Neither

[issue10775] assertRaises as a context manager should accept a 'msg' keyword argument.

2011-02-15 Thread Winston Ewert
Winston Ewert winstonew...@gmail.com added the comment: I decided to try my hand at writing a patch for python. I ended up implementing the behavior for assertRaises, assertRaisesRegex, assertWarns, and assertWarnsRegex. I also made those functions complain about other arguments rather

[issue6153] email parsing - Rare Failure

2009-05-30 Thread Winston Ewert
New submission from Winston Ewert winstonew...@gmail.com: I was using email.message_from_string which eventually feeds block of 8192 bytes into the actual e-mail parsing code. However, in my case one the blocks split the \r\n at the end of a submessage. This caused the code to identify it as two