> On Jul 11, 2018, at 12:37 PM, Nathaniel Smith <n...@pobox.com> wrote:
> 
> Possibly PyPI is noticing that the file you're trying to upload is identical 
> to the one that's already there and counting that as a "successful upload"?


Yes, if you try to upload the same file twice (same as in, the hashes match and 
everything), PyPI just no-ops the upload and treats it as successful. This 
makes uploading idempotent, and you can retry uploads of multiple files without 
having to worry about cases where 1 file was successful and 1 file wasn’t, and 
only retrying the unsuccessful ones.
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/mm3/archives/list/distutils-sig@python.org/message/HV6LRFBY7BQOSW52LK3LLHBFACNZTB3U/

Reply via email to