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 tebeka
Recipients tebeka
Date 2019-09-19.06:01:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568872865.53.0.090540874839.issue38222@roundup.psfhosted.org>
In-reply-to
Content
Currently pathlib.Path cannot be used with string formatting directives. IMO it should.

>>> from pathlib import Path
>>> path = Path('/path/to/enlightenment')
>>> print(f'path is: {path:>50}')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unsupported format string passed to PosixPath.__format__
History
Date User Action Args
2019-09-19 06:01:05tebekasetrecipients: + tebeka
2019-09-19 06:01:05tebekasetmessageid: <1568872865.53.0.090540874839.issue38222@roundup.psfhosted.org>
2019-09-19 06:01:05tebekalinkissue38222 messages
2019-09-19 06:01:05tebekacreate