[issue5380] pty.read raises IOError when slave pty device is closed

2013-01-12 Thread Márcio Faustino
Changes by Márcio Faustino : -- nosy: +marciof ___ Python tracker <http://bugs.python.org/issue5380> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1441530] socket read() can cause MemoryError in Windows

2010-07-23 Thread Márcio Faustino
Márcio Faustino added the comment: I got that error on Windows 7 Professional 64 bits, using Python 2.6.4 64 bits. I just changed the "imaplib.IMAP4_SSL" class, by making the "read" and "readline" functions use "cStringIO.StringIO()" ins

[issue1441530] socket read() can cause MemoryError in Windows

2010-07-21 Thread Márcio Faustino
Márcio Faustino added the comment: Speaking for myself, I'm not using the attached patch, I'm using the simple fix I included in my previous reply which works perfectly to avoid getting a MemoryError exception thrown. -- ___ Python trac

[issue1441530] socket read() can cause MemoryError in Windows

2010-02-24 Thread Márcio Faustino
Márcio Faustino added the comment: I've been also receiving the same error while using "imaplib.IMAP4_SSL" to download large e-mails. A simple change in the "read" and "readline" functions to use instead a "cStringIO.StringIO" buffer o

[issue5741] SafeConfigParser incorrectly detects lone percent signs

2009-04-13 Thread Márcio Faustino
Márcio Faustino added the comment: Shouldn't the "replace('%%', '')" take place before "_interpvar_re.sub"? For example, the value "%%(test)s" should be accepted as valid but it i

[issue5741] SafeConfigParser incorrectly detects lone percent signs

2009-04-12 Thread Márcio Faustino
New submission from Márcio Faustino : The SafeConfigParser class incorrectly detects lone percent signs, for example, it doesn't accept "100%%" as a valid value. The cause of this is the "_badpercent_re" regular expression: - The first alternative "%[^%]" fail