basedpyright 1.28.3 → 1.28.4
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/_hashlib.pyi +15 -2
- package/dist/typeshed-fallback/stdlib/_socket.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi +7 -4
- package/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi +2 -178
- package/dist/typeshed-fallback/stdlib/asyncio/base_events.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/builtins.pyi +51 -33
- package/dist/typeshed-fallback/stdlib/configparser.pyi +61 -42
- package/dist/typeshed-fallback/stdlib/contextlib.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/distutils/cmd.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/distutils/dist.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/distutils/fancy_getopt.pyi +15 -5
- package/dist/typeshed-fallback/stdlib/functools.pyi +18 -13
- package/dist/typeshed-fallback/stdlib/getopt.pyi +15 -3
- package/dist/typeshed-fallback/stdlib/hashlib.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/heapq.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/hmac.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/http/server.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/importlib/metadata/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/importlib/readers.pyi +11 -7
- package/dist/typeshed-fallback/stdlib/inspect.pyi +10 -10
- package/dist/typeshed-fallback/stdlib/logging/config.pyi +6 -1
- package/dist/typeshed-fallback/stdlib/math.pyi +33 -3
- package/dist/typeshed-fallback/stdlib/multiprocessing/connection.pyi +9 -9
- package/dist/typeshed-fallback/stdlib/pathlib.pyi +13 -9
- package/dist/typeshed-fallback/stdlib/pkgutil.pyi +6 -6
- package/dist/typeshed-fallback/stdlib/shutil.pyi +9 -5
- package/dist/typeshed-fallback/stdlib/socketserver.pyi +8 -8
- package/dist/typeshed-fallback/stdlib/statistics.pyi +14 -15
- package/dist/typeshed-fallback/stdlib/tarfile.pyi +181 -162
- package/dist/typeshed-fallback/stdlib/types.pyi +27 -4
- package/dist/typeshed-fallback/stdlib/typing.pyi +10 -7
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +95 -48
- package/dist/typeshed-fallback/stdlib/unittest/case.pyi +5 -1
- package/dist/typeshed-fallback/stdlib/xml/dom/NodeFilter.pyi +7 -4
- package/dist/typeshed-fallback/stdlib/xml/dom/__init__.pyi +84 -53
- package/dist/typeshed-fallback/stdlib/xml/dom/expatbuilder.pyi +66 -45
- package/dist/typeshed-fallback/stdlib/xml/dom/minidom.pyi +524 -193
- package/dist/typeshed-fallback/stdlib/xml/dom/pulldom.pyi +70 -55
- package/dist/typeshed-fallback/stdlib/xml/dom/xmlbuilder.pyi +20 -49
- package/dist/typeshed-fallback/stdlib/xml/etree/ElementInclude.pyi +13 -10
- package/dist/typeshed-fallback/stdlib/xml/etree/ElementPath.pyi +19 -12
- package/dist/typeshed-fallback/stdlib/xml/etree/ElementTree.pyi +83 -41
- package/dist/typeshed-fallback/stdlib/xml/sax/_exceptions.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/xml/sax/expatreader.pyi +53 -24
- package/dist/typeshed-fallback/stdlib/xml/sax/handler.pyi +48 -17
- package/dist/typeshed-fallback/stdlib/xml/sax/saxutils.pyi +24 -16
- package/dist/typeshed-fallback/stdlib/xml/sax/xmlreader.pyi +59 -56
- package/dist/typeshed-fallback/stdlib/zipfile/__init__.pyi +0 -8
- package/dist/typeshed-fallback/stdlib/zipfile/_path/__init__.pyi +32 -52
- package/dist/typeshed-fallback/stubs/Deprecated/deprecated/classic.pyi +6 -1
- package/dist/typeshed-fallback/stubs/Deprecated/deprecated/sphinx.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Pygments/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/Pygments/pygments/plugin.pyi +11 -3
- package/dist/typeshed-fallback/stubs/RPi.GPIO/RPi/GPIO/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/WTForms/wtforms/validators.pyi +13 -5
- package/dist/typeshed-fallback/stubs/WebOb/webob/__init__.pyi +15 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/_types.pyi +21 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/acceptparse.pyi +496 -285
- package/dist/typeshed-fallback/stubs/WebOb/webob/byterange.pyi +2 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/cachecontrol.pyi +75 -75
- package/dist/typeshed-fallback/stubs/WebOb/webob/client.pyi +2 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/compat.pyi +24 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/cookies.pyi +39 -34
- package/dist/typeshed-fallback/stubs/WebOb/webob/datetime_utils.pyi +16 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/dec.pyi +40 -40
- package/dist/typeshed-fallback/stubs/WebOb/webob/descriptors.pyi +23 -34
- package/dist/typeshed-fallback/stubs/WebOb/webob/etag.pyi +11 -18
- package/dist/typeshed-fallback/stubs/WebOb/webob/exc.pyi +70 -7
- package/dist/typeshed-fallback/stubs/WebOb/webob/headers.pyi +20 -2
- package/dist/typeshed-fallback/stubs/WebOb/webob/multidict.pyi +97 -31
- package/dist/typeshed-fallback/stubs/WebOb/webob/request.pyi +70 -79
- package/dist/typeshed-fallback/stubs/WebOb/webob/response.pyi +62 -62
- package/dist/typeshed-fallback/stubs/WebOb/webob/static.pyi +12 -9
- package/dist/typeshed-fallback/stubs/WebOb/webob/util.pyi +2 -5
- package/dist/typeshed-fallback/stubs/atheris/METADATA.toml +4 -0
- package/dist/typeshed-fallback/stubs/boltons/boltons/dictutils.pyi +1 -3
- package/dist/typeshed-fallback/stubs/boltons/boltons/tbutils.pyi +13 -13
- 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/braintree_gateway.pyi +2 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card.pyi +1 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/error_codes.pyi +40 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_payment_resource.pyi +10 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_payment_resource_gateway.pyi +10 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/credit_card_numbers.pyi +1 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/nonces.pyi +1 -0
- package/dist/typeshed-fallback/stubs/cffi/METADATA.toml +2 -2
- package/dist/typeshed-fallback/stubs/cffi/_cffi_backend.pyi +8 -8
- package/dist/typeshed-fallback/stubs/cffi/cffi/recompiler.pyi +1 -0
- package/dist/typeshed-fallback/stubs/corus/METADATA.toml +4 -0
- package/dist/typeshed-fallback/stubs/dirhash/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/dirhash/dirhash/__init__.pyi +93 -0
- package/dist/typeshed-fallback/stubs/dirhash/dirhash/cli.pyi +5 -0
- package/dist/typeshed-fallback/stubs/fanstatic/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/fanstatic/fanstatic/registry.pyi +8 -3
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fonts.pyi +2 -8
- package/dist/typeshed-fallback/stubs/geopandas/geopandas/geodataframe.pyi +1 -1
- package/dist/typeshed-fallback/stubs/geopandas/geopandas/io/sql.pyi +0 -3
- package/dist/typeshed-fallback/stubs/gevent/gevent/hub.pyi +1 -1
- package/dist/typeshed-fallback/stubs/gevent/gevent/libev/corecext.pyi +1 -1
- package/dist/typeshed-fallback/stubs/gevent/gevent/libev/corecffi.pyi +1 -1
- package/dist/typeshed-fallback/stubs/gevent/gevent/libuv/loop.pyi +1 -1
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/METADATA.toml +0 -1
- package/dist/typeshed-fallback/stubs/greenlet/greenlet/_greenlet.pyi +5 -1
- package/dist/typeshed-fallback/stubs/hdbcli/hdbcli/dbapi.pyi +1 -1
- package/dist/typeshed-fallback/stubs/hnswlib/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/hnswlib/hnswlib.pyi +8 -6
- package/dist/typeshed-fallback/stubs/humanfriendly/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/ibm-db/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/__init__.pyi +6 -6
- package/dist/typeshed-fallback/stubs/mock/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/mock/mock/backports.pyi +6 -1
- package/dist/typeshed-fallback/stubs/mock/mock/mock.pyi +1 -1
- package/dist/typeshed-fallback/stubs/mysqlclient/MySQLdb/_mysql.pyi +32 -32
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/clique.pyi +5 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/clustering_coefficient.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/connectivity.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/distance_measures.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/dominating_set.pyi +3 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/kcomponents.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/matching.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/maxcut.pyi +8 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/ramsey.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/steinertree.pyi +4 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/traveling_salesman.pyi +33 -23
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/treewidth.pyi +4 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/vertex_cover.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/connectivity.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/correlation.pyi +6 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/mixing.pyi +16 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/neighbor_degree.pyi +7 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/pairs.pyi +6 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/asteroidal.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/basic.pyi +8 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/centrality.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/cluster.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/covering.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/edgelist.pyi +13 -12
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/extendability.pyi +5 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/generators.pyi +22 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/matching.pyi +11 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/matrix.pyi +9 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/projection.pyi +9 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/redundancy.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/spectral.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/boundary.pyi +53 -58
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bridges.pyi +5 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/betweenness.pyi +7 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/betweenness_subset.pyi +10 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/closeness.pyi +7 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/current_flow_betweenness.pyi +9 -9
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/current_flow_betweenness_subset.pyi +16 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/current_flow_closeness.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/eigenvector.pyi +10 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/flow_matrix.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/group.pyi +16 -12
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/harmonic.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/katz.pyi +15 -10
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/laplacian.pyi +6 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/load.pyi +3 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/percolation.pyi +6 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/reaching.pyi +9 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/second_order.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/subgraph_alg.pyi +5 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/trophic.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/voterank_alg.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/chordal.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/clique.pyi +9 -14
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/cluster.pyi +10 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/coloring/equitable_coloring.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/coloring/greedy_coloring.pyi +2 -20
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/communicability_alg.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/asyn_fluid.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/centrality.pyi +5 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/community_utils.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/divisive.pyi +5 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/kclique.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/kernighan_lin.pyi +7 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/label_propagation.pyi +4 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/louvain.pyi +13 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/lukes.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/modularity_max.pyi +3 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/quality.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/biconnected.pyi +5 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/connected.pyi +5 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/semiconnected.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/strongly_connected.pyi +5 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/weakly_connected.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/connectivity.pyi +29 -23
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/cuts.pyi +21 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/disjoint_paths.pyi +17 -16
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_augmentation.pyi +5 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_kcomponents.pyi +7 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/kcomponents.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/kcutsets.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/stoerwagner.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/core.pyi +9 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/covering.pyi +4 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/cuts.pyi +10 -9
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/cycles.pyi +9 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/d_separation.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dag.pyi +13 -10
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/distance_measures.pyi +8 -9
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/distance_regular.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dominance.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dominating.pyi +4 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/efficiency_measures.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/euler.pyi +8 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/boykovkolmogorov.pyi +6 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/capacityscaling.pyi +4 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/dinitz_alg.pyi +6 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/edmondskarp.pyi +6 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/gomory_hu.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/maxflow.pyi +34 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/mincost.pyi +7 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/networksimplex.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/preflowpush.pyi +5 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/shortestaugmentingpath.pyi +6 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/utils.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/graph_hashing.pyi +12 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/graphical.pyi +9 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/hierarchy.pyi +1 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/hybrid.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isolate.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/ismags.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/isomorph.pyi +11 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/isomorphvf2.pyi +5 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/temporalisomorphvf2.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/tree_isomorphism.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/vf2pp.pyi +6 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/vf2userfunc.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/link_analysis/hits_alg.pyi +9 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/link_analysis/pagerank_alg.pyi +16 -14
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/link_prediction.pyi +9 -10
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/lowest_common_ancestors.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/matching.pyi +7 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/minors/contraction.pyi +10 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/mis.pyi +6 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/moral.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/node_classification.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/non_randomness.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/operators/all.pyi +7 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/operators/binary.pyi +11 -11
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/operators/product.pyi +14 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/operators/unary.pyi +2 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +6 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/polynomials.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/reciprocity.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/regular.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/richclub.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/shortest_paths/astar.pyi +22 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/shortest_paths/dense.pyi +7 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/shortest_paths/generic.pyi +33 -11
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/shortest_paths/unweighted.pyi +9 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/shortest_paths/weighted.pyi +116 -30
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/similarity.pyi +69 -55
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/simple_paths.pyi +11 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/smallworld.pyi +6 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/smetric.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/sparsifiers.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/structuralholes.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/summarization.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/swap.pyi +8 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/threshold.pyi +3 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/time_dependent.pyi +5 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tournament.pyi +8 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/beamsearch.pyi +5 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/breadth_first_search.pyi +16 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/depth_first_search.pyi +20 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgebfs.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgedfs.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/branchings.pyi +13 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/coding.pyi +8 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/mst.pyi +22 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/operations.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/recognition.pyi +6 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/triads.pyi +11 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/vitality.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/voronoi.pyi +10 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/walks.pyi +5 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/wiener.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/coreviews.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/graph.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multidigraph.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multigraph.pyi +3 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/reportviews.pyi +39 -9
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/time_series.pyi +4 -0
- package/dist/typeshed-fallback/stubs/passlib/passlib/hosts.pyi +3 -1
- package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +19 -19
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor.pyi +6 -0
- package/dist/typeshed-fallback/stubs/psycopg2/psycopg2/_psycopg.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pycurl/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pycurl/pycurl.pyi +18 -0
- package/dist/typeshed-fallback/stubs/pygit2/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/building/build_main.pyi +19 -7
- package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/building/splash.pyi +18 -16
- package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/utils/hooks/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pynput/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pynput/pynput/_util.pyi +4 -4
- package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/__init__.pyi +4 -2
- package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/_base.pyi +3 -0
- package/dist/typeshed-fallback/stubs/pynput/pynput/mouse/__init__.pyi +6 -3
- package/dist/typeshed-fallback/stubs/pyserial/serial/tools/miniterm.pyi +2 -2
- package/dist/typeshed-fallback/stubs/pytz/pytz/tzinfo.pyi +3 -3
- package/dist/typeshed-fallback/stubs/pywin32/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pywin32/pythoncom.pyi +19 -2
- package/dist/typeshed-fallback/stubs/pywin32/win32/lib/win32con.pyi +4895 -4764
- package/dist/typeshed-fallback/stubs/pywin32/win32/lib/win32timezone.pyi +81 -42
- package/dist/typeshed-fallback/stubs/pywin32/win32/lib/winerror.pyi +7258 -2574
- package/dist/typeshed-fallback/stubs/pywin32/win32/servicemanager.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32/win32trace.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32/win32ts.pyi +1 -0
- package/dist/typeshed-fallback/stubs/pywin32/win32com/client/__init__.pyi +3 -1
- package/dist/typeshed-fallback/stubs/regex/regex/regex.pyi +5 -5
- package/dist/typeshed-fallback/stubs/requests/requests/__init__.pyi +12 -13
- package/dist/typeshed-fallback/stubs/requests-oauthlib/requests_oauthlib/oauth1_auth.pyi +3 -0
- package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +4 -3
- package/dist/typeshed-fallback/stubs/setuptools/distutils/ccompiler.pyi +11 -0
- package/dist/typeshed-fallback/stubs/setuptools/distutils/compilers/C/base.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/distutils/compilers/C/errors.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/distutils/compilers/C/msvc.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/_msvccompiler.pyi +2 -21
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/archive_util.pyi +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/ccompiler.pyi +13 -178
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/bdist_rpm.pyi +6 -6
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/build.pyi +2 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/build_clib.pyi +2 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/build_ext.pyi +2 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/build_py.pyi +3 -3
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install.pyi +5 -5
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_data.pyi +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_lib.pyi +4 -4
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_scripts.pyi +2 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/sdist.pyi +6 -6
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compat/__init__.pyi +6 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compilers/C/base.pyi +196 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compilers/C/errors.pyi +6 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compilers/C/msvc.pyi +24 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/dist.pyi +23 -20
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/errors.pyi +12 -6
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/filelist.pyi +12 -11
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/spawn.pyi +6 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/util.pyi +6 -6
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/bdist_wheel.pyi +0 -2
- package/dist/typeshed-fallback/stubs/simplejson/simplejson/encoder.pyi +1 -1
- package/dist/typeshed-fallback/stubs/six/six/moves/builtins.pyi +0 -1
- package/dist/typeshed-fallback/stubs/tqdm/METADATA.toml +4 -1
- package/dist/typeshed-fallback/stubs/tqdm/tqdm/asyncio.pyi +4 -3
- package/dist/typeshed-fallback/stubs/tqdm/tqdm/std.pyi +10 -3
- package/dist/typeshed-fallback/stubs/tree-sitter-languages/METADATA.toml +6 -0
- package/dist/typeshed-fallback/stubs/vobject/vobject/vcard.pyi +15 -8
- package/dist/typeshed-fallback/stubs/watchpoints/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/__init__.pyi +10 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/ast_monkey.pyi +3 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/util.pyi +6 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/watch.pyi +68 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/watch_element.pyi +56 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/watch_print.pyi +24 -0
- package/dist/typeshed-fallback/stubs/zstd/METADATA.toml +1 -1
- package/package.json +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/__init__.pyi +0 -543
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/_vendored_packaging/__init__.pyi +0 -8
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/_vendored_packaging/markers.pyi +0 -13
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/_vendored_packaging/requirements.pyi +0 -14
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/_vendored_packaging/specifiers.pyi +0 -66
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/_vendored_packaging/version.pyi +0 -49
|
@@ -103,166 +103,6 @@ PAX_NAME_FIELDS: set[str]
|
|
|
103
103
|
|
|
104
104
|
ENCODING: str
|
|
105
105
|
|
|
106
|
-
@overload
|
|
107
|
-
def open(
|
|
108
|
-
name: StrOrBytesPath | None = None,
|
|
109
|
-
mode: Literal["r", "r:*", "r:", "r:gz", "r:bz2", "r:xz"] = "r",
|
|
110
|
-
fileobj: IO[bytes] | None = None,
|
|
111
|
-
bufsize: int = 10240,
|
|
112
|
-
*,
|
|
113
|
-
format: int | None = ...,
|
|
114
|
-
tarinfo: type[TarInfo] | None = ...,
|
|
115
|
-
dereference: bool | None = ...,
|
|
116
|
-
ignore_zeros: bool | None = ...,
|
|
117
|
-
encoding: str | None = ...,
|
|
118
|
-
errors: str = ...,
|
|
119
|
-
pax_headers: Mapping[str, str] | None = ...,
|
|
120
|
-
debug: int | None = ...,
|
|
121
|
-
errorlevel: int | None = ...,
|
|
122
|
-
) -> TarFile: ...
|
|
123
|
-
@overload
|
|
124
|
-
def open(
|
|
125
|
-
name: StrOrBytesPath | None,
|
|
126
|
-
mode: Literal["x", "x:", "a", "a:", "w", "w:", "w:tar"],
|
|
127
|
-
fileobj: _Fileobj | None = None,
|
|
128
|
-
bufsize: int = 10240,
|
|
129
|
-
*,
|
|
130
|
-
format: int | None = ...,
|
|
131
|
-
tarinfo: type[TarInfo] | None = ...,
|
|
132
|
-
dereference: bool | None = ...,
|
|
133
|
-
ignore_zeros: bool | None = ...,
|
|
134
|
-
encoding: str | None = ...,
|
|
135
|
-
errors: str = ...,
|
|
136
|
-
pax_headers: Mapping[str, str] | None = ...,
|
|
137
|
-
debug: int | None = ...,
|
|
138
|
-
errorlevel: int | None = ...,
|
|
139
|
-
) -> TarFile: ...
|
|
140
|
-
@overload
|
|
141
|
-
def open(
|
|
142
|
-
name: StrOrBytesPath | None = None,
|
|
143
|
-
*,
|
|
144
|
-
mode: Literal["x", "x:", "a", "a:", "w", "w:", "w:tar"],
|
|
145
|
-
fileobj: _Fileobj | None = None,
|
|
146
|
-
bufsize: int = 10240,
|
|
147
|
-
format: int | None = ...,
|
|
148
|
-
tarinfo: type[TarInfo] | None = ...,
|
|
149
|
-
dereference: bool | None = ...,
|
|
150
|
-
ignore_zeros: bool | None = ...,
|
|
151
|
-
encoding: str | None = ...,
|
|
152
|
-
errors: str = ...,
|
|
153
|
-
pax_headers: Mapping[str, str] | None = ...,
|
|
154
|
-
debug: int | None = ...,
|
|
155
|
-
errorlevel: int | None = ...,
|
|
156
|
-
) -> TarFile: ...
|
|
157
|
-
@overload
|
|
158
|
-
def open(
|
|
159
|
-
name: StrOrBytesPath | None,
|
|
160
|
-
mode: Literal["x:gz", "x:bz2", "w:gz", "w:bz2"],
|
|
161
|
-
fileobj: _Fileobj | None = None,
|
|
162
|
-
bufsize: int = 10240,
|
|
163
|
-
*,
|
|
164
|
-
format: int | None = ...,
|
|
165
|
-
tarinfo: type[TarInfo] | None = ...,
|
|
166
|
-
dereference: bool | None = ...,
|
|
167
|
-
ignore_zeros: bool | None = ...,
|
|
168
|
-
encoding: str | None = ...,
|
|
169
|
-
errors: str = ...,
|
|
170
|
-
pax_headers: Mapping[str, str] | None = ...,
|
|
171
|
-
debug: int | None = ...,
|
|
172
|
-
errorlevel: int | None = ...,
|
|
173
|
-
compresslevel: int = 9,
|
|
174
|
-
) -> TarFile: ...
|
|
175
|
-
@overload
|
|
176
|
-
def open(
|
|
177
|
-
name: StrOrBytesPath | None = None,
|
|
178
|
-
*,
|
|
179
|
-
mode: Literal["x:gz", "x:bz2", "w:gz", "w:bz2"],
|
|
180
|
-
fileobj: _Fileobj | None = None,
|
|
181
|
-
bufsize: int = 10240,
|
|
182
|
-
format: int | None = ...,
|
|
183
|
-
tarinfo: type[TarInfo] | None = ...,
|
|
184
|
-
dereference: bool | None = ...,
|
|
185
|
-
ignore_zeros: bool | None = ...,
|
|
186
|
-
encoding: str | None = ...,
|
|
187
|
-
errors: str = ...,
|
|
188
|
-
pax_headers: Mapping[str, str] | None = ...,
|
|
189
|
-
debug: int | None = ...,
|
|
190
|
-
errorlevel: int | None = ...,
|
|
191
|
-
compresslevel: int = 9,
|
|
192
|
-
) -> TarFile: ...
|
|
193
|
-
@overload
|
|
194
|
-
def open(
|
|
195
|
-
name: StrOrBytesPath | None,
|
|
196
|
-
mode: Literal["x:xz", "w:xz"],
|
|
197
|
-
fileobj: _Fileobj | None = None,
|
|
198
|
-
bufsize: int = 10240,
|
|
199
|
-
*,
|
|
200
|
-
format: int | None = ...,
|
|
201
|
-
tarinfo: type[TarInfo] | None = ...,
|
|
202
|
-
dereference: bool | None = ...,
|
|
203
|
-
ignore_zeros: bool | None = ...,
|
|
204
|
-
encoding: str | None = ...,
|
|
205
|
-
errors: str = ...,
|
|
206
|
-
pax_headers: Mapping[str, str] | None = ...,
|
|
207
|
-
debug: int | None = ...,
|
|
208
|
-
errorlevel: int | None = ...,
|
|
209
|
-
preset: Literal[0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | None = ...,
|
|
210
|
-
) -> TarFile: ...
|
|
211
|
-
@overload
|
|
212
|
-
def open(
|
|
213
|
-
name: StrOrBytesPath | None = None,
|
|
214
|
-
*,
|
|
215
|
-
mode: Literal["x:xz", "w:xz"],
|
|
216
|
-
fileobj: _Fileobj | None = None,
|
|
217
|
-
bufsize: int = 10240,
|
|
218
|
-
format: int | None = ...,
|
|
219
|
-
tarinfo: type[TarInfo] | None = ...,
|
|
220
|
-
dereference: bool | None = ...,
|
|
221
|
-
ignore_zeros: bool | None = ...,
|
|
222
|
-
encoding: str | None = ...,
|
|
223
|
-
errors: str = ...,
|
|
224
|
-
pax_headers: Mapping[str, str] | None = ...,
|
|
225
|
-
debug: int | None = ...,
|
|
226
|
-
errorlevel: int | None = ...,
|
|
227
|
-
preset: Literal[0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | None = ...,
|
|
228
|
-
) -> TarFile: ...
|
|
229
|
-
@overload
|
|
230
|
-
def open(
|
|
231
|
-
name: StrOrBytesPath | ReadableBuffer | None = None,
|
|
232
|
-
*,
|
|
233
|
-
mode: Literal["r|*", "r|", "r|gz", "r|bz2", "r|xz"],
|
|
234
|
-
fileobj: IO[bytes] | None = None,
|
|
235
|
-
bufsize: int = 10240,
|
|
236
|
-
format: int | None = ...,
|
|
237
|
-
tarinfo: type[TarInfo] | None = ...,
|
|
238
|
-
dereference: bool | None = ...,
|
|
239
|
-
ignore_zeros: bool | None = ...,
|
|
240
|
-
encoding: str | None = ...,
|
|
241
|
-
errors: str = ...,
|
|
242
|
-
pax_headers: Mapping[str, str] | None = ...,
|
|
243
|
-
debug: int | None = ...,
|
|
244
|
-
errorlevel: int | None = ...,
|
|
245
|
-
preset: int | None = ...,
|
|
246
|
-
) -> TarFile: ...
|
|
247
|
-
@overload
|
|
248
|
-
def open(
|
|
249
|
-
name: StrOrBytesPath | WriteableBuffer | None = None,
|
|
250
|
-
*,
|
|
251
|
-
mode: Literal["w|", "w|gz", "w|bz2", "w|xz"],
|
|
252
|
-
fileobj: IO[bytes] | None = None,
|
|
253
|
-
bufsize: int = 10240,
|
|
254
|
-
format: int | None = ...,
|
|
255
|
-
tarinfo: type[TarInfo] | None = ...,
|
|
256
|
-
dereference: bool | None = ...,
|
|
257
|
-
ignore_zeros: bool | None = ...,
|
|
258
|
-
encoding: str | None = ...,
|
|
259
|
-
errors: str = ...,
|
|
260
|
-
pax_headers: Mapping[str, str] | None = ...,
|
|
261
|
-
debug: int | None = ...,
|
|
262
|
-
errorlevel: int | None = ...,
|
|
263
|
-
preset: int | None = ...,
|
|
264
|
-
) -> TarFile: ...
|
|
265
|
-
|
|
266
106
|
class ExFileObject(io.BufferedReader):
|
|
267
107
|
def __init__(self, tarfile: TarFile, tarinfo: TarInfo) -> None: ...
|
|
268
108
|
|
|
@@ -325,14 +165,152 @@ class TarFile:
|
|
|
325
165
|
self, type: type[BaseException] | None, value: BaseException | None, traceback: TracebackType | None
|
|
326
166
|
) -> None: ...
|
|
327
167
|
def __iter__(self) -> Iterator[TarInfo]: ...
|
|
168
|
+
@overload
|
|
169
|
+
@classmethod
|
|
170
|
+
def open(
|
|
171
|
+
cls,
|
|
172
|
+
name: StrOrBytesPath | None = None,
|
|
173
|
+
mode: Literal["r", "r:*", "r:", "r:gz", "r:bz2", "r:xz"] = "r",
|
|
174
|
+
fileobj: _Fileobj | None = None,
|
|
175
|
+
bufsize: int = 10240,
|
|
176
|
+
*,
|
|
177
|
+
format: int | None = ...,
|
|
178
|
+
tarinfo: type[TarInfo] | None = ...,
|
|
179
|
+
dereference: bool | None = ...,
|
|
180
|
+
ignore_zeros: bool | None = ...,
|
|
181
|
+
encoding: str | None = ...,
|
|
182
|
+
errors: str = ...,
|
|
183
|
+
pax_headers: Mapping[str, str] | None = ...,
|
|
184
|
+
debug: int | None = ...,
|
|
185
|
+
errorlevel: int | None = ...,
|
|
186
|
+
) -> Self: ...
|
|
187
|
+
@overload
|
|
188
|
+
@classmethod
|
|
189
|
+
def open(
|
|
190
|
+
cls,
|
|
191
|
+
name: StrOrBytesPath | None,
|
|
192
|
+
mode: Literal["x", "x:", "a", "a:", "w", "w:", "w:tar"],
|
|
193
|
+
fileobj: _Fileobj | None = None,
|
|
194
|
+
bufsize: int = 10240,
|
|
195
|
+
*,
|
|
196
|
+
format: int | None = ...,
|
|
197
|
+
tarinfo: type[TarInfo] | None = ...,
|
|
198
|
+
dereference: bool | None = ...,
|
|
199
|
+
ignore_zeros: bool | None = ...,
|
|
200
|
+
encoding: str | None = ...,
|
|
201
|
+
errors: str = ...,
|
|
202
|
+
pax_headers: Mapping[str, str] | None = ...,
|
|
203
|
+
debug: int | None = ...,
|
|
204
|
+
errorlevel: int | None = ...,
|
|
205
|
+
) -> Self: ...
|
|
206
|
+
@overload
|
|
207
|
+
@classmethod
|
|
208
|
+
def open(
|
|
209
|
+
cls,
|
|
210
|
+
name: StrOrBytesPath | None = None,
|
|
211
|
+
*,
|
|
212
|
+
mode: Literal["x", "x:", "a", "a:", "w", "w:", "w:tar"],
|
|
213
|
+
fileobj: _Fileobj | None = None,
|
|
214
|
+
bufsize: int = 10240,
|
|
215
|
+
format: int | None = ...,
|
|
216
|
+
tarinfo: type[TarInfo] | None = ...,
|
|
217
|
+
dereference: bool | None = ...,
|
|
218
|
+
ignore_zeros: bool | None = ...,
|
|
219
|
+
encoding: str | None = ...,
|
|
220
|
+
errors: str = ...,
|
|
221
|
+
pax_headers: Mapping[str, str] | None = ...,
|
|
222
|
+
debug: int | None = ...,
|
|
223
|
+
errorlevel: int | None = ...,
|
|
224
|
+
) -> Self: ...
|
|
225
|
+
@overload
|
|
226
|
+
@classmethod
|
|
227
|
+
def open(
|
|
228
|
+
cls,
|
|
229
|
+
name: StrOrBytesPath | None,
|
|
230
|
+
mode: Literal["x:gz", "x:bz2", "w:gz", "w:bz2"],
|
|
231
|
+
fileobj: _Fileobj | None = None,
|
|
232
|
+
bufsize: int = 10240,
|
|
233
|
+
*,
|
|
234
|
+
format: int | None = ...,
|
|
235
|
+
tarinfo: type[TarInfo] | None = ...,
|
|
236
|
+
dereference: bool | None = ...,
|
|
237
|
+
ignore_zeros: bool | None = ...,
|
|
238
|
+
encoding: str | None = ...,
|
|
239
|
+
errors: str = ...,
|
|
240
|
+
pax_headers: Mapping[str, str] | None = ...,
|
|
241
|
+
debug: int | None = ...,
|
|
242
|
+
errorlevel: int | None = ...,
|
|
243
|
+
compresslevel: int = 9,
|
|
244
|
+
) -> Self: ...
|
|
245
|
+
@overload
|
|
246
|
+
@classmethod
|
|
247
|
+
def open(
|
|
248
|
+
cls,
|
|
249
|
+
name: StrOrBytesPath | None = None,
|
|
250
|
+
*,
|
|
251
|
+
mode: Literal["x:gz", "x:bz2", "w:gz", "w:bz2"],
|
|
252
|
+
fileobj: _Fileobj | None = None,
|
|
253
|
+
bufsize: int = 10240,
|
|
254
|
+
format: int | None = ...,
|
|
255
|
+
tarinfo: type[TarInfo] | None = ...,
|
|
256
|
+
dereference: bool | None = ...,
|
|
257
|
+
ignore_zeros: bool | None = ...,
|
|
258
|
+
encoding: str | None = ...,
|
|
259
|
+
errors: str = ...,
|
|
260
|
+
pax_headers: Mapping[str, str] | None = ...,
|
|
261
|
+
debug: int | None = ...,
|
|
262
|
+
errorlevel: int | None = ...,
|
|
263
|
+
compresslevel: int = 9,
|
|
264
|
+
) -> Self: ...
|
|
265
|
+
@overload
|
|
266
|
+
@classmethod
|
|
267
|
+
def open(
|
|
268
|
+
cls,
|
|
269
|
+
name: StrOrBytesPath | None,
|
|
270
|
+
mode: Literal["x:xz", "w:xz"],
|
|
271
|
+
fileobj: _Fileobj | None = None,
|
|
272
|
+
bufsize: int = 10240,
|
|
273
|
+
*,
|
|
274
|
+
format: int | None = ...,
|
|
275
|
+
tarinfo: type[TarInfo] | None = ...,
|
|
276
|
+
dereference: bool | None = ...,
|
|
277
|
+
ignore_zeros: bool | None = ...,
|
|
278
|
+
encoding: str | None = ...,
|
|
279
|
+
errors: str = ...,
|
|
280
|
+
pax_headers: Mapping[str, str] | None = ...,
|
|
281
|
+
debug: int | None = ...,
|
|
282
|
+
errorlevel: int | None = ...,
|
|
283
|
+
preset: Literal[0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | None = ...,
|
|
284
|
+
) -> Self: ...
|
|
285
|
+
@overload
|
|
328
286
|
@classmethod
|
|
329
287
|
def open(
|
|
330
288
|
cls,
|
|
331
289
|
name: StrOrBytesPath | None = None,
|
|
332
|
-
|
|
333
|
-
|
|
290
|
+
*,
|
|
291
|
+
mode: Literal["x:xz", "w:xz"],
|
|
292
|
+
fileobj: _Fileobj | None = None,
|
|
334
293
|
bufsize: int = 10240,
|
|
294
|
+
format: int | None = ...,
|
|
295
|
+
tarinfo: type[TarInfo] | None = ...,
|
|
296
|
+
dereference: bool | None = ...,
|
|
297
|
+
ignore_zeros: bool | None = ...,
|
|
298
|
+
encoding: str | None = ...,
|
|
299
|
+
errors: str = ...,
|
|
300
|
+
pax_headers: Mapping[str, str] | None = ...,
|
|
301
|
+
debug: int | None = ...,
|
|
302
|
+
errorlevel: int | None = ...,
|
|
303
|
+
preset: Literal[0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | None = ...,
|
|
304
|
+
) -> Self: ...
|
|
305
|
+
@overload
|
|
306
|
+
@classmethod
|
|
307
|
+
def open(
|
|
308
|
+
cls,
|
|
309
|
+
name: StrOrBytesPath | ReadableBuffer | None = None,
|
|
335
310
|
*,
|
|
311
|
+
mode: Literal["r|*", "r|", "r|gz", "r|bz2", "r|xz"],
|
|
312
|
+
fileobj: _Fileobj | None = None,
|
|
313
|
+
bufsize: int = 10240,
|
|
336
314
|
format: int | None = ...,
|
|
337
315
|
tarinfo: type[TarInfo] | None = ...,
|
|
338
316
|
dereference: bool | None = ...,
|
|
@@ -343,6 +321,45 @@ class TarFile:
|
|
|
343
321
|
debug: int | None = ...,
|
|
344
322
|
errorlevel: int | None = ...,
|
|
345
323
|
) -> Self: ...
|
|
324
|
+
@overload
|
|
325
|
+
@classmethod
|
|
326
|
+
def open(
|
|
327
|
+
cls,
|
|
328
|
+
name: StrOrBytesPath | WriteableBuffer | None = None,
|
|
329
|
+
*,
|
|
330
|
+
mode: Literal["w|", "w|xz"],
|
|
331
|
+
fileobj: _Fileobj | None = None,
|
|
332
|
+
bufsize: int = 10240,
|
|
333
|
+
format: int | None = ...,
|
|
334
|
+
tarinfo: type[TarInfo] | None = ...,
|
|
335
|
+
dereference: bool | None = ...,
|
|
336
|
+
ignore_zeros: bool | None = ...,
|
|
337
|
+
encoding: str | None = ...,
|
|
338
|
+
errors: str = ...,
|
|
339
|
+
pax_headers: Mapping[str, str] | None = ...,
|
|
340
|
+
debug: int | None = ...,
|
|
341
|
+
errorlevel: int | None = ...,
|
|
342
|
+
) -> Self: ...
|
|
343
|
+
@overload
|
|
344
|
+
@classmethod
|
|
345
|
+
def open(
|
|
346
|
+
cls,
|
|
347
|
+
name: StrOrBytesPath | WriteableBuffer | None = None,
|
|
348
|
+
*,
|
|
349
|
+
mode: Literal["w|gz", "w|bz2"],
|
|
350
|
+
fileobj: _Fileobj | None = None,
|
|
351
|
+
bufsize: int = 10240,
|
|
352
|
+
format: int | None = ...,
|
|
353
|
+
tarinfo: type[TarInfo] | None = ...,
|
|
354
|
+
dereference: bool | None = ...,
|
|
355
|
+
ignore_zeros: bool | None = ...,
|
|
356
|
+
encoding: str | None = ...,
|
|
357
|
+
errors: str = ...,
|
|
358
|
+
pax_headers: Mapping[str, str] | None = ...,
|
|
359
|
+
debug: int | None = ...,
|
|
360
|
+
errorlevel: int | None = ...,
|
|
361
|
+
compresslevel: int = 9,
|
|
362
|
+
) -> Self: ...
|
|
346
363
|
@classmethod
|
|
347
364
|
def taropen(
|
|
348
365
|
cls,
|
|
@@ -501,6 +518,8 @@ class TarFile:
|
|
|
501
518
|
) -> TarInfo: ...
|
|
502
519
|
def close(self) -> None: ...
|
|
503
520
|
|
|
521
|
+
open = TarFile.open
|
|
522
|
+
|
|
504
523
|
if sys.version_info >= (3, 9):
|
|
505
524
|
def is_tarfile(name: StrOrBytesPath | IO[bytes]) -> bool: ...
|
|
506
525
|
|
|
@@ -18,7 +18,7 @@ from importlib.machinery import ModuleSpec
|
|
|
18
18
|
|
|
19
19
|
# pytype crashes if types.MappingProxyType inherits from collections.abc.Mapping instead of typing.Mapping
|
|
20
20
|
from typing import Any, ClassVar, Literal, Mapping, TypeVar, final, overload # noqa: Y022
|
|
21
|
-
from typing_extensions import ParamSpec, Self, TypeVarTuple, deprecated
|
|
21
|
+
from typing_extensions import ParamSpec, Self, TypeAliasType, TypeVarTuple, deprecated
|
|
22
22
|
|
|
23
23
|
__all__ = [
|
|
24
24
|
"FunctionType",
|
|
@@ -845,8 +845,27 @@ def prepare_class(
|
|
|
845
845
|
if sys.version_info >= (3, 12):
|
|
846
846
|
def get_original_bases(cls: type, /) -> tuple[Any, ...]: ...
|
|
847
847
|
|
|
848
|
-
#
|
|
849
|
-
|
|
848
|
+
# Does not actually inherit from property, but saying it does makes sure that
|
|
849
|
+
# pyright handles this class correctly.
|
|
850
|
+
class DynamicClassAttribute(property):
|
|
851
|
+
fget: Callable[[Any], Any] | None
|
|
852
|
+
fset: Callable[[Any, Any], object] | None # type: ignore[assignment]
|
|
853
|
+
fdel: Callable[[Any], object] | None # type: ignore[assignment]
|
|
854
|
+
overwrite_doc: bool
|
|
855
|
+
__isabstractmethod__: bool
|
|
856
|
+
def __init__(
|
|
857
|
+
self,
|
|
858
|
+
fget: Callable[[Any], Any] | None = None,
|
|
859
|
+
fset: Callable[[Any, Any], object] | None = None,
|
|
860
|
+
fdel: Callable[[Any], object] | None = None,
|
|
861
|
+
doc: str | None = None,
|
|
862
|
+
) -> None: ...
|
|
863
|
+
def __get__(self, instance: Any, ownerclass: type | None = None) -> Any: ...
|
|
864
|
+
def __set__(self, instance: Any, value: Any) -> None: ...
|
|
865
|
+
def __delete__(self, instance: Any) -> None: ...
|
|
866
|
+
def getter(self, fget: Callable[[Any], Any]) -> DynamicClassAttribute: ...
|
|
867
|
+
def setter(self, fset: Callable[[Any, Any], object]) -> DynamicClassAttribute: ...
|
|
868
|
+
def deleter(self, fdel: Callable[[Any], object]) -> DynamicClassAttribute: ...
|
|
850
869
|
|
|
851
870
|
_Fn = TypeVar("_Fn", bound=Callable[..., object])
|
|
852
871
|
_R = TypeVar("_R")
|
|
@@ -861,7 +880,7 @@ def coroutine(func: _Fn) -> _Fn: ...
|
|
|
861
880
|
if sys.version_info >= (3, 9):
|
|
862
881
|
class GenericAlias:
|
|
863
882
|
@property
|
|
864
|
-
def __origin__(self) -> type: ...
|
|
883
|
+
def __origin__(self) -> type | TypeAliasType: ...
|
|
865
884
|
@property
|
|
866
885
|
def __args__(self) -> tuple[Any, ...]: ...
|
|
867
886
|
@property
|
|
@@ -915,6 +934,10 @@ if sys.version_info >= (3, 10):
|
|
|
915
934
|
class UnionType:
|
|
916
935
|
@property
|
|
917
936
|
def __args__(self) -> tuple[Any, ...]: ...
|
|
937
|
+
@property
|
|
938
|
+
def __parameters__(self) -> tuple[Any, ...]:
|
|
939
|
+
"""Type variables in the types.UnionType."""
|
|
940
|
+
...
|
|
918
941
|
def __or__(self, value: Any, /) -> UnionType:
|
|
919
942
|
"""Return self|value."""
|
|
920
943
|
...
|
|
@@ -541,16 +541,16 @@ class Awaitable(Protocol[_T_co]):
|
|
|
541
541
|
def __await__(self) -> Generator[Any, Any, _T_co]: ...
|
|
542
542
|
|
|
543
543
|
# Non-default variations to accommodate couroutines, and `AwaitableGenerator` having a 4th type parameter.
|
|
544
|
-
|
|
545
|
-
|
|
544
|
+
_SendT_nd_contra = TypeVar("_SendT_nd_contra", contravariant=True)
|
|
545
|
+
_ReturnT_nd_co = TypeVar("_ReturnT_nd_co", covariant=True)
|
|
546
546
|
|
|
547
|
-
class Coroutine(Awaitable[
|
|
547
|
+
class Coroutine(Awaitable[_ReturnT_nd_co], Generic[_YieldT_co, _SendT_nd_contra, _ReturnT_nd_co]):
|
|
548
548
|
"""A generic version of collections.abc.Coroutine."""
|
|
549
549
|
__name__: str
|
|
550
550
|
__qualname__: str
|
|
551
551
|
|
|
552
552
|
@abstractmethod
|
|
553
|
-
def send(self, value:
|
|
553
|
+
def send(self, value: _SendT_nd_contra, /) -> _YieldT_co: ...
|
|
554
554
|
@overload
|
|
555
555
|
@abstractmethod
|
|
556
556
|
def throw(
|
|
@@ -566,9 +566,9 @@ class Coroutine(Awaitable[_ReturnT_co_nd], Generic[_YieldT_co, _SendT_contra_nd,
|
|
|
566
566
|
# The parameters correspond to Generator, but the 4th is the original type.
|
|
567
567
|
@type_check_only
|
|
568
568
|
class AwaitableGenerator(
|
|
569
|
-
Awaitable[
|
|
570
|
-
Generator[_YieldT_co,
|
|
571
|
-
Generic[_YieldT_co,
|
|
569
|
+
Awaitable[_ReturnT_nd_co],
|
|
570
|
+
Generator[_YieldT_co, _SendT_nd_contra, _ReturnT_nd_co],
|
|
571
|
+
Generic[_YieldT_co, _SendT_nd_contra, _ReturnT_nd_co, _S],
|
|
572
572
|
metaclass=ABCMeta,
|
|
573
573
|
): ...
|
|
574
574
|
|
|
@@ -1013,6 +1013,9 @@ class _TypedDict(Mapping[str, object], metaclass=ABCMeta):
|
|
|
1013
1013
|
# so we only add it to the stub on 3.12+
|
|
1014
1014
|
if sys.version_info >= (3, 12):
|
|
1015
1015
|
__orig_bases__: ClassVar[tuple[Any, ...]]
|
|
1016
|
+
if sys.version_info >= (3, 13):
|
|
1017
|
+
__readonly_keys__: ClassVar[frozenset[str]]
|
|
1018
|
+
__mutable_keys__: ClassVar[frozenset[str]]
|
|
1016
1019
|
|
|
1017
1020
|
def copy(self) -> typing_extensions.Self: ...
|
|
1018
1021
|
# Using Never so that only calls using mypy plugin hook that specialize the signature
|