basedpyright 1.10.0 → 1.10.1
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/_curses.pyi +549 -542
- package/dist/typeshed-fallback/stdlib/curses/__init__.pyi +14 -13
- package/dist/typeshed-fallback/stdlib/curses/ascii.pyi +58 -59
- package/dist/typeshed-fallback/stdlib/curses/has_key.pyi +1 -4
- package/dist/typeshed-fallback/stdlib/curses/panel.pyi +19 -22
- package/dist/typeshed-fallback/stdlib/curses/textpad.pyi +8 -10
- package/dist/typeshed-fallback/stdlib/importlib/resources/simple.pyi +11 -4
- package/dist/typeshed-fallback/stdlib/io.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/multiprocessing/resource_tracker.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/multiprocessing/util.pyi +25 -6
- package/dist/typeshed-fallback/stdlib/signal.pyi +2 -6
- package/dist/typeshed-fallback/stdlib/ssl.pyi +6 -0
- package/dist/typeshed-fallback/stdlib/tkinter/commondialog.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/tkinter/dialog.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/tkinter/scrolledtext.pyi +1 -2
- package/dist/typeshed-fallback/stdlib/traceback.pyi +4 -4
- package/dist/typeshed-fallback/stdlib/typing.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +4 -4
- package/dist/typeshed-fallback/stdlib/xml/dom/minidom.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/xml/dom/xmlbuilder.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Flask-Cors/flask_cors/core.pyi +5 -2
- package/dist/typeshed-fallback/stubs/Flask-Cors/flask_cors/extension.pyi +1 -2
- package/dist/typeshed-fallback/stubs/Flask-SocketIO/flask_socketio/namespace.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageTk.pyi +3 -3
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PdfParser.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PyAccess.pyi +11 -4
- package/dist/typeshed-fallback/stubs/Pillow/PIL/_imaging.pyi +4 -4
- package/dist/typeshed-fallback/stubs/PyAutoGUI/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/PyScreeze/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/tempfile/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/tempfile/temptypes.pyi +4 -4
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/error/Errors.pyi +1 -1
- package/dist/typeshed-fallback/stubs/bleach/bleach/sanitizer.pyi +1 -2
- package/dist/typeshed-fallback/stubs/boltons/boltons/debugutils.pyi +2 -3
- package/dist/typeshed-fallback/stubs/boltons/boltons/queueutils.pyi +2 -3
- package/dist/typeshed-fallback/stubs/braintree/METADATA.toml +1 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/account_updater_daily_report.pyi +4 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/ach_mandate.pyi +1 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/add_on.pyi +1 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/add_on_gateway.pyi +3 -6
- package/dist/typeshed-fallback/stubs/braintree/braintree/address.pyi +9 -10
- package/dist/typeshed-fallback/stubs/braintree/braintree/address_gateway.pyi +2 -9
- package/dist/typeshed-fallback/stubs/braintree/braintree/amex_express_checkout_card.pyi +3 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/android_pay_card.pyi +11 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/apple_pay_card.pyi +11 -7
- package/dist/typeshed-fallback/stubs/braintree/braintree/apple_pay_gateway.pyi +3 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/apple_pay_options.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/attribute_getter.pyi +5 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/authorization_adjustment.pyi +3 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/bin_data.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/braintree_gateway.pyi +59 -56
- package/dist/typeshed-fallback/stubs/braintree/braintree/client_token.pyi +0 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/client_token_gateway.pyi +2 -7
- package/dist/typeshed-fallback/stubs/braintree/braintree/configuration.pyi +9 -15
- package/dist/typeshed-fallback/stubs/braintree/braintree/connected_merchant_paypal_status_changed.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/connected_merchant_status_transitioned.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/credentials_parser.pyi +5 -9
- package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card.pyi +50 -41
- package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_gateway.pyi +2 -11
- package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_verification.pyi +18 -18
- package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_verification_gateway.pyi +3 -11
- package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_verification_search.pyi +13 -18
- package/dist/typeshed-fallback/stubs/braintree/braintree/customer.pyi +26 -34
- package/dist/typeshed-fallback/stubs/braintree/braintree/customer_gateway.pyi +2 -11
- package/dist/typeshed-fallback/stubs/braintree/braintree/customer_search.pyi +25 -27
- package/dist/typeshed-fallback/stubs/braintree/braintree/descriptor.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/disbursement.pyi +8 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/disbursement_detail.pyi +4 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/discount.pyi +1 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/discount_gateway.pyi +3 -6
- package/dist/typeshed-fallback/stubs/braintree/braintree/dispute.pyi +51 -41
- package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_details/evidence.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_details/paypal_message.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_details/status_history.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_gateway.pyi +4 -13
- package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_search.pyi +21 -21
- package/dist/typeshed-fallback/stubs/braintree/braintree/document_upload.pyi +3 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/document_upload_gateway.pyi +2 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/enriched_customer_data.pyi +7 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/environment.pyi +0 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/error_codes.pyi +690 -675
- package/dist/typeshed-fallback/stubs/braintree/braintree/error_result.pyi +13 -10
- package/dist/typeshed-fallback/stubs/braintree/braintree/errors.pyi +3 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/europe_bank_account.pyi +5 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/authentication_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/authorization_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/configuration_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/gateway_timeout_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/http/connection_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/http/invalid_response_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/http/timeout_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/invalid_challenge_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/invalid_signature_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/not_found_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/request_timeout_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/server_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/service_unavailable_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/test_operation_performed_in_production_error.pyi +3 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/too_many_requests_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/unexpected_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/upgrade_required_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote.pyi +4 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote_gateway.pyi +9 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote_input.pyi +9 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote_payload.pyi +6 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote_request.pyi +7 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/facilitated_details.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/facilitator_details.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/granted_payment_instrument_update.pyi +3 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/iban_bank_account.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/ids_search.pyi +2 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/liability_shift.pyi +3 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment_completed.pyi +3 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment_expired.pyi +4 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment_funded.pyi +7 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment_reversed.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/masterpass_card.pyi +5 -6
- package/dist/typeshed-fallback/stubs/braintree/braintree/merchant.pyi +3 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/address_details.pyi +3 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/business_details.pyi +5 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/funding_details.pyi +3 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/individual_details.pyi +5 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/merchant_account.pyi +14 -19
- package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account_gateway.pyi +2 -12
- package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_gateway.pyi +3 -11
- package/dist/typeshed-fallback/stubs/braintree/braintree/meta_checkout_card.pyi +8 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/meta_checkout_token.pyi +8 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/modification.pyi +3 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/montary_amount.pyi +7 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/oauth_access_revocation.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/oauth_credentials.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/oauth_gateway.pyi +3 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/package_details.pyi +7 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/paginated_collection.pyi +2 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/paginated_result.pyi +4 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/partner_merchant.pyi +7 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_instrument_type.pyi +18 -13
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method.pyi +1 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_customer_data_updated_metadata.pyi +8 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_gateway.pyi +3 -26
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_nonce.pyi +7 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_nonce_gateway.pyi +3 -10
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_parser.pyi +0 -14
- package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_account.pyi +3 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_account_gateway.pyi +2 -9
- package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_here.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/plan.pyi +16 -9
- package/dist/typeshed-fallback/stubs/braintree/braintree/plan_gateway.pyi +6 -10
- package/dist/typeshed-fallback/stubs/braintree/braintree/processor_response_types.pyi +5 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/resource.pyi +3 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/resource_collection.pyi +2 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/revoked_payment_method_metadata.pyi +5 -6
- package/dist/typeshed-fallback/stubs/braintree/braintree/risk_data.pyi +2 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/samsung_pay_card.pyi +5 -6
- package/dist/typeshed-fallback/stubs/braintree/braintree/search.pyi +9 -9
- package/dist/typeshed-fallback/stubs/braintree/braintree/sepa_direct_debit_account.pyi +10 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/sepa_direct_debit_account_gateway.pyi +8 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/settlement_batch_summary.pyi +1 -7
- package/dist/typeshed-fallback/stubs/braintree/braintree/settlement_batch_summary_gateway.pyi +2 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/signature_service.pyi +3 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/status_event.pyi +3 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/subscription.pyi +27 -32
- package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_details.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_gateway.pyi +2 -11
- package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_search.pyi +13 -17
- package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_status_event.pyi +4 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/successful_result.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/authentication_ids.pyi +18 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/credit_card_defaults.pyi +5 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/credit_card_numbers.pyi +40 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/merchant_account.pyi +7 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/nonces.pyi +83 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/venmo_sdk.pyi +9 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/testing_gateway.pyi +3 -7
- package/dist/typeshed-fallback/stubs/braintree/braintree/three_d_secure_info.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction.pyi +125 -115
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_amounts.pyi +6 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_details.pyi +3 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_gateway.pyi +3 -11
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_line_item.pyi +5 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_line_item_gateway.pyi +3 -10
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_review.pyi +4 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_search.pyi +70 -71
- package/dist/typeshed-fallback/stubs/braintree/braintree/unknown_payment_method.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account.pyi +5 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account_gateway.pyi +3 -6
- package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account_verification.pyi +17 -14
- package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account_verification_gateway.pyi +3 -10
- package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account_verification_search.pyi +13 -18
- package/dist/typeshed-fallback/stubs/braintree/braintree/util/constants.pyi +1 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/util/generator.pyi +2 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/util/graphql_client.pyi +2 -11
- package/dist/typeshed-fallback/stubs/braintree/braintree/util/http.pyi +6 -27
- package/dist/typeshed-fallback/stubs/braintree/braintree/util/parser.pyi +2 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/util/xml_util.pyi +0 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/validation_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/validation_error_collection.pyi +1 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/venmo_account.pyi +3 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/venmo_profile_data.pyi +4 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/version.pyi +3 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/visa_checkout_card.pyi +7 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/webhook_notification.pyi +84 -74
- package/dist/typeshed-fallback/stubs/braintree/braintree/webhook_notification_gateway.pyi +3 -9
- package/dist/typeshed-fallback/stubs/braintree/braintree/webhook_testing.pyi +0 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/webhook_testing_gateway.pyi +2 -6
- package/dist/typeshed-fallback/stubs/caldav/caldav/davclient.pyi +1 -1
- package/dist/typeshed-fallback/stubs/caldav/caldav/objects.pyi +4 -8
- package/dist/typeshed-fallback/stubs/cffi/_cffi_backend.pyi +1 -1
- package/dist/typeshed-fallback/stubs/dateparser/dateparser/utils/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/parts.pyi +9 -2
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/__init__.pyi +7 -32
- package/dist/typeshed-fallback/stubs/flake8-builtins/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/flake8-builtins/flake8_builtins.pyi +37 -6
- package/dist/typeshed-fallback/stubs/fpdf2/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/html.pyi +1 -1
- package/dist/typeshed-fallback/stubs/gdb/METADATA.toml +2 -3
- package/dist/typeshed-fallback/stubs/gdb/gdb/FrameDecorator.pyi +19 -0
- package/dist/typeshed-fallback/stubs/gdb/gdb/FrameIterator.pyi +9 -0
- package/dist/typeshed-fallback/stubs/gdb/gdb/__init__.pyi +152 -56
- package/dist/typeshed-fallback/stubs/gdb/gdb/events.pyi +22 -89
- package/dist/typeshed-fallback/stubs/gdb/gdb/types.pyi +4 -0
- package/dist/typeshed-fallback/stubs/gdb/gdb/unwinder.pyi +9 -1
- package/dist/typeshed-fallback/stubs/gdb/gdb/xmethod.pyi +20 -10
- package/dist/typeshed-fallback/stubs/hdbcli/hdbcli/dbapi.pyi +3 -3
- package/dist/typeshed-fallback/stubs/hvac/METADATA.toml +1 -0
- package/dist/typeshed-fallback/stubs/hvac/hvac/adapters.pyi +25 -20
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/vault_api_category.pyi +4 -3
- package/dist/typeshed-fallback/stubs/hvac/hvac/v1/__init__.pyi +3 -3
- package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/exceptions.pyi +2 -2
- package/dist/typeshed-fallback/stubs/netaddr/netaddr/core.pyi +2 -2
- package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/__init__.pyi +2 -2
- package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/iana.pyi +2 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/operators/binary.pyi +1 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +1 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/graph.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/reportviews.pyi +8 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/convert.pyi +1 -1
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/_writer.pyi +3 -3
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/cell.pyi +8 -4
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/read_only.pyi +9 -2
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/chart/chartspace.pyi +1 -0
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/chart/reference.pyi +6 -4
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/chartsheet/chartsheet.pyi +3 -2
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/descriptors/base.pyi +1 -1
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/descriptors/excel.pyi +1 -1
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/packaging/workbook.pyi +1 -1
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/reader/workbook.pyi +3 -4
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/styleable.pyi +7 -3
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/stylesheet.pyi +1 -1
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/workbook/_writer.pyi +5 -3
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/workbook/workbook.pyi +27 -16
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_read_only.pyi +8 -3
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_reader.pyi +3 -2
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_write_only.pyi +5 -2
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_writer.pyi +5 -2
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/dimensions.pyi +3 -0
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/merge.pyi +4 -2
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/print_settings.pyi +3 -3
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/writer/excel.pyi +2 -1
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/xml/_functions_overloads.pyi +1 -1
- package/dist/typeshed-fallback/stubs/parsimonious/parsimonious/nodes.pyi +1 -1
- package/dist/typeshed-fallback/stubs/passlib/passlib/totp.pyi +85 -67
- package/dist/typeshed-fallback/stubs/polib/polib.pyi +2 -2
- package/dist/typeshed-fallback/stubs/pyasn1/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pyasn1/pyasn1/codec/ber/encoder.pyi +1 -2
- package/dist/typeshed-fallback/stubs/python-xlib/METADATA.toml +0 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/_typing.pyi +0 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/composite.pyi +2 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/dpms.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/ge.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/nvcontrol.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/record.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/res.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/security.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/xfixes.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/xinerama.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/xinput.pyi +1 -2
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/xtest.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/protocol/rq.pyi +2 -2
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/support/unix_connect.pyi +1 -2
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/support/vms_connect.pyi +1 -2
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/xobject/drawable.pyi +12 -3
- package/dist/typeshed-fallback/stubs/pywin32/_win32typing.pyi +39 -36
- package/dist/typeshed-fallback/stubs/pywin32/pythoncom.pyi +16 -8
- package/dist/typeshed-fallback/stubs/pywin32/pythonwin/win32ui.pyi +11 -8
- package/dist/typeshed-fallback/stubs/pywin32/pythonwin/win32uiole.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32/lib/pywintypes.pyi +6 -5
- package/dist/typeshed-fallback/stubs/pywin32/win32/win32api.pyi +7 -7
- package/dist/typeshed-fallback/stubs/pywin32/win32/win32file.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32/win32gui.pyi +9 -7
- package/dist/typeshed-fallback/stubs/pywin32/win32/win32ras.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32/win32service.pyi +3 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32com/server/util.pyi +3 -2
- package/dist/typeshed-fallback/stubs/pywin32/win32com/universal.pyi +9 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32comext/mapi/mapi.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32comext/shell/shell.pyi +3 -1
- package/dist/typeshed-fallback/stubs/requests/requests/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/requests/requests/cookies.pyi +24 -22
- package/package.json +1 -1
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import
|
|
1
|
+
from _curses import *
|
|
2
|
+
from _curses import _CursesWindow as _CursesWindow
|
|
2
3
|
from collections.abc import Callable
|
|
3
4
|
from typing import TypeVar
|
|
4
5
|
from typing_extensions import Concatenate, ParamSpec
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
# NOTE: The _curses module is ordinarily only available on Unix, but the
|
|
8
|
+
# windows-curses package makes it available on Windows as well with the same
|
|
9
|
+
# contents.
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
_T = TypeVar("_T")
|
|
12
|
+
_P = ParamSpec("_P")
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
# available after calling `curses.initscr()`
|
|
15
|
+
LINES: int
|
|
16
|
+
COLS: int
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
# available after calling `curses.start_color()`
|
|
19
|
+
COLORS: int
|
|
20
|
+
COLOR_PAIRS: int
|
|
20
21
|
|
|
21
|
-
|
|
22
|
+
def wrapper(func: Callable[Concatenate[_CursesWindow, _P], _T], /, *arg: _P.args, **kwds: _P.kwargs) -> _T: ...
|
|
@@ -1,63 +1,62 @@
|
|
|
1
|
-
import sys
|
|
2
1
|
from typing import TypeVar
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
_CharT = TypeVar("_CharT", str, int)
|
|
3
|
+
_CharT = TypeVar("_CharT", str, int)
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
5
|
+
NUL: int
|
|
6
|
+
SOH: int
|
|
7
|
+
STX: int
|
|
8
|
+
ETX: int
|
|
9
|
+
EOT: int
|
|
10
|
+
ENQ: int
|
|
11
|
+
ACK: int
|
|
12
|
+
BEL: int
|
|
13
|
+
BS: int
|
|
14
|
+
TAB: int
|
|
15
|
+
HT: int
|
|
16
|
+
LF: int
|
|
17
|
+
NL: int
|
|
18
|
+
VT: int
|
|
19
|
+
FF: int
|
|
20
|
+
CR: int
|
|
21
|
+
SO: int
|
|
22
|
+
SI: int
|
|
23
|
+
DLE: int
|
|
24
|
+
DC1: int
|
|
25
|
+
DC2: int
|
|
26
|
+
DC3: int
|
|
27
|
+
DC4: int
|
|
28
|
+
NAK: int
|
|
29
|
+
SYN: int
|
|
30
|
+
ETB: int
|
|
31
|
+
CAN: int
|
|
32
|
+
EM: int
|
|
33
|
+
SUB: int
|
|
34
|
+
ESC: int
|
|
35
|
+
FS: int
|
|
36
|
+
GS: int
|
|
37
|
+
RS: int
|
|
38
|
+
US: int
|
|
39
|
+
SP: int
|
|
40
|
+
DEL: int
|
|
43
41
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
42
|
+
controlnames: list[int]
|
|
43
|
+
|
|
44
|
+
def isalnum(c: str | int) -> bool: ...
|
|
45
|
+
def isalpha(c: str | int) -> bool: ...
|
|
46
|
+
def isascii(c: str | int) -> bool: ...
|
|
47
|
+
def isblank(c: str | int) -> bool: ...
|
|
48
|
+
def iscntrl(c: str | int) -> bool: ...
|
|
49
|
+
def isdigit(c: str | int) -> bool: ...
|
|
50
|
+
def isgraph(c: str | int) -> bool: ...
|
|
51
|
+
def islower(c: str | int) -> bool: ...
|
|
52
|
+
def isprint(c: str | int) -> bool: ...
|
|
53
|
+
def ispunct(c: str | int) -> bool: ...
|
|
54
|
+
def isspace(c: str | int) -> bool: ...
|
|
55
|
+
def isupper(c: str | int) -> bool: ...
|
|
56
|
+
def isxdigit(c: str | int) -> bool: ...
|
|
57
|
+
def isctrl(c: str | int) -> bool: ...
|
|
58
|
+
def ismeta(c: str | int) -> bool: ...
|
|
59
|
+
def ascii(c: _CharT) -> _CharT: ...
|
|
60
|
+
def ctrl(c: _CharT) -> _CharT: ...
|
|
61
|
+
def alt(c: _CharT) -> _CharT: ...
|
|
62
|
+
def unctrl(c: str | int) -> str: ...
|
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
import
|
|
1
|
+
from _curses import _CursesWindow
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
from _curses import _CursesWindow
|
|
3
|
+
version: str
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
class _Curses_Panel: # type is <class '_curses_panel.curses panel'> (note the space in the class name)
|
|
6
|
+
def above(self) -> _Curses_Panel: ...
|
|
7
|
+
def below(self) -> _Curses_Panel: ...
|
|
8
|
+
def bottom(self) -> None: ...
|
|
9
|
+
def hidden(self) -> bool: ...
|
|
10
|
+
def hide(self) -> None: ...
|
|
11
|
+
def move(self, y: int, x: int) -> None: ...
|
|
12
|
+
def replace(self, win: _CursesWindow) -> None: ...
|
|
13
|
+
def set_userptr(self, obj: object) -> None: ...
|
|
14
|
+
def show(self) -> None: ...
|
|
15
|
+
def top(self) -> None: ...
|
|
16
|
+
def userptr(self) -> object: ...
|
|
17
|
+
def window(self) -> _CursesWindow: ...
|
|
7
18
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
def hidden(self) -> bool: ...
|
|
13
|
-
def hide(self) -> None: ...
|
|
14
|
-
def move(self, y: int, x: int) -> None: ...
|
|
15
|
-
def replace(self, win: _CursesWindow) -> None: ...
|
|
16
|
-
def set_userptr(self, obj: object) -> None: ...
|
|
17
|
-
def show(self) -> None: ...
|
|
18
|
-
def top(self) -> None: ...
|
|
19
|
-
def userptr(self) -> object: ...
|
|
20
|
-
def window(self) -> _CursesWindow: ...
|
|
21
|
-
|
|
22
|
-
def bottom_panel() -> _Curses_Panel: ...
|
|
23
|
-
def new_panel(win: _CursesWindow, /) -> _Curses_Panel: ...
|
|
24
|
-
def top_panel() -> _Curses_Panel: ...
|
|
25
|
-
def update_panels() -> _Curses_Panel: ...
|
|
19
|
+
def bottom_panel() -> _Curses_Panel: ...
|
|
20
|
+
def new_panel(win: _CursesWindow, /) -> _Curses_Panel: ...
|
|
21
|
+
def top_panel() -> _Curses_Panel: ...
|
|
22
|
+
def update_panels() -> _Curses_Panel: ...
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
from _curses import _CursesWindow
|
|
2
2
|
from collections.abc import Callable
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
from _curses import _CursesWindow
|
|
6
|
-
def rectangle(win: _CursesWindow, uly: int, ulx: int, lry: int, lrx: int) -> None: ...
|
|
4
|
+
def rectangle(win: _CursesWindow, uly: int, ulx: int, lry: int, lrx: int) -> None: ...
|
|
7
5
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
class Textbox:
|
|
7
|
+
stripspaces: bool
|
|
8
|
+
def __init__(self, win: _CursesWindow, insert_mode: bool = False) -> None: ...
|
|
9
|
+
def edit(self, validate: Callable[[int], int] | None = None) -> str: ...
|
|
10
|
+
def do_command(self, ch: str | int) -> None: ...
|
|
11
|
+
def gather(self) -> str: ...
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import abc
|
|
2
2
|
import sys
|
|
3
|
-
from _typeshed import Incomplete, OpenBinaryMode, OpenTextMode, Unused
|
|
4
3
|
from collections.abc import Iterator
|
|
5
4
|
from io import TextIOWrapper
|
|
6
5
|
from typing import IO, Any, BinaryIO, Literal, NoReturn, overload
|
|
@@ -28,11 +27,19 @@ if sys.version_info >= (3, 11):
|
|
|
28
27
|
def is_file(self) -> Literal[True]: ...
|
|
29
28
|
def is_dir(self) -> Literal[False]: ...
|
|
30
29
|
@overload
|
|
31
|
-
def open(
|
|
30
|
+
def open(
|
|
31
|
+
self,
|
|
32
|
+
mode: Literal["r"] = "r",
|
|
33
|
+
encoding: str | None = None,
|
|
34
|
+
errors: str | None = None,
|
|
35
|
+
newline: str | None = None,
|
|
36
|
+
line_buffering: bool = False,
|
|
37
|
+
write_through: bool = False,
|
|
38
|
+
) -> TextIOWrapper: ...
|
|
32
39
|
@overload
|
|
33
|
-
def open(self, mode:
|
|
40
|
+
def open(self, mode: Literal["rb"]) -> BinaryIO: ...
|
|
34
41
|
@overload
|
|
35
|
-
def open(self, mode: str
|
|
42
|
+
def open(self, mode: str) -> IO[Any]: ...
|
|
36
43
|
def joinpath(self, name: Never) -> NoReturn: ... # type: ignore[override]
|
|
37
44
|
|
|
38
45
|
class ResourceContainer(Traversable, metaclass=abc.ABCMeta):
|
|
@@ -179,11 +179,11 @@ class TextIOWrapper(TextIOBase, TextIO): # type: ignore[misc] # incompatible d
|
|
|
179
179
|
def __init__(
|
|
180
180
|
self,
|
|
181
181
|
buffer: _WrappedBuffer,
|
|
182
|
-
encoding: str | None =
|
|
183
|
-
errors: str | None =
|
|
184
|
-
newline: str | None =
|
|
185
|
-
line_buffering: bool =
|
|
186
|
-
write_through: bool =
|
|
182
|
+
encoding: str | None = None,
|
|
183
|
+
errors: str | None = None,
|
|
184
|
+
newline: str | None = None,
|
|
185
|
+
line_buffering: bool = False,
|
|
186
|
+
write_through: bool = False,
|
|
187
187
|
) -> None: ...
|
|
188
188
|
# Equals the "buffer" argument passed in to the constructor.
|
|
189
189
|
@property
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from _typeshed import FileDescriptorOrPath
|
|
1
|
+
from _typeshed import FileDescriptorOrPath
|
|
2
2
|
from collections.abc import Sized
|
|
3
3
|
|
|
4
4
|
__all__ = ["ensure_running", "register", "unregister"]
|
|
@@ -6,8 +6,8 @@ __all__ = ["ensure_running", "register", "unregister"]
|
|
|
6
6
|
class ResourceTracker:
|
|
7
7
|
def getfd(self) -> int | None: ...
|
|
8
8
|
def ensure_running(self) -> None: ...
|
|
9
|
-
def register(self, name: Sized, rtype:
|
|
10
|
-
def unregister(self, name: Sized, rtype:
|
|
9
|
+
def register(self, name: Sized, rtype: str) -> None: ...
|
|
10
|
+
def unregister(self, name: Sized, rtype: str) -> None: ...
|
|
11
11
|
|
|
12
12
|
_resource_tracker: ResourceTracker
|
|
13
13
|
ensure_running = _resource_tracker.ensure_running
|
|
@@ -2,7 +2,7 @@ import threading
|
|
|
2
2
|
from _typeshed import ConvertibleToInt, Incomplete, Unused
|
|
3
3
|
from collections.abc import Callable, Iterable, Mapping, MutableMapping, Sequence
|
|
4
4
|
from logging import Logger, _Level as _LoggingLevel
|
|
5
|
-
from typing import Any
|
|
5
|
+
from typing import Any, Generic, TypeVar, overload
|
|
6
6
|
|
|
7
7
|
__all__ = [
|
|
8
8
|
"sub_debug",
|
|
@@ -22,6 +22,9 @@ __all__ = [
|
|
|
22
22
|
"SUBWARNING",
|
|
23
23
|
]
|
|
24
24
|
|
|
25
|
+
_T = TypeVar("_T")
|
|
26
|
+
_R_co = TypeVar("_R_co", default=Any, covariant=True)
|
|
27
|
+
|
|
25
28
|
NOTSET: int
|
|
26
29
|
SUBDEBUG: int
|
|
27
30
|
DEBUG: int
|
|
@@ -42,13 +45,29 @@ def is_abstract_socket_namespace(address: str | bytes | None) -> bool: ...
|
|
|
42
45
|
abstract_sockets_supported: bool
|
|
43
46
|
|
|
44
47
|
def get_temp_dir() -> str: ...
|
|
45
|
-
def register_after_fork(obj:
|
|
48
|
+
def register_after_fork(obj: _T, func: Callable[[_T], object]) -> None: ...
|
|
46
49
|
|
|
47
|
-
class Finalize:
|
|
50
|
+
class Finalize(Generic[_R_co]):
|
|
51
|
+
# "args" and "kwargs" are passed as arguments to "callback".
|
|
52
|
+
@overload
|
|
53
|
+
def __init__(
|
|
54
|
+
self,
|
|
55
|
+
obj: None,
|
|
56
|
+
callback: Callable[..., _R_co],
|
|
57
|
+
*,
|
|
58
|
+
args: Sequence[Any] = (),
|
|
59
|
+
kwargs: Mapping[str, Any] | None = None,
|
|
60
|
+
exitpriority: int,
|
|
61
|
+
) -> None: ...
|
|
62
|
+
@overload
|
|
63
|
+
def __init__(
|
|
64
|
+
self, obj: None, callback: Callable[..., _R_co], args: Sequence[Any], kwargs: Mapping[str, Any] | None, exitpriority: int
|
|
65
|
+
) -> None: ...
|
|
66
|
+
@overload
|
|
48
67
|
def __init__(
|
|
49
68
|
self,
|
|
50
|
-
obj:
|
|
51
|
-
callback: Callable[...,
|
|
69
|
+
obj: Any,
|
|
70
|
+
callback: Callable[..., _R_co],
|
|
52
71
|
args: Sequence[Any] = (),
|
|
53
72
|
kwargs: Mapping[str, Any] | None = None,
|
|
54
73
|
exitpriority: int | None = None,
|
|
@@ -59,7 +78,7 @@ class Finalize:
|
|
|
59
78
|
_finalizer_registry: MutableMapping[Incomplete, Incomplete] = {},
|
|
60
79
|
sub_debug: Callable[..., object] = ...,
|
|
61
80
|
getpid: Callable[[], int] = ...,
|
|
62
|
-
) ->
|
|
81
|
+
) -> _R_co: ...
|
|
63
82
|
def cancel(self) -> None: ...
|
|
64
83
|
def still_active(self) -> bool: ...
|
|
65
84
|
|
|
@@ -175,12 +175,8 @@ else:
|
|
|
175
175
|
@property
|
|
176
176
|
def si_band(self) -> int: ...
|
|
177
177
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
def sigwaitinfo(sigset: Iterable[int], /) -> struct_siginfo: ...
|
|
181
|
-
else:
|
|
182
|
-
def sigtimedwait(sigset: Iterable[int], timeout: float) -> struct_siginfo | None: ...
|
|
183
|
-
def sigwaitinfo(sigset: Iterable[int]) -> struct_siginfo: ...
|
|
178
|
+
def sigtimedwait(sigset: Iterable[int], timeout: float, /) -> struct_siginfo | None: ...
|
|
179
|
+
def sigwaitinfo(sigset: Iterable[int], /) -> struct_siginfo: ...
|
|
184
180
|
|
|
185
181
|
def strsignal(signalnum: _SIGNUM, /) -> str | None: ...
|
|
186
182
|
def valid_signals() -> set[Signals]: ...
|
|
@@ -366,6 +366,9 @@ class SSLSocket(socket.socket):
|
|
|
366
366
|
def recvmsg(self, *args: Never, **kwargs: Never) -> Never: ... # type: ignore[override]
|
|
367
367
|
def recvmsg_into(self, *args: Never, **kwargs: Never) -> Never: ... # type: ignore[override]
|
|
368
368
|
def sendmsg(self, *args: Never, **kwargs: Never) -> Never: ... # type: ignore[override]
|
|
369
|
+
if sys.version_info >= (3, 13):
|
|
370
|
+
def get_verified_chain(self) -> list[bytes]: ...
|
|
371
|
+
def get_unverified_chain(self) -> list[bytes]: ...
|
|
369
372
|
|
|
370
373
|
class TLSVersion(enum.IntEnum):
|
|
371
374
|
MINIMUM_SUPPORTED: int
|
|
@@ -476,6 +479,9 @@ class SSLObject:
|
|
|
476
479
|
def version(self) -> str | None: ...
|
|
477
480
|
def get_channel_binding(self, cb_type: str = "tls-unique") -> bytes | None: ...
|
|
478
481
|
def verify_client_post_handshake(self) -> None: ...
|
|
482
|
+
if sys.version_info >= (3, 13):
|
|
483
|
+
def get_verified_chain(self) -> list[bytes]: ...
|
|
484
|
+
def get_unverified_chain(self) -> list[bytes]: ...
|
|
479
485
|
|
|
480
486
|
@final
|
|
481
487
|
class MemoryBIO:
|
|
@@ -10,5 +10,5 @@ class Dialog:
|
|
|
10
10
|
command: ClassVar[str | None]
|
|
11
11
|
master: Incomplete | None
|
|
12
12
|
options: Mapping[str, Incomplete]
|
|
13
|
-
def __init__(self, master: Incomplete | None = None, **options
|
|
14
|
-
def show(self, **options
|
|
13
|
+
def __init__(self, master: Incomplete | None = None, **options) -> None: ...
|
|
14
|
+
def show(self, **options): ...
|
|
@@ -12,5 +12,5 @@ DIALOG_ICON: str
|
|
|
12
12
|
class Dialog(Widget):
|
|
13
13
|
widgetName: str
|
|
14
14
|
num: int
|
|
15
|
-
def __init__(self, master: Incomplete | None = None, cnf: Mapping[str, Any] = {}, **kw
|
|
15
|
+
def __init__(self, master: Incomplete | None = None, cnf: Mapping[str, Any] = {}, **kw) -> None: ...
|
|
16
16
|
def destroy(self) -> None: ...
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
2
1
|
from tkinter import Frame, Misc, Scrollbar, Text
|
|
3
2
|
|
|
4
3
|
__all__ = ["ScrolledText"]
|
|
@@ -7,4 +6,4 @@ __all__ = ["ScrolledText"]
|
|
|
7
6
|
class ScrolledText(Text):
|
|
8
7
|
frame: Frame
|
|
9
8
|
vbar: Scrollbar
|
|
10
|
-
def __init__(self, master: Misc | None = None, **kwargs
|
|
9
|
+
def __init__(self, master: Misc | None = None, **kwargs) -> None: ...
|
|
@@ -27,7 +27,7 @@ __all__ = [
|
|
|
27
27
|
"walk_tb",
|
|
28
28
|
]
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
_FrameSummaryTuple: TypeAlias = tuple[str, int, str, str | None]
|
|
31
31
|
|
|
32
32
|
def print_tb(tb: TracebackType | None, limit: int | None = None, file: SupportsWrite[str] | None = None) -> None: ...
|
|
33
33
|
|
|
@@ -80,10 +80,10 @@ def print_last(limit: int | None = None, file: SupportsWrite[str] | None = None,
|
|
|
80
80
|
def print_stack(f: FrameType | None = None, limit: int | None = None, file: SupportsWrite[str] | None = None) -> None: ...
|
|
81
81
|
def extract_tb(tb: TracebackType | None, limit: int | None = None) -> StackSummary: ...
|
|
82
82
|
def extract_stack(f: FrameType | None = None, limit: int | None = None) -> StackSummary: ...
|
|
83
|
-
def format_list(extracted_list:
|
|
83
|
+
def format_list(extracted_list: Iterable[FrameSummary | _FrameSummaryTuple]) -> list[str]: ...
|
|
84
84
|
|
|
85
85
|
# undocumented
|
|
86
|
-
def print_list(extracted_list:
|
|
86
|
+
def print_list(extracted_list: Iterable[FrameSummary | _FrameSummaryTuple], file: SupportsWrite[str] | None = None) -> None: ...
|
|
87
87
|
|
|
88
88
|
if sys.version_info >= (3, 10):
|
|
89
89
|
@overload
|
|
@@ -255,7 +255,7 @@ class StackSummary(list[FrameSummary]):
|
|
|
255
255
|
capture_locals: bool = False,
|
|
256
256
|
) -> StackSummary: ...
|
|
257
257
|
@classmethod
|
|
258
|
-
def from_list(cls, a_list: Iterable[FrameSummary |
|
|
258
|
+
def from_list(cls, a_list: Iterable[FrameSummary | _FrameSummaryTuple]) -> StackSummary: ...
|
|
259
259
|
if sys.version_info >= (3, 11):
|
|
260
260
|
def format_frame_summary(self, frame_summary: FrameSummary) -> str: ...
|
|
261
261
|
|
|
@@ -6,7 +6,7 @@ import collections # noqa: F401 # pyright: ignore
|
|
|
6
6
|
import sys
|
|
7
7
|
import typing_extensions
|
|
8
8
|
from _collections_abc import dict_items, dict_keys, dict_values
|
|
9
|
-
from _typeshed import IdentityFunction,
|
|
9
|
+
from _typeshed import IdentityFunction, ReadableBuffer, SupportsKeysAndGetItem
|
|
10
10
|
from abc import ABCMeta, abstractmethod
|
|
11
11
|
from contextlib import AbstractAsyncContextManager, AbstractContextManager
|
|
12
12
|
from re import Match as Match, Pattern as Pattern
|
|
@@ -170,7 +170,7 @@ class TypeVar:
|
|
|
170
170
|
def __or__(self, right: Any) -> _SpecialForm: ...
|
|
171
171
|
def __ror__(self, left: Any) -> _SpecialForm: ...
|
|
172
172
|
if sys.version_info >= (3, 11):
|
|
173
|
-
def __typing_subst__(self, arg:
|
|
173
|
+
def __typing_subst__(self, arg: Any) -> Any: ...
|
|
174
174
|
|
|
175
175
|
# Used for an undocumented mypy feature. Does not exist at runtime.
|
|
176
176
|
_promote = object()
|
|
@@ -221,7 +221,7 @@ if sys.version_info >= (3, 11):
|
|
|
221
221
|
def __init__(self, name: str) -> None: ...
|
|
222
222
|
def __iter__(self) -> Any: ...
|
|
223
223
|
def __typing_subst__(self, arg: Never) -> Never: ...
|
|
224
|
-
def __typing_prepare_subst__(self, alias:
|
|
224
|
+
def __typing_prepare_subst__(self, alias: Any, args: Any) -> tuple[Any, ...]: ...
|
|
225
225
|
|
|
226
226
|
if sys.version_info >= (3, 10):
|
|
227
227
|
@final
|
|
@@ -270,8 +270,8 @@ if sys.version_info >= (3, 10):
|
|
|
270
270
|
@property
|
|
271
271
|
def kwargs(self) -> ParamSpecKwargs: ...
|
|
272
272
|
if sys.version_info >= (3, 11):
|
|
273
|
-
def __typing_subst__(self, arg:
|
|
274
|
-
def __typing_prepare_subst__(self, alias:
|
|
273
|
+
def __typing_subst__(self, arg: Any) -> Any: ...
|
|
274
|
+
def __typing_prepare_subst__(self, alias: Any, args: Any) -> tuple[Any, ...]: ...
|
|
275
275
|
|
|
276
276
|
def __or__(self, right: Any) -> _SpecialForm: ...
|
|
277
277
|
def __ror__(self, left: Any) -> _SpecialForm: ...
|
|
@@ -2,7 +2,7 @@ import abc
|
|
|
2
2
|
import sys
|
|
3
3
|
import typing
|
|
4
4
|
from _collections_abc import dict_items, dict_keys, dict_values
|
|
5
|
-
from _typeshed import IdentityFunction
|
|
5
|
+
from _typeshed import IdentityFunction
|
|
6
6
|
from typing import ( # noqa: Y022,Y037,Y038,Y039
|
|
7
7
|
IO as IO,
|
|
8
8
|
TYPE_CHECKING as TYPE_CHECKING,
|
|
@@ -413,7 +413,7 @@ class TypeVar:
|
|
|
413
413
|
def __or__(self, right: Any) -> _SpecialForm: ...
|
|
414
414
|
def __ror__(self, left: Any) -> _SpecialForm: ...
|
|
415
415
|
if sys.version_info >= (3, 11):
|
|
416
|
-
def __typing_subst__(self, arg:
|
|
416
|
+
def __typing_subst__(self, arg: Any) -> Any: ...
|
|
417
417
|
|
|
418
418
|
@final
|
|
419
419
|
class ParamSpec:
|
|
@@ -453,10 +453,10 @@ class TypeVarTuple:
|
|
|
453
453
|
def __iter__(self) -> Any: ... # Unpack[Self]
|
|
454
454
|
|
|
455
455
|
class deprecated:
|
|
456
|
-
message:
|
|
456
|
+
message: LiteralString
|
|
457
457
|
category: type[Warning] | None
|
|
458
458
|
stacklevel: int
|
|
459
|
-
def __init__(self, message:
|
|
459
|
+
def __init__(self, message: LiteralString, /, *, category: type[Warning] | None = ..., stacklevel: int = 1) -> None: ...
|
|
460
460
|
def __call__(self, arg: _T, /) -> _T: ...
|
|
461
461
|
|
|
462
462
|
if sys.version_info >= (3, 12):
|
|
@@ -256,9 +256,9 @@ class Text(CharacterData):
|
|
|
256
256
|
nodeName: str
|
|
257
257
|
attributes: Incomplete
|
|
258
258
|
data: Incomplete
|
|
259
|
-
def splitText(self, offset): ...
|
|
259
|
+
def splitText(self, offset: int) -> Self: ...
|
|
260
260
|
def writexml(self, writer: SupportsWrite[str], indent: str = "", addindent: str = "", newl: str = "") -> None: ...
|
|
261
|
-
def replaceWholeText(self, content): ...
|
|
261
|
+
def replaceWholeText(self, content) -> Self | None: ...
|
|
262
262
|
@property
|
|
263
263
|
def isWhitespaceInElementContent(self) -> bool: ...
|
|
264
264
|
@property
|
|
@@ -60,7 +60,7 @@ class DOMBuilder:
|
|
|
60
60
|
def supportsFeature(self, name: str) -> bool: ...
|
|
61
61
|
def canSetFeature(self, name: str, state: int) -> bool: ...
|
|
62
62
|
# getFeature could return any attribute from an instance of `Options`
|
|
63
|
-
def getFeature(self, name: str) ->
|
|
63
|
+
def getFeature(self, name: str) -> Any: ...
|
|
64
64
|
def parseURI(self, uri: str) -> ExpatBuilder | ExpatBuilderNS: ...
|
|
65
65
|
def parse(self, input: DOMInputSource) -> ExpatBuilder | ExpatBuilderNS: ...
|
|
66
66
|
# `input` and `cnode` argtypes for `parseWithContext` are unknowable
|
|
@@ -2,7 +2,7 @@ from collections.abc import Iterable
|
|
|
2
2
|
from datetime import timedelta
|
|
3
3
|
from logging import Logger
|
|
4
4
|
from re import Pattern
|
|
5
|
-
from typing import Any, TypedDict, TypeVar, overload
|
|
5
|
+
from typing import Any, Literal, TypedDict, TypeVar, overload
|
|
6
6
|
from typing_extensions import TypeAlias
|
|
7
7
|
|
|
8
8
|
import flask
|
|
@@ -46,7 +46,10 @@ def get_cors_origins(options: _Options, request_origin: str | None) -> list[str]
|
|
|
46
46
|
def get_allow_headers(options: _Options, acl_request_headers: str | None) -> str | None: ...
|
|
47
47
|
def get_cors_headers(options: _Options, request_headers: dict[str, Any], request_method: str) -> _MultiDict: ...
|
|
48
48
|
def set_cors_headers(resp: flask.Response, options: _Options) -> flask.Response: ...
|
|
49
|
-
|
|
49
|
+
@overload
|
|
50
|
+
def probably_regex(maybe_regex: Pattern[str]) -> Literal[True]: ...
|
|
51
|
+
@overload
|
|
52
|
+
def probably_regex(maybe_regex: str) -> bool: ...
|
|
50
53
|
def re_fix(reg: str) -> str: ...
|
|
51
54
|
def try_match_any(inst: str, patterns: Iterable[str | Pattern[str]]) -> bool: ...
|
|
52
55
|
def try_match(request_origin: str, maybe_regex: str | Pattern[str]) -> bool: ...
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
2
1
|
from collections.abc import Callable, Iterable
|
|
3
2
|
from datetime import timedelta
|
|
4
3
|
from logging import Logger
|
|
@@ -11,7 +10,7 @@ LOG: Logger
|
|
|
11
10
|
class CORS:
|
|
12
11
|
def __init__(
|
|
13
12
|
self,
|
|
14
|
-
app:
|
|
13
|
+
app: flask.Flask | None = None,
|
|
15
14
|
*,
|
|
16
15
|
resources: dict[str, dict[str, Any]] | list[str] | str | None = ...,
|
|
17
16
|
origins: str | list[str] | None = ...,
|
|
@@ -24,7 +24,7 @@ class _Namespace(_BaseNamespace, Protocol):
|
|
|
24
24
|
): ...
|
|
25
25
|
def send(
|
|
26
26
|
self,
|
|
27
|
-
data
|
|
27
|
+
data,
|
|
28
28
|
to=None,
|
|
29
29
|
room: str | None = None,
|
|
30
30
|
skip_sid=None,
|
|
@@ -65,7 +65,7 @@ class Namespace(_Namespace):
|
|
|
65
65
|
) -> _T | tuple[str, int]: ...
|
|
66
66
|
def send( # type: ignore[override]
|
|
67
67
|
self,
|
|
68
|
-
data
|
|
68
|
+
data,
|
|
69
69
|
room: str | None = None,
|
|
70
70
|
include_self: bool = True,
|
|
71
71
|
namespace: str | None = None,
|
|
@@ -3,14 +3,14 @@ import tkinter
|
|
|
3
3
|
from _typeshed import ReadableBuffer, StrOrBytesPath, SupportsRead
|
|
4
4
|
from typing import Any
|
|
5
5
|
|
|
6
|
-
from PIL.Image import Image
|
|
6
|
+
from PIL.Image import Image
|
|
7
7
|
|
|
8
8
|
class PhotoImage(tkinter._PhotoImageLike):
|
|
9
9
|
tk: _tkinter.TkappType
|
|
10
10
|
def __init__(
|
|
11
11
|
self,
|
|
12
|
-
image: Image |
|
|
13
|
-
size:
|
|
12
|
+
image: Image | str | None = None,
|
|
13
|
+
size: tuple[int, int] | None = None,
|
|
14
14
|
*,
|
|
15
15
|
file: StrOrBytesPath | SupportsRead[bytes] = ...,
|
|
16
16
|
data: ReadableBuffer = ...,
|