New submission from Márcio Mocellin :
In Python 3.6.8 (default, Apr 16 2020, 01:36:27) [GCC 8.3.1 20191121 (Red Hat
8.3.1-5)] on linux, when I materialize the list, it is shown and is deleted.
Shouldn't the list persist in memory? Is this a bug or is it really?
```python
>>> vet_n
Changes by Márcio <marciombfaust...@gmail.com>:
--
nosy: -marcio
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5380>
___
__
Changes by Márcio Faustino marciombfaust...@gmail.com:
--
nosy: +marciof
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5380
___
___
Python-bugs
Márcio Faustino marciombfaust...@gmail.com 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() instead of an array of strings
Márcio Faustino marciombfaust...@gmail.com 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
Márcio Faustino m.faust...@gmail.com 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 isn't because _interpvar_re has already
changed
New submission from Márcio Faustino m.faust...@gmail.com:
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 %[^%] fails with the string