Paweł Miech added the comment:
Making string.split iterator sounds like an interesting task. I found this
issue because recently we talked in project that string.split returns a list
and it can cause increased memory usage footprint for some tasks when there is
large response to parse
Paweł Miech added the comment:
Ok so I see this is an issue that involves the way Pickle pickles Python set
objects. Updated script to reproduce appended. Apparently, sets are becoming
much larger when stored in Python3 pickle.
--
Added file: https://bugs.python.org/file49308
New submission from Paweł Miech :
I'm porting some code from Python 2.7 to Python 3.8. There is some code that is
using shelve.DbfilenameShelf to store some nested dictionaries with sets. I
found out that compared with Python 2.7 Python 3.8 shelve generates files that
are approximatel