[issue41678] File-level, optionally external sorting

Pablo Galindo Salgado report at bugs.python.org
Mon Aug 31 17:18:15 EDT 2020


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

What do you refer when you say "sorting a file"?

What does "key" act upon? Strings representing the lines in the file?

For allow_disk_use=False, what's the difference between opening the file, reading the lines, using sort() and writing the contents?

----------
nosy: +pablogsal

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41678>
_______________________________________


More information about the Python-bugs-list mailing list