Results of 1 - 10 of about 303 for ValueError (0.051 sec.)
- 変更履歴 — Python 3.14.8 ドキュメント 9619
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...r when formatting a float or complex with a precision close to the platform's INT_MAX . PyOS_double_to_string() now raises ValueError for any precision of that magnitude, regardless of presentation type or value, as the format string parsers already did fo...rap_socket() . In particular, a context with check_hostname enabled and no server_hostname passed to wrap_bio() now raises ValueError instead of completing a handshake that verified the certificate chain without verifying the peer's identity, with no indic...egmentation fault when called repr for BaseExceptionGroup with empty or 1-size tuple args. gh-85260 : compile() now raises ValueError instead of crashing on a debug build if an identifier field of an AST node (such as the name of a function, a class, an im... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- graphlib --- グラフ構造を操作する機能 — Python 3.14.8 ドキュメント 8262
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » graphlib --- グラフ構造を操作する機能 テーマ 自動 ライト ダーク | graphlib --- グラフ構造を操作する機能 ¶ ソースコード:
...be automatically added to the graph with no predecessors of its own. prepare() を呼び出した後にこのメソッドを呼び出すと、 ValueError を送出します。 prepare ( ) ¶ Mark the graph as finished and check for cycles in the graph. If any cycle is detected, Cycle...ess. After a call to this function, the graph cannot be modified, and therefore no more nodes can be added using add() . A ValueError will be raised if the sort has been started by static_order() or get_ready() . バージョン 3.14 で変更: prepare() can now b...e called more than once as long as the sort has not started. Previously this raised ValueError . is_active ( ) ¶ Returns True if more progress can be made and False otherwise. Progress can be made if cycles do not blo... - https://man.mtool.work/python/3.14/library/graphlib.html
- graphlib --- グラフ構造を操作する機能 — Python 3.14.8 ドキュメント 8262
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » graphlib --- グラフ構造を操作する機能 テーマ 自動 ライト ダーク | graphlib --- グラフ構造を操作する機能 ¶ ソースコード:
...be automatically added to the graph with no predecessors of its own. prepare() を呼び出した後にこのメソッドを呼び出すと、 ValueError を送出します。 prepare ( ) ¶ Mark the graph as finished and check for cycles in the graph. If any cycle is detected, Cycle...ess. After a call to this function, the graph cannot be modified, and therefore no more nodes can be added using add() . A ValueError will be raised if the sort has been started by static_order() or get_ready() . バージョン 3.14 で変更: prepare() can now b...e called more than once as long as the sort has not started. Previously this raised ValueError . is_active ( ) ¶ Returns True if more progress can be made and False otherwise. Progress can be made if cycles do not blo... - https://man.mtool.work/python/3.14/library/graphlib.html
- datetime --- 基本的な日付と時間の型 — Python 3.14.8 ドキュメント 7584
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » datetime --- 基本的な日付と時間の型 テーマ 自動 ライト ダーク | datetime --- 基本的な日付と時間の型 ¶ ソースコード: Lib/
...ません: MINYEAR <= year <= MAXYEAR 1 <= month <= 12 1 <= day <= 指定された月と年における日数 範囲を超えた引数を与えた場合、 ValueError が送出されます。 他のコンストラクタ、および全てのクラスメソッドを以下に示します: classmethod date. today ( ) ¶ 現在のローカ...れます。 バージョン 3.3 で変更: timestamp がプラットフォームの C 関数 localtime() のサポートする値の範囲から外れていた場合、 ValueError ではなく OverflowError を送出するようになりました。 localtime() の呼び出し失敗で ValueError ではなく OSError を送出するよう...e proleptic Gregorian ordinal , where January 1 of year 1 has ordinal 1. 1 <= ordinal <= date.max.toordinal() でない場合、 ValueError が送出されます。 任意の日付 d に対し、 date.fromordinal(d.toordinal()) == d となります。 classmethod date. fromisoformat (... - https://man.mtool.work/python/3.14/library/datetime.html
- datetime --- 基本的な日付と時間の型 — Python 3.14.8 ドキュメント 7584
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » datetime --- 基本的な日付と時間の型 テーマ 自動 ライト ダーク | datetime --- 基本的な日付と時間の型 ¶ ソースコード: Lib/
...ません: MINYEAR <= year <= MAXYEAR 1 <= month <= 12 1 <= day <= 指定された月と年における日数 範囲を超えた引数を与えた場合、 ValueError が送出されます。 他のコンストラクタ、および全てのクラスメソッドを以下に示します: classmethod date. today ( ) ¶ 現在のローカ...れます。 バージョン 3.3 で変更: timestamp がプラットフォームの C 関数 localtime() のサポートする値の範囲から外れていた場合、 ValueError ではなく OverflowError を送出するようになりました。 localtime() の呼び出し失敗で ValueError ではなく OSError を送出するよう...e proleptic Gregorian ordinal , where January 1 of year 1 has ordinal 1. 1 <= ordinal <= date.max.toordinal() でない場合、 ValueError が送出されます。 任意の日付 d に対し、 date.fromordinal(d.toordinal()) == d となります。 classmethod date. fromisoformat (... - https://man.mtool.work/python/3.14/library/datetime.html
- pathlib --- オブジェクト指向のファイルシステムパス — Python 3.14.8 ドキュメント 7471
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » pathlib --- オブジェクト指向のファイルシステムパス テーマ 自動 ライト ダーク | pathlib --- オブ
...たら True を、一致しなければ False を返します。 This method is similar to full_match() , but empty patterns aren't allowed ( ValueError is raised), the recursive wildcard " ** " isn't supported (it acts like non-recursive " * "), and if a relative pattern is...lative_to ( other , walk_up = False ) ¶ other で表されたパスから現在のパスへの相対パスを返します。それが不可能だった場合は ValueError が送出されます: >>> p = PurePosixPath ( '/etc/passwd' ) >>> p . relative_to ( '/' ) PurePosixPath('etc/passwd') >>> p . re...aceback (most recent call last): File "<stdin>" , line 1 , in <module> File "pathlib.py" , line 941 , in relative_to raise ValueError ( error_message . format ( str ( self ), str ( formatted ))) ValueError : '/etc/passwd' is not in the subpath of '/usr' OR... - https://man.mtool.work/python/3.14/library/pathlib.html
- ipaddress --- IPv4/IPv6 操作ライブラリ — Python 3.14.8 ドキュメント 7471
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » ipaddress --- IPv4/IPv6 操作ライブラリ テーマ 自動 ライト ダーク | ipaddress --- IPv4/IPv6 操作
...より小さい整数はデフォルトでは IPv4 アドレスだと判断されます。 address が正しい IPv4, IPv6 アドレスを表現していない場合は ValueError を発生させます。 >>> ipaddress . ip_address ( '192.168.0.1' ) IPv4Address('192.168.0.1') >>> ipaddress . ip_address ( '200...に渡されます。 address が正しい IPv4, IPv6 アドレスを表現していない場合や、ネットワークの host bit がセットされていた場合は ValueError を発生させます。 >>> ipaddress . ip_network ( '192.168.0.0/28' ) IPv4Network('192.168.0.0/28') ipaddress. ip_interface ( a...より小さい整数はデフォルトでは IPv4 アドレスだと判断されます。 address が正しい IPv4, IPv6 アドレスを表現していない場合は ValueError を発生させます。 これらの便利関数を利用するデメリットとして、IPv4 と IPv6 両方のフォーマットを扱う必要性があるために、どち... - https://man.mtool.work/python/3.14/library/ipaddress.html
- pathlib --- オブジェクト指向のファイルシステムパス — Python 3.14.8 ドキュメント 7471
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » pathlib --- オブジェクト指向のファイルシステムパス テーマ 自動 ライト ダーク | pathlib --- オブ
...たら True を、一致しなければ False を返します。 This method is similar to full_match() , but empty patterns aren't allowed ( ValueError is raised), the recursive wildcard " ** " isn't supported (it acts like non-recursive " * "), and if a relative pattern is...lative_to ( other , walk_up = False ) ¶ other で表されたパスから現在のパスへの相対パスを返します。それが不可能だった場合は ValueError が送出されます: >>> p = PurePosixPath ( '/etc/passwd' ) >>> p . relative_to ( '/' ) PurePosixPath('etc/passwd') >>> p . re...aceback (most recent call last): File "<stdin>" , line 1 , in <module> File "pathlib.py" , line 941 , in relative_to raise ValueError ( error_message . format ( str ( self ), str ( formatted ))) ValueError : '/etc/passwd' is not in the subpath of '/usr' OR... - https://man.mtool.work/python/3.14/library/pathlib.html
- ipaddressモジュールの紹介 — Python 3.14.8 ドキュメント 7358
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » ipaddressモジュールの紹介 テーマ 自動 ライト ダーク | ipaddressモジュールの紹介 ¶ author : Peter Moody author : Nick Coghlan 概要 このドキュメント
...ーフェースオブジェクトと呼ばれます。 デフォルトでは、ホストビットセットの指定でネットワークオブジェクトを作成しようとすると ValueError が発生する結果となります。 strict=False フラグをコンストラクタに渡すと、追加分のビットをゼロとして強制的に処理するように要...求できます: >>> ipaddress . ip_network ( '192.0.2.1/24' ) Traceback (most recent call last): ... ValueError : 192.0.2.1/24 has host bits set >>> ipaddress . ip_network ( '192.0.2.1/24' , strict = False ) IPv4Network('192.0.2.0/24'...る場合、渡された値がそのタイプのオブジェクトとして認識されなかったと単純に通知する汎用的なメッセージとともに、どのエラーでも ValueError として報告されます。特定のエラーが提供されないのは、拒否された理由をより詳細に提供するために、値がIPv4またはIPv6である はず... - https://man.mtool.work/python/3.14/howto/ipaddress.html
- ipaddress --- IPv4/IPv6 操作ライブラリ — Python 3.14.8 ドキュメント 7245
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » ipaddress --- IPv4/IPv6 操作ライブラリ テーマ 自動 ライト ダーク | ipaddress --- IPv4/IPv6 操作
...より小さい整数はデフォルトでは IPv4 アドレスだと判断されます。 address が正しい IPv4, IPv6 アドレスを表現していない場合は ValueError を発生させます。 >>> ipaddress . ip_address ( '192.168.0.1' ) IPv4Address('192.168.0.1') >>> ipaddress . ip_address ( '200...に渡されます。 address が正しい IPv4, IPv6 アドレスを表現していない場合や、ネットワークの host bit がセットされていた場合は ValueError を発生させます。 >>> ipaddress . ip_network ( '192.168.0.0/28' ) IPv4Network('192.168.0.0/28') ipaddress. ip_interface ( a...より小さい整数はデフォルトでは IPv4 アドレスだと判断されます。 address が正しい IPv4, IPv6 アドレスを表現していない場合は ValueError を発生させます。 これらの便利関数を利用するデメリットとして、IPv4 と IPv6 両方のフォーマットを扱う必要性があるために、どち... - https://man.mtool.work/python/3.14/library/ipaddress.html