[issue17106] Crash in IO reading text file as binary via email library

2013-02-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is a simpler crasher: import io io.TextIOWrapper(io.StringIO()).read(1) -- ___ Python tracker ___ _

[issue17106] Crash in IO reading text file as binary via email library

2013-02-02 Thread R. David Murray
R. David Murray added the comment: OK, this happens in debug mode in 3.2.3, so it is not a regression. Still something to be looked in to, since that assert presumably has a purpose. -- keywords: -3.2regression priority: release blocker -> normal type: crash -> behavior versions: +Pyt

[issue17106] Crash in IO reading text file as binary via email library

2013-02-02 Thread R. David Murray
R. David Murray added the comment: I mean, non-debug build. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17106] Crash in IO reading text file as binary via email library

2013-02-02 Thread R. David Murray
R. David Murray added the comment: It might not crash on a debug build. I haven't tried that. -- ___ Python tracker ___ ___ Python-bu

[issue17106] Crash in IO reading text file as binary via email library

2013-02-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I see "TypeError: 'str' does not support the buffer interface" on current 3.2 and default. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue17106] Crash in IO reading text file as binary via email library

2013-02-02 Thread R. David Murray
New submission from R. David Murray: I came across this by making a mistake, but it shouldn't crash: rdmurray@hey:~/python/p32>touch temp rdmurray@hey:~/python/p32>./python Python 3.2.3+ (3.2:e6952acd5a55+, Feb 2 2013, 15:04:21) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "l