Change by Josh Holland :
--
nosy: +anowlcalledjosh
___
Python tracker
<https://bugs.python.org/issue39090>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Josh Holland :
--
pull_requests: +14981
pull_request: https://github.com/python/cpython/pull/15262
___
Python tracker
<https://bugs.python.org/issue37
Josh Holland added the comment:
PEP 586 doesn't currently allow Literal to contain tuples, so Tuple[()] is the
only option.
--
___
Python tracker
<https://bugs.python.org/is
Change by Josh Holland :
--
keywords: +patch
pull_requests: +14937
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/15208
___
Python tracker
<https://bugs.python.org/issu
New submission from Josh Holland :
The empty tuple syntax in type annotations, `Tuple[()]`, is not obvious from
the examples given in the documentation (I naively expected `Tuple[]` to work);
it has been documented in PEP 484[1] and in mypy[2], but not in the
documentation for the typing
Change by Josh Holland :
--
nosy: +anowlcalledjosh
___
Python tracker
<https://bugs.python.org/issue30811>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Josh Holland :
--
nosy: +anowlcalledjosh
___
Python tracker
<https://bugs.python.org/issue32421>
___
___
Python-bugs-list mailing list
Unsubscribe:
Josh Holland added the comment:
Serhiy makes a series of good points, which I hadn't really considered before
filing this report. It was mostly laziness on my part while dashing off a quick
script - I knew I wouldn't have to deal with the edge cases so subconsciously
dism
New submission from Josh Holland:
Path objects already have rename() and replace() methods; it would be useful
for them also to have a copy() method to simplify that operation.
I'll look into putting a patch together this evening.
--
components: Library (Lib)
messages: 243494