[issue35778] RF: ``pathlib.Path.checksum()`` member

2019-01-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sorry, but it does not make sense to me (not would it make sense to add e.g. a JPEG decoder to pathlib). Each project or application would want their own checksumming specification and pathlib does not have to cater to that. -- resolution: ->

[issue35778] RF: ``pathlib.Path.checksum()`` member

2019-01-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35778] RF: ``pathlib.Path.checksum()`` member

2019-01-18 Thread Oscar Esteban
New submission from Oscar Esteban : Gauging the interest in a checksum calculation function built-in Path objects: ``` >>> Path('somefile.img').checksum() '4976c36bacf922cbc5c811c9c288e61d' >>> Path('somefile.img').checksum(hash='md5') '4976c36bacf922cbc5c811c9c288e61d' >>>