Semyon Moroz

Results 47 issues of Semyon Moroz

### Problem Statement no type hints ### Proposed solution Unfortunately, as far as I noticed, this wonderful library does not support type hints. What do you think about using them...

feature request

I made the minute (`MM`) part optional for time zone. ## New behavior: ```python >>> from datetime import datetime >>> datetime.strptime("2023-05-25T15:35:05.666+11", "%Y-%m-%dT%H:%M:%S.%f%z") datetime.datetime(2023, 5, 25, 15, 35, 5, 666000, tzinfo=datetime.timezone(datetime.timedelta(seconds=39600)))...

awaiting review

Source: https://github.com/python/cpython/tree/main/Lib/multiprocessing

I suggest using preferred option (`Never`) to indicate the bottom type. Using `NoReturn` is still popular (and more well known) I think because the types in stdlib use it (one...

project: policy

Sometimes, after a PR is closed, maintainers might forget to remove the branch. I think this could be automated to keep the repository cleaner. At the moment there are 19...

Some libraries (usually deprecated or simply poorly maintained like [cysimdjson](https://github.com/python/typeshed/pull/13666)) don't have releases for the latest versions of Python. Maybe it's worth giving them the ability to have type stubs...

project: policy

* `faulthandler` - https://github.com/python/cpython/blob/main/Modules/faulthandler.c * `hashlib` - generic [constructor](https://docs.python.org/dev/library/hashlib.html#hashlib.new), but all other functions have `usedforsecurity=True` * `itertools.count` - https://github.com/python/cpython/blob/8cfd7b4ecf9c01ca2bea57fe640250f716cb6ee3/Modules/itertoolsmodule.c#L3388 * `itertools.accumulate` - https://github.com/python/cpython/blob/8cfd7b4ecf9c01ca2bea57fe640250f716cb6ee3/Modules/itertoolsmodule.c#L2981 * `itertools.islice` - https://github.com/python/cpython/blob/8cfd7b4ecf9c01ca2bea57fe640250f716cb6ee3/Modules/itertoolsmodule.c#L1510 * `itertools.zip_longest` -...

When running stubsabot on the [`hugovk/top-pypi-packages`](https://github.com/hugovk/top-pypi-packages) list, I noticed some errors that may occur if we attempt to add their stubs to typeshed. It seems that some of these libraries...

project: policy