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 berker.peksag
Recipients berker.peksag, pitrou
Date 2018-08-03.21:03:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533330187.01.0.56676864532.issue34333@psf.upfronthosting.co.za>
In-reply-to
Content
import pathlib

path = pathlib.Path('TR')
with_suffix = path.with_suffix(('/', '.md'))

The snippet I shared above will raise:

    TypeError: not all arguments converted during string formatting

While we are relying on duck typing, I think this can be considered as a bug in this case.
History
Date User Action Args
2018-08-03 21:03:07berker.peksagsetrecipients: + berker.peksag, pitrou
2018-08-03 21:03:07berker.peksagsetmessageid: <1533330187.01.0.56676864532.issue34333@psf.upfronthosting.co.za>
2018-08-03 21:03:06berker.peksaglinkissue34333 messages
2018-08-03 21:03:06berker.peksagcreate