basedpyright 1.29.2 → 1.29.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pyright-langserver.js +1 -1
- package/dist/pyright-langserver.js.map +1 -1
- package/dist/pyright.js +1 -1
- package/dist/pyright.js.map +1 -1
- package/dist/typeshed-fallback/commit.txt +1 -1
- package/dist/typeshed-fallback/stdlib/VERSIONS +1 -0
- package/dist/typeshed-fallback/stdlib/_asyncio.pyi +5 -0
- package/dist/typeshed-fallback/stdlib/_ctypes.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/_curses.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/_hashlib.pyi +88 -44
- package/dist/typeshed-fallback/stdlib/_heapq.pyi +9 -1
- package/dist/typeshed-fallback/stdlib/_imp.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/_posixsubprocess.pyi +77 -50
- package/dist/typeshed-fallback/stdlib/_socket.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/_thread.pyi +5 -0
- package/dist/typeshed-fallback/stdlib/_tkinter.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi +0 -3
- package/dist/typeshed-fallback/stdlib/_zstd.pyi +96 -0
- package/dist/typeshed-fallback/stdlib/argparse.pyi +1 -7
- package/dist/typeshed-fallback/stdlib/ast.pyi +24 -12
- package/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi +10 -6
- package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +30 -8
- package/dist/typeshed-fallback/stdlib/asyncio/futures.pyi +2 -4
- package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +19 -7
- package/dist/typeshed-fallback/stdlib/asyncio/unix_events.pyi +18 -13
- package/dist/typeshed-fallback/stdlib/asyncio/windows_events.pyi +29 -9
- package/dist/typeshed-fallback/stdlib/builtins.pyi +65 -28
- package/dist/typeshed-fallback/stdlib/bz2.pyi +6 -5
- package/dist/typeshed-fallback/stdlib/compression/_common/_streams.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/compression/zstd/__init__.pyi +87 -0
- package/dist/typeshed-fallback/stdlib/compression/zstd/_zstdfile.pyi +117 -0
- package/dist/typeshed-fallback/stdlib/concurrent/futures/interpreter.pyi +1 -3
- package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +14 -6
- package/dist/typeshed-fallback/stdlib/ctypes/util.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/ctypes/wintypes.pyi +9 -0
- package/dist/typeshed-fallback/stdlib/dataclasses.pyi +50 -5
- package/dist/typeshed-fallback/stdlib/email/_header_value_parser.pyi +2 -5
- package/dist/typeshed-fallback/stdlib/enum.pyi +5 -1
- package/dist/typeshed-fallback/stdlib/errno.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/faulthandler.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/fractions.pyi +28 -10
- package/dist/typeshed-fallback/stdlib/genericpath.pyi +6 -1
- package/dist/typeshed-fallback/stdlib/gzip.pyi +11 -2
- package/dist/typeshed-fallback/stdlib/importlib/abc.pyi +59 -53
- package/dist/typeshed-fallback/stdlib/importlib/machinery.pyi +23 -0
- package/dist/typeshed-fallback/stdlib/importlib/resources/__init__.pyi +8 -2
- package/dist/typeshed-fallback/stdlib/importlib/resources/_common.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/importlib/resources/abc.pyi +66 -9
- package/dist/typeshed-fallback/stdlib/importlib/util.pyi +20 -4
- package/dist/typeshed-fallback/stdlib/logging/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/lzma.pyi +5 -4
- package/dist/typeshed-fallback/stdlib/multiprocessing/forkserver.pyi +21 -7
- package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +62 -1
- package/dist/typeshed-fallback/stdlib/multiprocessing/popen_fork.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/multiprocessing/reduction.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/multiprocessing/util.pyi +15 -5
- package/dist/typeshed-fallback/stdlib/ntpath.pyi +7 -10
- package/dist/typeshed-fallback/stdlib/posixpath.pyi +7 -13
- package/dist/typeshed-fallback/stdlib/pyexpat/errors.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/select.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/shutil.pyi +9 -2
- package/dist/typeshed-fallback/stdlib/socket.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/socketserver.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/sre_constants.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/string/__init__.pyi +5 -2
- package/dist/typeshed-fallback/stdlib/string/templatelib.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/tarfile.pyi +16 -1
- package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +4 -2
- package/dist/typeshed-fallback/stdlib/turtle.pyi +38 -1
- package/dist/typeshed-fallback/stdlib/types.pyi +12 -1
- package/dist/typeshed-fallback/stdlib/typing.pyi +7 -3
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +28 -1
- package/dist/typeshed-fallback/stdlib/winsound.pyi +10 -0
- package/dist/typeshed-fallback/stdlib/xml/sax/__init__.pyi +18 -1
- package/dist/typeshed-fallback/stdlib/zipfile/__init__.pyi +21 -4
- package/dist/typeshed-fallback/stdlib/zipimport.pyi +12 -2
- package/dist/typeshed-fallback/stdlib/zoneinfo/__init__.pyi +8 -2
- package/dist/typeshed-fallback/stubs/Flask-Cors/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/Flask-Cors/flask_cors/core.pyi +3 -3
- package/dist/typeshed-fallback/stubs/WebOb/webob/cookies.pyi +2 -2
- package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/threadpool/__init__.pyi +6 -5
- package/dist/typeshed-fallback/stubs/braintree/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card.pyi +4 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/customer_session_gateway.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/create_customer_session_input.pyi +11 -7
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/customer_recommendations_input.pyi +13 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/customer_session_input.pyi +14 -9
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/monetary_amount_input.pyi +6 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/paypal_payee_input.pyi +14 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/paypal_purchase_unit_input.pyi +16 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/phone_input.pyi +9 -6
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/update_customer_session_input.pyi +13 -6
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/customer_recommendations_payload.pyi +9 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/payment_options.pyi +2 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/payment_recommendation.pyi +6 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/unions/customer_recommendations.pyi +4 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/{montary_amount.pyi → monetary_amount.pyi} +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/credit_card_numbers.pyi +4 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/nonces.pyi +4 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/util/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/util/experimental.pyi +5 -0
- package/dist/typeshed-fallback/stubs/cachetools/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/cachetools/cachetools/__init__.pyi +13 -4
- package/dist/typeshed-fallback/stubs/cachetools/cachetools/func.pyi +1 -4
- package/dist/typeshed-fallback/stubs/cffi/_cffi_backend.pyi +2 -2
- package/dist/typeshed-fallback/stubs/cffi/cffi/api.pyi +1 -1
- package/dist/typeshed-fallback/stubs/dateparser/dateparser/calendars/__init__.pyi +3 -1
- package/dist/typeshed-fallback/stubs/dateparser/dateparser/parser.pyi +1 -1
- package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +12 -12
- package/dist/typeshed-fallback/stubs/docutils/docutils/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/core.pyi +9 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/__init__.pyi +11 -3
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/af.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ar.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ca.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/cs.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/da.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/de.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/en.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/eo.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/es.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/fa.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/fi.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/fr.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/gl.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/he.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/it.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ja.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ka.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ko.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/lt.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/lv.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/nl.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/pl.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/pt_br.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ru.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/sk.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/sv.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/uk.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/zh_cn.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/languages/zh_tw.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/nodes.pyi +206 -3
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/__init__.pyi +8 -6
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/null.pyi +1 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/recommonmark_wrapper.pyi +50 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/__init__.pyi +9 -5
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/__init__.pyi +5 -3
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/admonitions.pyi +33 -10
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/body.pyi +64 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/html.pyi +5 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/images.pyi +18 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/misc.pyi +8 -7
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/parts.pyi +4 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/references.pyi +4 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/tables.pyi +62 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/__init__.pyi +20 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/af.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ar.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ca.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/cs.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/da.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/de.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/en.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/eo.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/es.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/fa.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/fi.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/fr.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/gl.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/he.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/it.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ja.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ka.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ko.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/lt.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/lv.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/nl.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/pl.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/pt_br.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ru.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/sk.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/sv.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/uk.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/zh_cn.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/zh_tw.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/roles.pyi +3 -2
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/states.pyi +257 -8
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/tableparser.pyi +3 -2
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/__init__.pyi +9 -8
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/code_analyzer.pyi +28 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/error_reporting.pyi +41 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/__init__.pyi +11 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/latex2mathml.pyi +44 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/math2html.pyi +635 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/mathalphabet2unichar.pyi +13 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/mathml_elements.pyi +82 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/tex2mathml_extern.pyi +8 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/tex2unichar.pyi +14 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/unichar2tex.pyi +1 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/punctuation_chars.pyi +9 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/roman.pyi +10 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/smartquotes.pyi +44 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/urischemes.pyi +1 -0
- package/dist/typeshed-fallback/stubs/docutils/docutils/writers/manpage.pyi +18 -0
- package/dist/typeshed-fallback/stubs/geopandas/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/geopandas/geopandas/geoseries.pyi +1 -1
- package/dist/typeshed-fallback/stubs/grpcio/grpc/__init__.pyi +32 -53
- package/dist/typeshed-fallback/stubs/grpcio/grpc/aio/__init__.pyi +18 -21
- package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser.pyi +1 -0
- package/dist/typeshed-fallback/stubs/jmespath/jmespath/__init__.pyi +3 -1
- package/dist/typeshed-fallback/stubs/jmespath/jmespath/ast.pyi +55 -22
- package/dist/typeshed-fallback/stubs/jmespath/jmespath/compat.pyi +7 -4
- package/dist/typeshed-fallback/stubs/jmespath/jmespath/functions.pyi +1 -1
- package/dist/typeshed-fallback/stubs/jmespath/jmespath/visitor.pyi +14 -11
- package/dist/typeshed-fallback/stubs/jsonschema/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/_utils.pyi +2 -1
- package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/validators.pyi +26 -12
- package/dist/typeshed-fallback/stubs/networkx/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/density.pyi +15 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/traveling_salesman.pyi +11 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/treewidth.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/asteroidal.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/cluster.pyi +7 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/link_analysis.pyi +20 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/clique.pyi +12 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/coloring/equitable_coloring.pyi +8 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/coloring/greedy_coloring.pyi +5 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/divisive.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/leiden.pyi +18 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/local.pyi +15 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/lukes.pyi +9 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/quality.pyi +9 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_augmentation.pyi +28 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_kcomponents.pyi +3 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/kcomponents.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/d_separation.pyi +1 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/distance_measures.pyi +14 -9
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dominating.pyi +6 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/isomorph.pyi +17 -13
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/matchhelpers.pyi +3 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/tree_isomorphism.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/minors/contraction.pyi +11 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planar_drawing.pyi +10 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +5 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/similarity.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/structuralholes.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/threshold.pyi +28 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tournament.pyi +11 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgebfs.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgedfs.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/branchings.pyi +6 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/mst.pyi +11 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/triads.pyi +6 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/digraph.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/function.pyi +30 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/layout.pyi +46 -16
- package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_pylab.pyi +53 -15
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/atlas.pyi +11 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/directed.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/internet_as_graphs.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/nonisomorphic_trees.pyi +1 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/triads.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/linalg/laplacianmatrix.pyi +0 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/gml.pyi +8 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/graph6.pyi +7 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/pajek.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/utils/__init__.pyi +4 -19
- package/dist/typeshed-fallback/stubs/networkx/networkx/utils/backends.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/utils/rcm.pyi +4 -0
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/colors.pyi +2 -4
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/argon2.pyi +8 -7
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/bcrypt.pyi +4 -3
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/cisco.pyi +2 -1
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/des_crypt.pyi +6 -5
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/digests.pyi +11 -7
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/django.pyi +5 -4
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/fshp.pyi +3 -2
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/ldap_digests.pyi +3 -2
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/md5_crypt.pyi +2 -1
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/misc.pyi +4 -1
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/mssql.pyi +3 -2
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/oracle.pyi +2 -1
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/pbkdf2.pyi +4 -4
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/scram.pyi +2 -1
- package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/scrypt.pyi +2 -1
- package/dist/typeshed-fallback/stubs/passlib/passlib/utils/handlers.pyi +1 -1
- package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +8 -29
- package/dist/typeshed-fallback/stubs/psutil/psutil/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/python-jose/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/python-jose/jose/backends/__init__.pyi +1 -4
- package/dist/typeshed-fallback/stubs/python-jose/jose/backends/cryptography_backend.pyi +1 -2
- package/dist/typeshed-fallback/stubs/python-jose/jose/jws.pyi +2 -2
- package/dist/typeshed-fallback/stubs/python-jose/jose/jwt.pyi +4 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/protocol/display.pyi +2 -2
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/dmtx.pyi +4 -4
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/eanbc.pyi +1 -1
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/canvas.pyi +13 -9
- package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/vobject/vobject/behavior.pyi +1 -1
- package/dist/typeshed-fallback/stubs/vobject/vobject/icalendar.pyi +6 -6
- package/package.json +1 -1
- package/dist/typeshed-fallback/stubs/atheris/METADATA.toml +0 -10
- package/dist/typeshed-fallback/stubs/atheris/atheris/__init__.pyi +0 -9
- package/dist/typeshed-fallback/stubs/atheris/atheris/function_hooks.pyi +0 -14
- package/dist/typeshed-fallback/stubs/atheris/atheris/import_hook.pyi +0 -36
- package/dist/typeshed-fallback/stubs/atheris/atheris/instrument_bytecode.pyi +0 -7
- package/dist/typeshed-fallback/stubs/atheris/atheris/utils.pyi +0 -18
- package/dist/typeshed-fallback/stubs/atheris/atheris/version_dependent.pyi +0 -27
- package/dist/typeshed-fallback/stubs/caldav/METADATA.toml +0 -9
- package/dist/typeshed-fallback/stubs/caldav/caldav/__init__.pyi +0 -4
- package/dist/typeshed-fallback/stubs/caldav/caldav/davclient.pyi +0 -84
- package/dist/typeshed-fallback/stubs/caldav/caldav/elements/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/caldav/caldav/elements/base.pyi +0 -24
- package/dist/typeshed-fallback/stubs/caldav/caldav/elements/cdav.pyi +0 -100
- package/dist/typeshed-fallback/stubs/caldav/caldav/elements/dav.pyi +0 -63
- package/dist/typeshed-fallback/stubs/caldav/caldav/elements/ical.pyi +0 -9
- package/dist/typeshed-fallback/stubs/caldav/caldav/lib/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/caldav/caldav/lib/error.pyi +0 -23
- package/dist/typeshed-fallback/stubs/caldav/caldav/lib/namespace.pyi +0 -4
- package/dist/typeshed-fallback/stubs/caldav/caldav/lib/url.pyi +0 -27
- package/dist/typeshed-fallback/stubs/caldav/caldav/lib/vcal.pyi +0 -1
- package/dist/typeshed-fallback/stubs/caldav/caldav/objects.pyi +0 -263
- package/dist/typeshed-fallback/stubs/caldav/caldav/requests.pyi +0 -8
- package/dist/typeshed-fallback/stubs/corus/METADATA.toml +0 -6
- package/dist/typeshed-fallback/stubs/corus/corus/__init__.pyi +0 -1
- package/dist/typeshed-fallback/stubs/corus/corus/io.pyi +0 -21
- package/dist/typeshed-fallback/stubs/corus/corus/path.pyi +0 -0
- package/dist/typeshed-fallback/stubs/corus/corus/readme.pyi +0 -17
- package/dist/typeshed-fallback/stubs/corus/corus/record.pyi +0 -8
- package/dist/typeshed-fallback/stubs/corus/corus/sources/__init__.pyi +0 -23
- package/dist/typeshed-fallback/stubs/corus/corus/sources/bsnlp.pyi +0 -75
- package/dist/typeshed-fallback/stubs/corus/corus/sources/buriy.pyi +0 -18
- package/dist/typeshed-fallback/stubs/corus/corus/sources/corpora.pyi +0 -50
- package/dist/typeshed-fallback/stubs/corus/corus/sources/factru.pyi +0 -74
- package/dist/typeshed-fallback/stubs/corus/corus/sources/gareev.pyi +0 -21
- package/dist/typeshed-fallback/stubs/corus/corus/sources/gramru.pyi +0 -1
- package/dist/typeshed-fallback/stubs/corus/corus/sources/lenta.pyi +0 -19
- package/dist/typeshed-fallback/stubs/corus/corus/sources/librusec.pyi +0 -14
- package/dist/typeshed-fallback/stubs/corus/corus/sources/meta.pyi +0 -43
- package/dist/typeshed-fallback/stubs/corus/corus/sources/mokoron.pyi +0 -28
- package/dist/typeshed-fallback/stubs/corus/corus/sources/morphoru.pyi +0 -24
- package/dist/typeshed-fallback/stubs/corus/corus/sources/ne5.pyi +0 -28
- package/dist/typeshed-fallback/stubs/corus/corus/sources/ods.pyi +0 -46
- package/dist/typeshed-fallback/stubs/corus/corus/sources/omnia.pyi +0 -49
- package/dist/typeshed-fallback/stubs/corus/corus/sources/persons.pyi +0 -27
- package/dist/typeshed-fallback/stubs/corus/corus/sources/ria.pyi +0 -21
- package/dist/typeshed-fallback/stubs/corus/corus/sources/rudrec.pyi +0 -27
- package/dist/typeshed-fallback/stubs/corus/corus/sources/russe.pyi +0 -16
- package/dist/typeshed-fallback/stubs/corus/corus/sources/simlex.pyi +0 -14
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/__init__.pyi +0 -10
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/arzamas.pyi +0 -4
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/common.pyi +0 -69
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/fontanka.pyi +0 -4
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/interfax.pyi +0 -4
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/kp.pyi +0 -4
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/lenta.pyi +0 -4
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/magazines.pyi +0 -4
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/nplus1.pyi +0 -4
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/proza.pyi +0 -6
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/social.pyi +0 -15
- package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/subtitles.pyi +0 -6
- package/dist/typeshed-fallback/stubs/corus/corus/sources/toloka.pyi +0 -28
- package/dist/typeshed-fallback/stubs/corus/corus/sources/ud.pyi +0 -29
- package/dist/typeshed-fallback/stubs/corus/corus/sources/wiki.pyi +0 -20
- package/dist/typeshed-fallback/stubs/corus/corus/sources/wikiner.pyi +0 -19
- package/dist/typeshed-fallback/stubs/corus/corus/third/WikiExtractor.pyi +0 -225
- package/dist/typeshed-fallback/stubs/corus/corus/third/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/corus/corus/zip.pyi +0 -28
- package/dist/typeshed-fallback/stubs/pygit2/METADATA.toml +0 -9
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/__init__.pyi +0 -60
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/_build.pyi +0 -5
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/_libgit2.pyi +0 -4
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/_pygit2.pyi +0 -763
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/_run.pyi +0 -15
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/blame.pyi +0 -34
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/blob.pyi +0 -25
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/branches.pyi +0 -17
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/callbacks.pyi +0 -78
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/config.pyi +0 -59
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/credentials.pyi +0 -34
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/enums.pyi +0 -394
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/errors.pyi +0 -6
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/ffi.pyi +0 -1
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/filter.pyi +0 -11
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/index.pyi +0 -59
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/legacyenums.pyi +0 -62
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/packbuilder.pyi +0 -15
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/references.pyi +0 -18
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/refspec.pyi +0 -18
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/remotes.pyi +0 -84
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/repository.pyi +0 -211
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/settings.pyi +0 -37
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/submodules.pyi +0 -44
- package/dist/typeshed-fallback/stubs/pygit2/pygit2/utils.pyi +0 -49
- package/dist/typeshed-fallback/stubs/tree-sitter-languages/METADATA.toml +0 -9
- package/dist/typeshed-fallback/stubs/tree-sitter-languages/tree_sitter_languages/__init__.pyi +0 -7
- package/dist/typeshed-fallback/stubs/tree-sitter-languages/tree_sitter_languages/core.pyi +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
8f5a80e7b741226e525bd90e45496b8f68dc69b6
|
|
@@ -303,3 +303,8 @@ if sys.version_info >= (3, 12):
|
|
|
303
303
|
def current_task(loop: AbstractEventLoop | None = None) -> Task[Any] | None:
|
|
304
304
|
"""Return a currently executed task."""
|
|
305
305
|
...
|
|
306
|
+
|
|
307
|
+
if sys.version_info >= (3, 14):
|
|
308
|
+
def future_discard_from_awaited_by(future: Future[Any], waiter: Future[Any], /) -> None: ...
|
|
309
|
+
def future_add_to_awaited_by(future: Future[Any], waiter: Future[Any], /) -> None: ...
|
|
310
|
+
def all_tasks(loop: AbstractEventLoop | None = None) -> set[Task[Any]]: ...
|
|
@@ -83,6 +83,8 @@ class _CData:
|
|
|
83
83
|
_objects: Mapping[Any, int] | None
|
|
84
84
|
def __buffer__(self, flags: int, /) -> memoryview: ...
|
|
85
85
|
def __ctypes_from_outparam__(self, /) -> Self: ...
|
|
86
|
+
if sys.version_info >= (3, 14):
|
|
87
|
+
__pointer_type__: type
|
|
86
88
|
|
|
87
89
|
# this is a union of all the subclasses of _CData, which is useful because of
|
|
88
90
|
# the methods that are present on each of those subclasses which are not present
|
|
@@ -459,6 +459,9 @@ if sys.version_info >= (3, 10):
|
|
|
459
459
|
"""
|
|
460
460
|
...
|
|
461
461
|
|
|
462
|
+
if sys.version_info >= (3, 14):
|
|
463
|
+
def assume_default_colors(fg: int, bg: int, /) -> None: ...
|
|
464
|
+
|
|
462
465
|
def has_ic() -> bool:
|
|
463
466
|
"""Return True if the terminal has insert- and delete-character capabilities."""
|
|
464
467
|
...
|
|
@@ -173,52 +173,96 @@ def get_fips_mode() -> int:
|
|
|
173
173
|
def hmac_new(key: bytes | bytearray, msg: ReadableBuffer = b"", digestmod: _DigestMod = None) -> HMAC:
|
|
174
174
|
"""Return a new hmac object."""
|
|
175
175
|
...
|
|
176
|
-
def new(name: str, string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH:
|
|
177
|
-
"""
|
|
178
|
-
Return a new hash object using the named algorithm.
|
|
179
176
|
|
|
180
|
-
|
|
181
|
-
|
|
177
|
+
if sys.version_info >= (3, 13):
|
|
178
|
+
def new(
|
|
179
|
+
name: str, data: ReadableBuffer = b"", *, usedforsecurity: bool = True, string: ReadableBuffer | None = None
|
|
180
|
+
) -> HASH:
|
|
181
|
+
"""
|
|
182
|
+
Return a new hash object using the named algorithm.
|
|
183
|
+
|
|
184
|
+
An optional string argument may be provided and will be
|
|
185
|
+
automatically hashed.
|
|
186
|
+
|
|
187
|
+
The MD5 and SHA1 algorithms are always supported.
|
|
188
|
+
"""
|
|
189
|
+
...
|
|
190
|
+
def openssl_md5(
|
|
191
|
+
data: ReadableBuffer = b"", *, usedforsecurity: bool = True, string: ReadableBuffer | None = None
|
|
192
|
+
) -> HASH:
|
|
193
|
+
"""Returns a md5 hash object; optionally initialized with a string"""
|
|
194
|
+
...
|
|
195
|
+
def openssl_sha1(
|
|
196
|
+
data: ReadableBuffer = b"", *, usedforsecurity: bool = True, string: ReadableBuffer | None = None
|
|
197
|
+
) -> HASH:
|
|
198
|
+
"""Returns a sha1 hash object; optionally initialized with a string"""
|
|
199
|
+
...
|
|
200
|
+
def openssl_sha224(
|
|
201
|
+
data: ReadableBuffer = b"", *, usedforsecurity: bool = True, string: ReadableBuffer | None = None
|
|
202
|
+
) -> HASH:
|
|
203
|
+
"""Returns a sha224 hash object; optionally initialized with a string"""
|
|
204
|
+
...
|
|
205
|
+
def openssl_sha256(
|
|
206
|
+
data: ReadableBuffer = b"", *, usedforsecurity: bool = True, string: ReadableBuffer | None = None
|
|
207
|
+
) -> HASH:
|
|
208
|
+
"""Returns a sha256 hash object; optionally initialized with a string"""
|
|
209
|
+
...
|
|
210
|
+
def openssl_sha384(
|
|
211
|
+
data: ReadableBuffer = b"", *, usedforsecurity: bool = True, string: ReadableBuffer | None = None
|
|
212
|
+
) -> HASH:
|
|
213
|
+
"""Returns a sha384 hash object; optionally initialized with a string"""
|
|
214
|
+
...
|
|
215
|
+
def openssl_sha512(
|
|
216
|
+
data: ReadableBuffer = b"", *, usedforsecurity: bool = True, string: ReadableBuffer | None = None
|
|
217
|
+
) -> HASH:
|
|
218
|
+
"""Returns a sha512 hash object; optionally initialized with a string"""
|
|
219
|
+
...
|
|
220
|
+
def openssl_sha3_224(
|
|
221
|
+
data: ReadableBuffer = b"", *, usedforsecurity: bool = True, string: ReadableBuffer | None = None
|
|
222
|
+
) -> HASH:
|
|
223
|
+
"""Returns a sha3-224 hash object; optionally initialized with a string"""
|
|
224
|
+
...
|
|
225
|
+
def openssl_sha3_256(
|
|
226
|
+
data: ReadableBuffer = b"", *, usedforsecurity: bool = True, string: ReadableBuffer | None = None
|
|
227
|
+
) -> HASH:
|
|
228
|
+
"""Returns a sha3-256 hash object; optionally initialized with a string"""
|
|
229
|
+
...
|
|
230
|
+
def openssl_sha3_384(
|
|
231
|
+
data: ReadableBuffer = b"", *, usedforsecurity: bool = True, string: ReadableBuffer | None = None
|
|
232
|
+
) -> HASH:
|
|
233
|
+
"""Returns a sha3-384 hash object; optionally initialized with a string"""
|
|
234
|
+
...
|
|
235
|
+
def openssl_sha3_512(
|
|
236
|
+
data: ReadableBuffer = b"", *, usedforsecurity: bool = True, string: ReadableBuffer | None = None
|
|
237
|
+
) -> HASH:
|
|
238
|
+
"""Returns a sha3-512 hash object; optionally initialized with a string"""
|
|
239
|
+
...
|
|
240
|
+
def openssl_shake_128(
|
|
241
|
+
data: ReadableBuffer = b"", *, usedforsecurity: bool = True, string: ReadableBuffer | None = None
|
|
242
|
+
) -> HASHXOF:
|
|
243
|
+
"""Returns a shake-128 variable hash object; optionally initialized with a string"""
|
|
244
|
+
...
|
|
245
|
+
def openssl_shake_256(
|
|
246
|
+
data: ReadableBuffer = b"", *, usedforsecurity: bool = True, string: ReadableBuffer | None = None
|
|
247
|
+
) -> HASHXOF:
|
|
248
|
+
"""Returns a shake-256 variable hash object; optionally initialized with a string"""
|
|
249
|
+
...
|
|
250
|
+
|
|
251
|
+
else:
|
|
252
|
+
def new(name: str, string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH: ...
|
|
253
|
+
def openssl_md5(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH: ...
|
|
254
|
+
def openssl_sha1(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH: ...
|
|
255
|
+
def openssl_sha224(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH: ...
|
|
256
|
+
def openssl_sha256(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH: ...
|
|
257
|
+
def openssl_sha384(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH: ...
|
|
258
|
+
def openssl_sha512(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH: ...
|
|
259
|
+
def openssl_sha3_224(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH: ...
|
|
260
|
+
def openssl_sha3_256(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH: ...
|
|
261
|
+
def openssl_sha3_384(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH: ...
|
|
262
|
+
def openssl_sha3_512(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH: ...
|
|
263
|
+
def openssl_shake_128(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASHXOF: ...
|
|
264
|
+
def openssl_shake_256(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASHXOF: ...
|
|
182
265
|
|
|
183
|
-
The MD5 and SHA1 algorithms are always supported.
|
|
184
|
-
"""
|
|
185
|
-
...
|
|
186
|
-
def openssl_md5(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH:
|
|
187
|
-
"""Returns a md5 hash object; optionally initialized with a string"""
|
|
188
|
-
...
|
|
189
|
-
def openssl_sha1(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH:
|
|
190
|
-
"""Returns a sha1 hash object; optionally initialized with a string"""
|
|
191
|
-
...
|
|
192
|
-
def openssl_sha224(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH:
|
|
193
|
-
"""Returns a sha224 hash object; optionally initialized with a string"""
|
|
194
|
-
...
|
|
195
|
-
def openssl_sha256(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH:
|
|
196
|
-
"""Returns a sha256 hash object; optionally initialized with a string"""
|
|
197
|
-
...
|
|
198
|
-
def openssl_sha384(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH:
|
|
199
|
-
"""Returns a sha384 hash object; optionally initialized with a string"""
|
|
200
|
-
...
|
|
201
|
-
def openssl_sha512(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH:
|
|
202
|
-
"""Returns a sha512 hash object; optionally initialized with a string"""
|
|
203
|
-
...
|
|
204
|
-
def openssl_sha3_224(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH:
|
|
205
|
-
"""Returns a sha3-224 hash object; optionally initialized with a string"""
|
|
206
|
-
...
|
|
207
|
-
def openssl_sha3_256(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH:
|
|
208
|
-
"""Returns a sha3-256 hash object; optionally initialized with a string"""
|
|
209
|
-
...
|
|
210
|
-
def openssl_sha3_384(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH:
|
|
211
|
-
"""Returns a sha3-384 hash object; optionally initialized with a string"""
|
|
212
|
-
...
|
|
213
|
-
def openssl_sha3_512(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASH:
|
|
214
|
-
"""Returns a sha3-512 hash object; optionally initialized with a string"""
|
|
215
|
-
...
|
|
216
|
-
def openssl_shake_128(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASHXOF:
|
|
217
|
-
"""Returns a shake-128 variable hash object; optionally initialized with a string"""
|
|
218
|
-
...
|
|
219
|
-
def openssl_shake_256(string: ReadableBuffer = b"", *, usedforsecurity: bool = True) -> HASHXOF:
|
|
220
|
-
"""Returns a shake-256 variable hash object; optionally initialized with a string"""
|
|
221
|
-
...
|
|
222
266
|
def hmac_digest(key: bytes | bytearray, msg: ReadableBuffer, digest: str) -> bytes:
|
|
223
267
|
"""Single-shot HMAC."""
|
|
224
268
|
...
|
|
@@ -29,9 +29,10 @@ without surprises: heap[0] is the smallest item, and heap.sort()
|
|
|
29
29
|
maintains the heap invariant!
|
|
30
30
|
"""
|
|
31
31
|
|
|
32
|
+
import sys
|
|
32
33
|
from typing import Any, Final, TypeVar
|
|
33
34
|
|
|
34
|
-
_T = TypeVar("_T")
|
|
35
|
+
_T = TypeVar("_T") # list items must be comparable
|
|
35
36
|
|
|
36
37
|
__about__: Final[str]
|
|
37
38
|
|
|
@@ -65,3 +66,10 @@ def heapreplace(heap: list[_T], item: _T, /) -> _T:
|
|
|
65
66
|
item = heapreplace(heap, item)
|
|
66
67
|
"""
|
|
67
68
|
...
|
|
69
|
+
|
|
70
|
+
if sys.version_info >= (3, 14):
|
|
71
|
+
def heapify_max(heap: list[Any], /) -> None: ... # list items must be comparable
|
|
72
|
+
def heappop_max(heap: list[_T], /) -> _T: ...
|
|
73
|
+
def heappush_max(heap: list[_T], item: _T, /) -> None: ...
|
|
74
|
+
def heappushpop_max(heap: list[_T], item: _T, /) -> _T: ...
|
|
75
|
+
def heapreplace_max(heap: list[_T], item: _T, /) -> _T: ...
|
|
@@ -7,6 +7,8 @@ from importlib.machinery import ModuleSpec
|
|
|
7
7
|
from typing import Any
|
|
8
8
|
|
|
9
9
|
check_hash_based_pycs: str
|
|
10
|
+
if sys.version_info >= (3, 14):
|
|
11
|
+
pyc_magic_number_token: int
|
|
10
12
|
|
|
11
13
|
def source_hash(key: int, source: ReadableBuffer) -> bytes: ...
|
|
12
14
|
def create_builtin(spec: ModuleSpec, /) -> types.ModuleType:
|
|
@@ -6,53 +6,80 @@ from collections.abc import Callable, Sequence
|
|
|
6
6
|
from typing import SupportsIndex
|
|
7
7
|
|
|
8
8
|
if sys.platform != "win32":
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
9
|
+
if sys.version_info >= (3, 14):
|
|
10
|
+
def fork_exec(
|
|
11
|
+
args: Sequence[StrOrBytesPath] | None,
|
|
12
|
+
executable_list: Sequence[bytes],
|
|
13
|
+
close_fds: bool,
|
|
14
|
+
pass_fds: tuple[int, ...],
|
|
15
|
+
cwd: str,
|
|
16
|
+
env: Sequence[bytes] | None,
|
|
17
|
+
p2cread: int,
|
|
18
|
+
p2cwrite: int,
|
|
19
|
+
c2pread: int,
|
|
20
|
+
c2pwrite: int,
|
|
21
|
+
errread: int,
|
|
22
|
+
errwrite: int,
|
|
23
|
+
errpipe_read: int,
|
|
24
|
+
errpipe_write: int,
|
|
25
|
+
restore_signals: int,
|
|
26
|
+
call_setsid: int,
|
|
27
|
+
pgid_to_set: int,
|
|
28
|
+
gid: SupportsIndex | None,
|
|
29
|
+
extra_groups: list[int] | None,
|
|
30
|
+
uid: SupportsIndex | None,
|
|
31
|
+
child_umask: int,
|
|
32
|
+
preexec_fn: Callable[[], None],
|
|
33
|
+
/,
|
|
34
|
+
) -> int: ...
|
|
35
|
+
else:
|
|
36
|
+
def fork_exec(
|
|
37
|
+
args: Sequence[StrOrBytesPath] | None,
|
|
38
|
+
executable_list: Sequence[bytes],
|
|
39
|
+
close_fds: bool,
|
|
40
|
+
pass_fds: tuple[int, ...],
|
|
41
|
+
cwd: str,
|
|
42
|
+
env: Sequence[bytes] | None,
|
|
43
|
+
p2cread: int,
|
|
44
|
+
p2cwrite: int,
|
|
45
|
+
c2pread: int,
|
|
46
|
+
c2pwrite: int,
|
|
47
|
+
errread: int,
|
|
48
|
+
errwrite: int,
|
|
49
|
+
errpipe_read: int,
|
|
50
|
+
errpipe_write: int,
|
|
51
|
+
restore_signals: bool,
|
|
52
|
+
call_setsid: bool,
|
|
53
|
+
pgid_to_set: int,
|
|
54
|
+
gid: SupportsIndex | None,
|
|
55
|
+
extra_groups: list[int] | None,
|
|
56
|
+
uid: SupportsIndex | None,
|
|
57
|
+
child_umask: int,
|
|
58
|
+
preexec_fn: Callable[[], None],
|
|
59
|
+
allow_vfork: bool,
|
|
60
|
+
/,
|
|
61
|
+
) -> int:
|
|
62
|
+
"""
|
|
63
|
+
Spawn a fresh new child process.
|
|
64
|
+
|
|
65
|
+
Fork a child process, close parent file descriptors as appropriate in the
|
|
66
|
+
child and duplicate the few that are needed before calling exec() in the
|
|
67
|
+
child process.
|
|
68
|
+
|
|
69
|
+
If close_fds is True, close file descriptors 3 and higher, except those listed
|
|
70
|
+
in the sorted tuple pass_fds.
|
|
71
|
+
|
|
72
|
+
The preexec_fn, if supplied, will be called immediately before closing file
|
|
73
|
+
descriptors and exec.
|
|
74
|
+
|
|
75
|
+
WARNING: preexec_fn is NOT SAFE if your application uses threads.
|
|
76
|
+
It may trigger infrequent, difficult to debug deadlocks.
|
|
77
|
+
|
|
78
|
+
If an error occurs in the child process before the exec, it is
|
|
79
|
+
serialized and written to the errpipe_write fd per subprocess.py.
|
|
80
|
+
|
|
81
|
+
Returns: the child process's PID.
|
|
82
|
+
|
|
83
|
+
Raises: Only on an error in the parent process.
|
|
84
|
+
"""
|
|
85
|
+
...
|
|
@@ -235,6 +235,8 @@ if sys.platform != "win32":
|
|
|
235
235
|
IP_RECVOPTS: int
|
|
236
236
|
IP_RECVRETOPTS: int
|
|
237
237
|
IP_RETOPTS: int
|
|
238
|
+
if sys.version_info >= (3, 13) and sys.platform == "linux":
|
|
239
|
+
CAN_RAW_ERR_FILTER: int
|
|
238
240
|
if sys.version_info >= (3, 14):
|
|
239
241
|
IP_RECVTTL: int
|
|
240
242
|
|
|
@@ -252,7 +254,6 @@ if sys.version_info >= (3, 14):
|
|
|
252
254
|
TCP_QUICKACK: int
|
|
253
255
|
|
|
254
256
|
if sys.platform == "linux":
|
|
255
|
-
CAN_RAW_ERR_FILTER: int
|
|
256
257
|
IP_FREEBIND: int
|
|
257
258
|
IP_RECVORIGDSTADDR: int
|
|
258
259
|
VMADDR_CID_LOCAL: int
|
|
@@ -61,6 +61,8 @@ class RLock:
|
|
|
61
61
|
def __exit__(self, t: type[BaseException] | None, v: BaseException | None, tb: TracebackType | None) -> None:
|
|
62
62
|
"""Release the lock."""
|
|
63
63
|
...
|
|
64
|
+
if sys.version_info >= (3, 14):
|
|
65
|
+
def locked(self) -> bool: ...
|
|
64
66
|
|
|
65
67
|
if sys.version_info >= (3, 13):
|
|
66
68
|
@final
|
|
@@ -301,6 +303,9 @@ if sys.version_info >= (3, 12):
|
|
|
301
303
|
"""
|
|
302
304
|
...
|
|
303
305
|
|
|
306
|
+
if sys.version_info >= (3, 14):
|
|
307
|
+
def set_name(name: str) -> None: ...
|
|
308
|
+
|
|
304
309
|
class _local:
|
|
305
310
|
"""Thread-local data"""
|
|
306
311
|
def __getattribute__(self, name: str, /) -> Any:
|
|
@@ -93,7 +93,7 @@ class TkappType:
|
|
|
93
93
|
def globalgetvar(self, *args, **kwargs): ...
|
|
94
94
|
def globalsetvar(self, *args, **kwargs): ...
|
|
95
95
|
def globalunsetvar(self, *args, **kwargs): ...
|
|
96
|
-
def interpaddr(self): ...
|
|
96
|
+
def interpaddr(self) -> int: ...
|
|
97
97
|
def loadtk(self) -> None: ...
|
|
98
98
|
def mainloop(self, threshold: int = 0, /): ...
|
|
99
99
|
def quit(self): ...
|
|
@@ -298,9 +298,6 @@ class SupportsGetItemBuffer(SliceableBuffer, IndexableBuffer, Protocol):
|
|
|
298
298
|
|
|
299
299
|
class SizedBuffer(Sized, Buffer, Protocol): ...
|
|
300
300
|
|
|
301
|
-
# for compatibility with third-party stubs that may use this
|
|
302
|
-
_BufferWithLen: TypeAlias = SizedBuffer # not stable # noqa: Y047
|
|
303
|
-
|
|
304
301
|
ExcInfo: TypeAlias = tuple[type[BaseException], BaseException, TracebackType]
|
|
305
302
|
OptExcInfo: TypeAlias = ExcInfo | tuple[None, None, None]
|
|
306
303
|
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
from _typeshed import ReadableBuffer
|
|
2
|
+
from collections.abc import Mapping
|
|
3
|
+
from compression.zstd import CompressionParameter, DecompressionParameter
|
|
4
|
+
from typing import Final, Literal, final
|
|
5
|
+
from typing_extensions import Self, TypeAlias
|
|
6
|
+
|
|
7
|
+
ZSTD_CLEVEL_DEFAULT: Final = 3
|
|
8
|
+
ZSTD_DStreamOutSize: Final = 131072
|
|
9
|
+
ZSTD_btlazy2: Final = 6
|
|
10
|
+
ZSTD_btopt: Final = 7
|
|
11
|
+
ZSTD_btultra: Final = 8
|
|
12
|
+
ZSTD_btultra2: Final = 9
|
|
13
|
+
ZSTD_c_chainLog: Final = 103
|
|
14
|
+
ZSTD_c_checksumFlag: Final = 201
|
|
15
|
+
ZSTD_c_compressionLevel: Final = 100
|
|
16
|
+
ZSTD_c_contentSizeFlag: Final = 200
|
|
17
|
+
ZSTD_c_dictIDFlag: Final = 202
|
|
18
|
+
ZSTD_c_enableLongDistanceMatching: Final = 160
|
|
19
|
+
ZSTD_c_hashLog: Final = 102
|
|
20
|
+
ZSTD_c_jobSize: Final = 401
|
|
21
|
+
ZSTD_c_ldmBucketSizeLog: Final = 163
|
|
22
|
+
ZSTD_c_ldmHashLog: Final = 161
|
|
23
|
+
ZSTD_c_ldmHashRateLog: Final = 164
|
|
24
|
+
ZSTD_c_ldmMinMatch: Final = 162
|
|
25
|
+
ZSTD_c_minMatch: Final = 105
|
|
26
|
+
ZSTD_c_nbWorkers: Final = 400
|
|
27
|
+
ZSTD_c_overlapLog: Final = 402
|
|
28
|
+
ZSTD_c_searchLog: Final = 104
|
|
29
|
+
ZSTD_c_strategy: Final = 107
|
|
30
|
+
ZSTD_c_targetLength: Final = 106
|
|
31
|
+
ZSTD_c_windowLog: Final = 101
|
|
32
|
+
ZSTD_d_windowLogMax: Final = 100
|
|
33
|
+
ZSTD_dfast: Final = 2
|
|
34
|
+
ZSTD_fast: Final = 1
|
|
35
|
+
ZSTD_greedy: Final = 3
|
|
36
|
+
ZSTD_lazy: Final = 4
|
|
37
|
+
ZSTD_lazy2: Final = 5
|
|
38
|
+
|
|
39
|
+
_ZstdCompressorContinue: TypeAlias = Literal[0]
|
|
40
|
+
_ZstdCompressorFlushBlock: TypeAlias = Literal[1]
|
|
41
|
+
_ZstdCompressorFlushFrame: TypeAlias = Literal[2]
|
|
42
|
+
|
|
43
|
+
@final
|
|
44
|
+
class ZstdCompressor:
|
|
45
|
+
CONTINUE: Final = 0
|
|
46
|
+
FLUSH_BLOCK: Final = 1
|
|
47
|
+
FLUSH_FRAME: Final = 2
|
|
48
|
+
def __init__(
|
|
49
|
+
self, level: int | None = None, options: Mapping[int, int] | None = None, zstd_dict: ZstdDict | None = None
|
|
50
|
+
) -> None: ...
|
|
51
|
+
def compress(
|
|
52
|
+
self, /, data: ReadableBuffer, mode: _ZstdCompressorContinue | _ZstdCompressorFlushBlock | _ZstdCompressorFlushFrame = 0
|
|
53
|
+
) -> bytes: ...
|
|
54
|
+
def flush(self, /, mode: _ZstdCompressorFlushBlock | _ZstdCompressorFlushFrame = 2) -> bytes: ...
|
|
55
|
+
@property
|
|
56
|
+
def last_mode(self) -> _ZstdCompressorContinue | _ZstdCompressorFlushBlock | _ZstdCompressorFlushFrame: ...
|
|
57
|
+
|
|
58
|
+
@final
|
|
59
|
+
class ZstdDecompressor:
|
|
60
|
+
def __init__(self, zstd_dict: ZstdDict | None = None, options: Mapping[int, int] | None = None) -> None: ...
|
|
61
|
+
def decompress(self, /, data: ReadableBuffer, max_length: int = -1) -> bytes: ...
|
|
62
|
+
@property
|
|
63
|
+
def eof(self) -> bool: ...
|
|
64
|
+
@property
|
|
65
|
+
def needs_input(self) -> bool: ...
|
|
66
|
+
@property
|
|
67
|
+
def unused_data(self) -> bytes: ...
|
|
68
|
+
|
|
69
|
+
@final
|
|
70
|
+
class ZstdDict:
|
|
71
|
+
def __init__(self, dict_content: bytes, /, *, is_raw: bool = False) -> None: ...
|
|
72
|
+
def __len__(self, /) -> int: ...
|
|
73
|
+
@property
|
|
74
|
+
def as_digested_dict(self) -> tuple[Self, int]: ...
|
|
75
|
+
@property
|
|
76
|
+
def as_prefix(self) -> tuple[Self, int]: ...
|
|
77
|
+
@property
|
|
78
|
+
def as_undigested_dict(self) -> tuple[Self, int]: ...
|
|
79
|
+
@property
|
|
80
|
+
def dict_content(self) -> bytes: ...
|
|
81
|
+
@property
|
|
82
|
+
def dict_id(self) -> int: ...
|
|
83
|
+
|
|
84
|
+
class ZstdError(Exception): ...
|
|
85
|
+
|
|
86
|
+
def finalize_dict(
|
|
87
|
+
custom_dict_bytes: bytes, samples_bytes: bytes, samples_sizes: tuple[int, ...], dict_size: int, compression_level: int, /
|
|
88
|
+
) -> bytes: ...
|
|
89
|
+
def get_frame_info(frame_buffer: ReadableBuffer) -> tuple[int, int]: ...
|
|
90
|
+
def get_frame_size(frame_buffer: ReadableBuffer) -> int: ...
|
|
91
|
+
def get_param_bounds(parameter: int, is_compress: bool) -> tuple[int, int]: ...
|
|
92
|
+
def set_parameter_types(c_parameter_type: type[CompressionParameter], d_parameter_type: type[DecompressionParameter]) -> None: ...
|
|
93
|
+
def train_dict(samples_bytes: bytes, samples_sizes: tuple[int, ...], dict_size: int, /) -> bytes: ...
|
|
94
|
+
|
|
95
|
+
zstd_version: Final[str]
|
|
96
|
+
zstd_version_number: Final[int]
|
|
@@ -281,13 +281,7 @@ class HelpFormatter:
|
|
|
281
281
|
|
|
282
282
|
if sys.version_info >= (3, 14):
|
|
283
283
|
def __init__(
|
|
284
|
-
self,
|
|
285
|
-
prog: str,
|
|
286
|
-
indent_increment: int = 2,
|
|
287
|
-
max_help_position: int = 24,
|
|
288
|
-
width: int | None = None,
|
|
289
|
-
prefix_chars: str = "-",
|
|
290
|
-
color: bool = False,
|
|
284
|
+
self, prog: str, indent_increment: int = 2, max_help_position: int = 24, width: int | None = None, color: bool = False
|
|
291
285
|
) -> None: ...
|
|
292
286
|
else:
|
|
293
287
|
def __init__(
|
|
@@ -1095,20 +1095,28 @@ if sys.version_info >= (3, 14):
|
|
|
1095
1095
|
**kwargs: Unpack[_Attributes],
|
|
1096
1096
|
) -> Self: ...
|
|
1097
1097
|
|
|
1098
|
+
if sys.version_info >= (3, 10):
|
|
1099
|
+
from types import EllipsisType
|
|
1100
|
+
|
|
1101
|
+
_ConstantValue: typing_extensions.TypeAlias = str | bytes | bool | int | float | complex | None | EllipsisType
|
|
1102
|
+
else:
|
|
1103
|
+
# Rely on builtins.ellipsis
|
|
1104
|
+
_ConstantValue: typing_extensions.TypeAlias = str | bytes | bool | int | float | complex | None | ellipsis # noqa: F821
|
|
1105
|
+
|
|
1098
1106
|
class Constant(expr):
|
|
1099
1107
|
if sys.version_info >= (3, 10):
|
|
1100
1108
|
__match_args__ = ("value", "kind")
|
|
1101
|
-
value:
|
|
1109
|
+
value: _ConstantValue
|
|
1102
1110
|
kind: str | None
|
|
1103
1111
|
if sys.version_info < (3, 14):
|
|
1104
1112
|
# Aliases for value, for backwards compatibility
|
|
1105
|
-
s:
|
|
1106
|
-
n:
|
|
1113
|
+
s: _ConstantValue
|
|
1114
|
+
n: _ConstantValue
|
|
1107
1115
|
|
|
1108
|
-
def __init__(self, value:
|
|
1116
|
+
def __init__(self, value: _ConstantValue, kind: str | None = None, **kwargs: Unpack[_Attributes]) -> None: ...
|
|
1109
1117
|
|
|
1110
1118
|
if sys.version_info >= (3, 14):
|
|
1111
|
-
def __replace__(self, *, value:
|
|
1119
|
+
def __replace__(self, *, value: _ConstantValue = ..., kind: str | None = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
|
|
1112
1120
|
|
|
1113
1121
|
class Attribute(expr):
|
|
1114
1122
|
if sys.version_info >= (3, 10):
|
|
@@ -1429,15 +1437,19 @@ class keyword(AST):
|
|
|
1429
1437
|
def __replace__(self, *, arg: str | None = ..., value: expr = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
|
|
1430
1438
|
|
|
1431
1439
|
class alias(AST):
|
|
1432
|
-
lineno: int
|
|
1433
|
-
col_offset: int
|
|
1434
|
-
end_lineno: int | None
|
|
1435
|
-
end_col_offset: int | None
|
|
1436
|
-
if sys.version_info >= (3, 10):
|
|
1437
|
-
__match_args__ = ("name", "asname")
|
|
1438
1440
|
name: str
|
|
1439
1441
|
asname: str | None
|
|
1440
|
-
|
|
1442
|
+
if sys.version_info >= (3, 10):
|
|
1443
|
+
lineno: int
|
|
1444
|
+
col_offset: int
|
|
1445
|
+
end_lineno: int | None
|
|
1446
|
+
end_col_offset: int | None
|
|
1447
|
+
if sys.version_info >= (3, 10):
|
|
1448
|
+
__match_args__ = ("name", "asname")
|
|
1449
|
+
if sys.version_info >= (3, 10):
|
|
1450
|
+
def __init__(self, name: str, asname: str | None = None, **kwargs: Unpack[_Attributes]) -> None: ...
|
|
1451
|
+
else:
|
|
1452
|
+
def __init__(self, name: str, asname: str | None = None) -> None: ...
|
|
1441
1453
|
|
|
1442
1454
|
if sys.version_info >= (3, 14):
|
|
1443
1455
|
def __replace__(self, *, name: str = ..., asname: str | None = ..., **kwargs: Unpack[_Attributes]) -> Self: ...
|
|
@@ -41,12 +41,14 @@ if sys.platform == "win32":
|
|
|
41
41
|
"Server", # from base_events
|
|
42
42
|
"iscoroutinefunction", # from coroutines
|
|
43
43
|
"iscoroutine", # from coroutines
|
|
44
|
-
"
|
|
44
|
+
"_AbstractEventLoopPolicy", # from events
|
|
45
45
|
"AbstractEventLoop", # from events
|
|
46
46
|
"AbstractServer", # from events
|
|
47
47
|
"Handle", # from events
|
|
48
48
|
"TimerHandle", # from events
|
|
49
|
+
"_get_event_loop_policy", # from events
|
|
49
50
|
"get_event_loop_policy", # from events
|
|
51
|
+
"_set_event_loop_policy", # from events
|
|
50
52
|
"set_event_loop_policy", # from events
|
|
51
53
|
"get_event_loop", # from events
|
|
52
54
|
"set_event_loop", # from events
|
|
@@ -132,9 +134,9 @@ if sys.platform == "win32":
|
|
|
132
134
|
"SelectorEventLoop", # from windows_events
|
|
133
135
|
"ProactorEventLoop", # from windows_events
|
|
134
136
|
"IocpProactor", # from windows_events
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
137
|
+
"_DefaultEventLoopPolicy", # from windows_events
|
|
138
|
+
"_WindowsSelectorEventLoopPolicy", # from windows_events
|
|
139
|
+
"_WindowsProactorEventLoopPolicy", # from windows_events
|
|
138
140
|
"EventLoop", # from windows_events
|
|
139
141
|
)
|
|
140
142
|
elif sys.version_info >= (3, 13):
|
|
@@ -515,12 +517,14 @@ else:
|
|
|
515
517
|
"Server", # from base_events
|
|
516
518
|
"iscoroutinefunction", # from coroutines
|
|
517
519
|
"iscoroutine", # from coroutines
|
|
518
|
-
"
|
|
520
|
+
"_AbstractEventLoopPolicy", # from events
|
|
519
521
|
"AbstractEventLoop", # from events
|
|
520
522
|
"AbstractServer", # from events
|
|
521
523
|
"Handle", # from events
|
|
522
524
|
"TimerHandle", # from events
|
|
525
|
+
"_get_event_loop_policy", # from events
|
|
523
526
|
"get_event_loop_policy", # from events
|
|
527
|
+
"_set_event_loop_policy", # from events
|
|
524
528
|
"set_event_loop_policy", # from events
|
|
525
529
|
"get_event_loop", # from events
|
|
526
530
|
"set_event_loop", # from events
|
|
@@ -606,7 +610,7 @@ else:
|
|
|
606
610
|
"DatagramTransport", # from transports
|
|
607
611
|
"SubprocessTransport", # from transports
|
|
608
612
|
"SelectorEventLoop", # from unix_events
|
|
609
|
-
"
|
|
613
|
+
"_DefaultEventLoopPolicy", # from unix_events
|
|
610
614
|
"EventLoop", # from unix_events
|
|
611
615
|
)
|
|
612
616
|
elif sys.version_info >= (3, 13):
|