homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ethan.furman
Recipients berker.peksag, brett.cannon, ethan.furman, ned.deily, serhiy.storchaka
Date 2016年10月10日.16:45:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1476117916.9.0.246040817694.issue28230@psf.upfronthosting.co.za>
In-reply-to
Content
As Serhiy was alluding to, if the incoming path is for the actual tar file and is only passed along to Python itself then we probably don't need to worry about os.fspath(). For names that will be interally stored, or are for accessing internal files, then the proper sequence is check for and call os.fspath if necessary, and then double-check that the name to be used is a str. The double-check is needed because os.fspath may return a bytes object, which tar does not allow.
History
Date User Action Args
2016年10月10日 16:45:16ethan.furmansetrecipients: + ethan.furman, brett.cannon, ned.deily, berker.peksag, serhiy.storchaka
2016年10月10日 16:45:16ethan.furmansetmessageid: <1476117916.9.0.246040817694.issue28230@psf.upfronthosting.co.za>
2016年10月10日 16:45:16ethan.furmanlinkissue28230 messages
2016年10月10日 16:45:16ethan.furmancreate

AltStyle によって変換されたページ (->オリジナル) /