[issue24229] pathlib.Path should have a copy() method

2015-05-18 Thread Josh Holland
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 nosy

[issue24229] pathlib.Path should have a copy() method

2015-05-19 Thread Josh Holland
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 dismissed them

[issue30811] A venv created and activated from within a virtualenv uses the outer virtualenv's site-packages rather than its own.

2018-06-19 Thread Josh Holland
Change by Josh Holland : -- nosy: +anowlcalledjosh ___ Python tracker <https://bugs.python.org/issue30811> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32421] Keeping an exception in cache can segfault the interpreter

2017-12-24 Thread Josh Holland
Change by Josh Holland <anowlcalledj...@gmail.com>: -- nosy: +anowlcalledjosh ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue37814] typing module: empty tuple syntax is undocumented

2019-08-13 Thread Josh Holland
Change by Josh Holland : -- pull_requests: +14981 pull_request: https://github.com/python/cpython/pull/15262 ___ Python tracker <https://bugs.python.org/issue37

[issue37814] typing module: empty tuple syntax is undocumented

2019-08-10 Thread Josh Holland
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

[issue37814] typing module: empty tuple syntax is undocumented

2019-08-11 Thread Josh Holland
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

[issue37814] typing module: empty tuple syntax is undocumented

2019-08-11 Thread Josh Holland
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/issue37

[issue39090] Document various options for getting the absolute path from pathlib.Path objects

2019-12-27 Thread Josh Holland
Change by Josh Holland : -- nosy: +anowlcalledjosh ___ Python tracker <https://bugs.python.org/issue39090> ___ ___ Python-bugs-list mailing list Unsubscribe: