Commit Graph

6355 Commits

Author SHA1 Message Date
Oleg Höfling
8bb18aa541 add undocumented attributes for threading.Timer (#8059) 2022-06-12 20:34:56 +03:00
Alex Waygood
55eb19d1bd Improve csv.DictReader (#8061) 2022-06-12 17:02:05 +03:00
Alex Waygood
b5802d0bbe Add tkinter._test (#8062)
Fixes #7903
2022-06-12 16:58:39 +03:00
Alex Waygood
16281bb04f Improve turtle.Vec2D (#8058)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2022-06-12 15:53:14 +03:00
Kyle Altendorf
a750a42c65 Remove Generic from sqlite3.Row (#8036)
Introduced in https://github.com/python/typeshed/pull/7641.  Removal discussed at https://github.com/python/typeshed/issues/8027.
2022-06-11 06:53:22 -07:00
Pamela Fox
b4c3e2c3e1 Concrete return type for SymbolTable.get_identifiers (#8054) 2022-06-10 17:20:50 +02:00
Vincent Donato
ad48606a0d Add stub for emoji.is_emoji (#8053) 2022-06-10 01:08:08 +01:00
Shantanu
95128e61ec certifi: mark as obsolete since 2022.5.18.1 (#8045) 2022-06-09 15:49:23 +02:00
Shantanu
971deee833 Remove stubs/filelock (#8046)
See #8043
2022-06-09 11:22:50 +02:00
Shantanu
81fd55a885 frozendict: mark as obsolete since 2.2.0 (#8044)
It has shipped with a py.typed file since v.2.2.0 in January: 7fcdd3aa99

It can be removed come July 15

Co-authored-by: hauntsaninja <>
2022-06-09 09:49:52 +01:00
Shantanu
d3e291cfb6 filelock: mark as obsolete since 3.3.0 (#8043) 2022-06-09 10:39:16 +02:00
Shantanu
2cbbb31bc3 freezegun: mark as obsolete since 1.2.1 (#8042)
Linking #5842
2022-06-09 10:32:56 +02:00
Alex Waygood
45b9e60d13 dateparser: Remove redundant import of _typeshed.Self (#8041) 2022-06-08 21:02:14 +01:00
Alex Waygood
c449ddde56 Remove stubs for characteristic (#8040) 2022-06-08 20:18:13 +01:00
Sebastian Rittau
60507a08a2 Mark characteristic as no longer updated (#8038)
Part of #8012
2022-06-08 18:57:15 +02:00
Sebastian Rittau
d8c0f25f0d Explain the no_longer_updated METADATA field (#8037) 2022-06-08 18:46:41 +02:00
Lee
8f77471d62 tkinter: remove unnecessary _MenuIndex TypeAlias (#8023) 2022-06-08 09:23:54 +01:00
Shantanu
2414b21a96 Update xxhash (#8034)
Co-authored-by: hauntsaninja <>
2022-06-07 17:45:04 -07:00
Shantanu
8fd308699c Update flake8-rst-docstrings (#8033)
Fixes #8032

Co-authored-by: hauntsaninja <>
2022-06-07 17:33:10 -07:00
Alex Waygood
e7a5b7a762 Fix various __all__-related errors and omissions (#8031) 2022-06-07 23:29:55 +01:00
Alex Waygood
591593c85f Simplify __all__ for modules beginning with 'm' to 't' (#8028) 2022-06-07 20:14:15 +01:00
Alex Waygood
b88ea4a499 Simplify __all__ for unittest and xml.etree (#8029) 2022-06-07 12:03:52 -07:00
Alex Waygood
e88a182573 Simplify __all__ definitions in modules beginning with 'a' to 'l' (#8026) 2022-06-07 15:40:48 +02:00
Sebastian Rittau
214bf15dce Use "all +=" instead of duplicating the branches (#7865) 2022-06-07 13:32:19 +02:00
Alex Waygood
15ad2657db Upgrade pytype (#8025)
Unblocks #7865
2022-06-07 12:13:05 +01:00
Alex Waygood
9db96967cc asyncio.sslproto: More updates for py311 (#8022)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-06-06 15:12:22 -07:00
Alex Waygood
7322acbb97 jsonschema: mark type alias explicitly (#8024) 2022-06-06 14:44:46 -07:00
Alex Waygood
43a9ab08d7 Always use TypeAlias when assigning to Any (#8021) 2022-06-05 18:16:20 -07:00
Jim Bosch
a2ba0c8a00 use __new__ instead of __init__ for frozenset (#8019) 2022-06-04 08:31:13 -07:00
Alex Waygood
0ce825b5a8 Add unittest features new in Python 3.11 (#8020)
python/cpython@086c6b1
2022-06-04 16:27:52 +01:00
Steve Dignam
e30ff13b7d stripe: update a few signatures (#7978)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-06-03 18:27:23 +01:00
Alex Waygood
8a98e5a075 check_new_syntax.py: Fix bug in visit_AnnAssign (#8017) 2022-06-03 19:12:11 +02:00
Lee
87893f3512 tkinter: annotate Listbox. (#8006)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2022-06-03 18:08:03 +03:00
Jelle Zijlstra
56c8cbb314 Add GenericAlias.__typing_unpacked_tuple_args__ (#8015)
Fixes #8014 

python/cpython#92484
2022-06-03 08:26:41 +01:00
Alex Waygood
acc0167dc1 Fix several new-in-3.11 stubtest errors (#7973) 2022-06-02 18:07:38 -07:00
Jelle Zijlstra
cb9023988d psycopg2: stub improvements (#7964)
Fixes an entry from #7928 along with a number of other improvements.

I went off the C code:
https://github.com/psycopg/psycopg2/blob/master/psycopg/connection_type.c
2022-06-02 18:02:07 -07:00
Tom Milligan
51f97dda15 requests: expand types for files (#7999) 2022-06-01 22:55:38 +03:00
Tomoki Nakagawa
461289e181 PyYAML: Add types to add_constructor (#7989) 2022-06-01 18:23:20 +01:00
Tom Parker-Shemilt
f5f79f181d dj-database-url: Add missing fields to _DBConfig TypedDict (#8008)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-06-01 16:52:19 +01:00
Alex Waygood
6355cba923 Python 3.11: re.TEMPLATE is back in beta 2 (#8007) 2022-06-01 14:50:37 +02:00
Shantanu
a6924bdcfa Fix CI for Python 3.11 beta 2 (#8005)
Co-authored-by: hauntsaninja <>
2022-06-01 02:28:40 -07:00
Sebastian Rittau
07ac9675e4 SQLAlchemy 1.4.37 fixes (#8003)
Closes: #8001
2022-06-01 09:50:40 +01:00
Lee
a0c65022c6 markdown: remove INSTALLED_EXTENSIONS. (#8002) 2022-06-01 10:26:00 +02:00
Graham Bleaney
8c434e05d6 Add PEP 675 LiteralString overloads to str class (#7725)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-05-31 21:09:34 -07:00
Lee
e8f20bbb56 markdown: add Markdown.registeredExtensions (#7997) 2022-05-31 14:10:30 +01:00
Shantanu
d736bb9d85 caldav: add verify_expand to Calendar.date_search (#7996)
Co-authored-by: hauntsaninja <>
2022-05-30 18:29:19 -07:00
Shantanu
bf68214245 mypy_primer: report lines truncated (#7993)
Co-authored-by: hauntsaninja <>
2022-05-30 17:04:34 -07:00
Alex Waygood
a7ff433fc3 CONTRIBUTING.md: Fix broken link (#7994) 2022-05-30 16:36:06 -07:00
Alex Waygood
fa85367fc9 CONTRIBUTING: improve docs on running tests locally (#7992)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2022-05-30 15:44:13 -07:00
Stephen Rosen
17e7cc7d3c Fix exception types for jsonschema._format (#7990)
The annotated type for the `raises` argument on format checkers was

    Exception | tuple[Exception, ...]

when it should read

    type[Exception] | tuple[type[Exception], ...]

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2022-05-30 17:14:33 +01:00