]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-88597: Added command line interface to UUID module. (#99463)
authorachhina <aman.s.chhina@gmail.com>
Sun, 22 Jan 2023 06:59:31 +0000 (01:59 -0500)
committerGitHub <noreply@github.com>
Sun, 22 Jan 2023 06:59:31 +0000 (22:59 -0800)
commit95f5b05a8cad61b296807c14e50896075c4dc1de
tree165d16ec14680f38e0a8631603190125351de2b0
parentc1c5882359a2899b74c1685a0d4e61d6e232161f
GH-88597: Added command line interface to UUID module. (#99463)

The `uuid` module now supports command line usage.

```python
❯ ./python.exe -m uuid
5f2d57b1-90e8-417c-ba5d-69b9b6f74289

❯ ./python.exe -m uuid -h
usage: uuid.py [-h] [-u {uuid1,uuid3,uuid4,uuid5}] [-ns NAMESPACE] [-n NAME]
...
```
Doc/library/uuid.rst
Doc/whatsnew/3.12.rst
Lib/test/test_uuid.py
Lib/uuid.py
Misc/ACKS
Misc/NEWS.d/next/Library/2022-11-14-03-06-03.gh-issue-88597.EYJA-Q.rst [new file with mode: 0644]