[issue23796] BufferedReader.peek() crashes if closed

2015-05-12 Thread John Hergenroeder
John Hergenroeder added the comment: Wonderful! Thanks for your help, Berker! -- ___ Python tracker <http://bugs.python.org/issue23796> ___ ___ Python-bugs-list m

[issue23796] BufferedReader.peek() crashes if closed

2015-04-26 Thread John Hergenroeder
John Hergenroeder added the comment: It looks like my contributor form has gone through -- what should my next steps here be? Thanks! -- ___ Python tracker <http://bugs.python.org/issue23

[issue23796] BufferedReader.peek() crashes if closed

2015-04-08 Thread John Hergenroeder
John Hergenroeder added the comment: Thanks! I submitted my contributor agreement form last week -- is there anything I can do to improve this patch while I wait for that to process? -- ___ Python tracker <http://bugs.python.org/issue23

[issue23796] BufferedReader.peek() crashes if closed

2015-04-01 Thread John Hergenroeder
John Hergenroeder added the comment: Thanks for the feedback, Berker! I've added a test case that closes a buffered reader and then attempts to both peek and read1 it. I tacked it onto the end of the BufferedReaderTest class in test_io, but let me know if there's a better place

[issue23796] BufferedReader.peek() crashes if closed

2015-03-30 Thread John Hergenroeder
John Hergenroeder added the comment: If no-one else wants it, I'd love to tackle this as my first Python (and OSS in general) contribution. Attached is a one-line patch that just does a CHECK_CLOSED call in buffered_peek and is modeled on the pattern in the buffered_flush function just