id int64 0 2.72k | content stringlengths 5 4.1k | language stringclasses 4
values | embedding unknown |
|---|---|---|---|
900 | ion 3 8 Similar to bytes hex bytearray hex now supports optional sep and bytes_per_sep parameters to insert separators between bytes in the hex output Since bytearray objects are sequences of integers akin to a list for a bytearray object b b 0 will be an integer while b 0 1 will be a bytearray object of length 1 This ... | en | "Wy0wLjAwMzM5MjgyNDQzNzQ2OTI0NCwwLjAzNzgxODQ2OTEwNzE1MTAzLC0wLjA0MjkxOTUxMjgzODEyNTIzLC0wLjA0MzQyNjI2MDM1MjEzNDcwNSwtMC4xMjQwMTE1OTg1Mjc0MzE0OSwtMC4wMTAwNzU5Njc3NTg4OTM5NjcsMC4wNzExOTIxNzUxNDk5MTc2LC0wLjAxNDU5NzYwODcwNzg0NTIxMSwtMC4wMDc3MjczMjk2MTkyMjg4NCwwLjAxMTA3NTk4NDY4NjYxMzA4MywtMC4wMjY2MTE2OTY5Mjg3Mzk1NDgsMC4wMTA... |
901 | d Return True if the binary data ends with the specified suffix otherwise return False suffix can also be a tuple of suffixes to look for With optional start test beginning at that position With optional end stop comparing at that position The suffix es to search for may be any bytes like object bytes find sub start en... | en | "Wy0wLjA5MTY1NjgxMTUzNTM1ODQzLDAuMDEzOTM4NTY3NjAxMTQ0MzE0LC0wLjAxMzI5NzQwNTA5MzkwODMxLC0wLjAyNzExNDkwNTQxNjk2NTQ4NSwwLjAwMzA0OTU3NjQyMjE5OTYwNywtMC4wNTU2OTUwNTY5MTUyODMyLDAuMDEzNjQ2NTIxNjA1NTUxMjQzLDAuMDAzNzgwMTc1Njk4OTIxMDg0NCwtMC4wMzIwOTI5NzczMTUxODc0NTQsLTAuMDI5OTY5MDc3NTU3MzI1MzYzLC0wLjAwMjUzMjQ1ODE2NTY2MDUwMDUsMC4... |
902 | ise return False prefix can also be a tuple of prefixes to look for With optional start test beginning at that position With optional end stop comparing at that position The prefix es to search for may be any bytes like object bytes translate table delete b bytearray translate table delete b Return a copy of the bytes ... | en | "Wy0wLjAxNzEyNzUxNTc0ODE0MzE5NiwwLjAwNDQyNDM0NzU0MjIyNjMxNDUsLTAuMDUxNzU3NTI1NjUyNjQ3MDIsLTAuMDUxMTE5MDQ0NDIzMTAzMzMsLTAuMDYyOTM1MzUyMzI1NDM5NDUsLTAuMDU2MjM4MTgxODg5MDU3MTYsMC4wNjIwMDg2MTU1ODMxODEzOCwtMC4wNDU1NzY4ODE2MTczMDc2NiwwLjAyOTI2MTM5MzQ3MjU1MjMsMC4wMTU3NDYzNTMxOTQxMTc1NDYsMC4wMzU2Nzc5MTczMDE2NTQ4MTYsMC4wMjQ0MjY... |
903 | itespace The chars argument is not a suffix rather all combinations of its values are stripped b spacious rstrip b spacious b mississippi rstrip b ipz b mississ The binary sequence of byte values to remove may be any bytes like object See removesuffix for a method that will remove a single suffix string rather than all... | en | "Wy0wLjA0Mjk5NjUwNzEzODAxMzg0LC0wLjAwODEwMTg1NjMzNTk5NzU4MSwwLjAxMjgzNzU1ODA1MzQzMzg5NSwtMC4wMjU0NDA2NTE5MjM0MTgwNDUsLTAuMDcxOTEwMDAxMzM3NTI4MjMsLTAuMDIzMjIwMzIxMTYzNTM1MTE4LDAuMDU1ODQ1NjEwNzk3NDA1MjQsMC4wMTkwOTY5ODU0NTkzMjc2OTgsLTAuMDUzOTAxMzU1NzEzNjA1ODgsMC4wMTYzNTEwOTgxOTQ3MTgzNiwtMC4wMTI0ODI3MjQxNTI1MDUzOTgsMC4wNTM... |
904 | copied unchanged and the current column is incremented by one regardless of how the byte value is represented when printed b 01 t012 t0123 t01234 expandtabs b 01 012 0123 01234 b 01 t012 t0123 t01234 expandtabs 4 b 01 012 0123 01234 Note The bytearray version of this method does not operate in place it always produces... | en | "Wy0wLjA2NzIzMjU3MTU0MjI2MzAzLC0wLjAzOTQ1OTcxNjUyODY1NDEsLTAuMDgxOTUzMjY0NzcyODkyLC0wLjA1NjA1NjI0NjE2MTQ2MDg3NiwtMC4wNjI5OTA4NTE3MDAzMDU5NCwtMC4wMTgxODMyNDYyNTQ5MjA5NiwwLjA0OTM3ODExOTQwOTA4NDMyLC0wLjA2NjQ2MTgzODc4MTgzMzY1LDAuMDAxNDcwMzU3NjQ1MzAzMDExLC0wLjAwMDcxMjEzNjQ0Njk2Mzk5NTcsMC4wNTg5NjU4NzY2OTg0OTM5NiwwLjAxNzAxNjc... |
905 | Two lines n split b n b b Two lines b b splitlines b One line n splitlines b One line bytes swapcase bytearray swapcase Return a copy of the sequence with all the lowercase ASCII characters converted to their corresponding uppercase counterpart and vice versa For example b Hello World swapcase b hELLO wORLD Lowercase A... | en | "Wy0wLjA3MTA5MTA4NTY3MjM3ODU0LC0wLjAxNDIwMjUwMTYyNDgyMjYxNywtMC4wMTM4NzkwNDAyNTYxNDI2MTYsLTAuMDcwMzEyOTE3MjMyNTEzNDMsLTAuMTE1Njk5ODIwMjIwNDcwNDMsLTAuMDEzNDE3ODUzOTczODA1OTA0LC0wLjAxNjIyNjczNjgyODY4NDgwNywtMC4wMTE2NDUyOTY1ODg1NDAwNzcsMC4wMDU5MTc0MDI0NDk5OTUyNzksLTAuMDIzNjAyMjU4NDE0MDMwMDc1LDAuMDIwMDIwMzE3Mjg2MjUyOTc1LDA... |
906 | e specifier 2 Mapping key optional consisting of a parenthesised sequence of characters for example somename 3 Conversion flags optional which affect the result of some conversion types 4 Minimum field width optional If specified as an asterisk the actual width is read from the next element of the tuple in values and t... | en | "WzAuMDEwOTU2NDYyNDcyNjc3MjMsMC4wNTQ4NjE5MTA2NDExOTMzOSwtMC4wNjUwMDczMzY0Mzc3MDIxOCwwLjAxNjg2OTg0NjczMTQyNDMzLC0wLjAzNjkxMTA0MDU0NDUwOTg5LC0wLjA2NzM1NTY0MDIzMjU2MzAyLDAuMDQxNzExMzM0MTM5MTA4NjYsMC4wNDYwMjQ1OTgxODEyNDc3MSwtMC4wNDgxNzU5MTk4MDA5OTY3OCwwLjAwOTc1MzE1OTI0NzMzODc3MiwwLjAwNzI0OTgzNTQxMjk0OTMyNCwtMC4wNzAyNzg2MDc... |
907 | protocol Built in objects that support the buffer protocol include bytes and bytearray A memoryview has the notion of an element which is the atomic memory unit handled by the originating object For many simple types such as bytes and bytearray an element is a single byte but other types such as array array may have b... | en | "WzAuMDQ2NDUwODg2ODc1MzkxMDA2LC0wLjAwMjI3OTU4Nzc4ODUwNzM0MjMsLTAuMDc3MjQ4NTk1NjU0OTY0NDUsLTAuMDE4MzA1OTg4OTgyMzE5ODMyLC0wLjA1NjQ5NTMxMjYwMTMyNzg5NiwtMC4wMTA1MDI0MjUwMjI0MjMyNjcsMC4wNTIzMDI5NzE0ODIyNzY5MTcsMC4wMTE5MTQyOTIzNTA0MTE0MTUsLTAuMDI3NDE3MDg0MjAyMTcwMzcyLC0wLjA1NDM2MzE2MTMyNTQ1NDcxLC0wLjA0ODI2ODY1NzE3NzY4NjY5LDA... |
908 | the original array is converted to C or Fortran order For contiguous views A returns an exact copy of the physical memory In particular in memory Fortran order is preserved For non contiguous views the data is converted to C first order None is the same as order C hex sep bytes_per_sep Return a string object containing... | en | "WzAuMDUwNDk0OTgzNzkyMzA0OTksLTAuMDI5OTA3ODY1NDQ5Nzg2MTg2LC0wLjEzNTkwODgxMjI4NDQ2OTYsLTAuMDIyODg5MTUyMTY5MjI3NiwtMC4wNTIyNzQ2NDgxMDAxMzc3MSwwLjAzMjcxNjI1MTkwOTczMjgyLDAuMDEyNDEzNzcxODIzMDQ4NTkyLDAuMDEyMzAyOTI1ODEwMjE3ODU3LC0wLjAzMzU0MjAxODM4Mzc0MTM4LC0wLjAzNzk3MzY5MDc3ODAxNzA0NCwwLjAzODA5NDEzMzEzODY1NjYxNiwwLjA0OTEzMDM... |
909 | 1 5 x for x in range 12 x memoryview buf y x cast d shape 3 4 y tolist 0 0 1 5 3 0 4 5 6 0 7 5 9 0 10 5 12 0 13 5 15 0 16 5 len y 3 y nbytes 96 New in version 3 3 readonly A bool indicating whether the memory is read only format A string containing the format in struct module style for each element in the view A memory... | en | "WzAuMTE1NDE0NjkzOTUxNjA2NzUsLTAuMDI3NjE4MTY2MDU5MjU1NiwtMC4xMzEwMTM0MDgzMDMyNjA4LDAuMDAzODI1NDg3ODAxODA1MTM4NiwtMC4wMDY4Nzc0NTAyNzI0NDA5MSwwLjAyMDYwMzQ4NzI2ODA5MDI0OCwwLjAzNTU2MjYzMDc0Mjc4ODMxNSwtMC4wMTY4ODc2MjM4MTY3Mjg1OTIsLTAuMDUwMzQzODU2MjE1NDc2OTksLTAuMDQ3NTg3NzYzNTE4MDk1MDE2LDAuMDA5ODYxMjc3NDE2MzQ4NDU3LDAuMDE5MDA... |
910 | ction others set other Return a new set with elements common to the set and all others difference others set other Return a new set with elements in the set that are not in the others symmetric_difference other set other Return a new set with elements in either the set or other but not both copy Return a shallow copy o... | en | "WzAuMDA1MDU4NTE4MTQ1MjMzMzkzLC0wLjAxMDA4NzU4MDQyMDA3Njg0NywwLjAwOTY3OTg3OTk5MzIwMDMwMiwtMC4wNDA5MzgzMzI2NzY4ODc1MSwtMC4wNjMwNjEyODIwMzg2ODg2NiwtMC4wMTE2OTYwNTgzMjU0Njk0OTQsMC4wMjEzNzA2MzgxNjE4OTc2NiwwLjAyNjE2MjEwODQwNjQyNDUyMiwtMC4wMjgzNzIxOTQ2MTc5ODY2OCwwLjAwMzg1MDc3NDM3Mzg1OTE2NywtMC4wMzAwNDA0NTk3MDczNzkzNCwtMC4wNDM... |
911 | onary is created If a positional argument is given and it is a mapping object a dictionary is created with the same key value pairs as the mapping object Otherwise the positional argument must be an iterable object Each item in the iterable must itself be an iterable with exactly two objects The first object of each it... | en | "Wy0wLjA1OTA5NzE3MDgyOTc3Mjk1LDAuMDA3ODYzODc4MjcyNDczODEyLC0wLjA4Mzc3MjQ2NTU4NjY2MjI5LC0wLjAyMDU2MDY0ODI5MjMwMzA4NSwtMC4wNDU4MTIzNTcyMTcwNzM0NCwtMC4wNTM4NDM3ODEzNTIwNDMxNSwwLjA3OTU3MjE0ODYyMTA4MjMsLTAuMDQ0MjU2MTczMDc0MjQ1NDUsMC4wMjkxNzM4MDYzMDk3MDAwMTIsMC4wMjEzOTU1NjIyMTY2Mzk1MiwwLjA0MzkyODAzMDg3ODMwNTQzNSwwLjA2Mjc1NDg... |
912 | Update the dictionary with the key value pairs from other overwriting existing keys Return None update accepts either another dictionary object or an iterable of key value pairs as tuples or other iterables of length two If keyword arguments are specified the dictionary is then updated with those key value pairs d upd... | en | "Wy0wLjA1MDAyMzIzMTY1NTM1OTI3LC0wLjA2MzgxMjQxOTc3MjE0ODEzLC0wLjAwMTQ3ODY3NTE3MDgwMTU4LC0wLjA4ODI2MzIzNTk4NjIzMjc2LC0wLjAzNTYyMzI4OTY0NDcxODE3LC0wLjA1ODcwOTk2NDE1NjE1MDgyLC0wLjAxNjg4OTY0NjY0OTM2MDY1NywtMC4wNzcwMTU2MzgzNTE0NDA0MywtMC4wMDY1ODg1MjIzNDQ4Mjc2NTIsMC4wMzY0Nzc4Njc1MTM4OTUwMzUsMC4wODA3NDQyODE0MTExNzA5NiwwLjA3NjE... |
913 | ration n 0 for val in values n val print n 504 keys and values are iterated over in the same order insertion order list keys eggs sausage bacon spam list values 2 1 1 500 view objects are dynamic and reflect dict changes del dishes eggs del dishes sausage list keys bacon spam set operations keys eggs bacon salad bacon ... | en | "Wy0wLjAzNDUwMTIwOTg1NTA3OTY1LC0wLjAzNDMyMTMzNDIxMzAxODQyLC0wLjA2NDg5MDI5NTI2NzEwNTEsMC4wNTM0ODk0Njg5OTE3NTY0NCwtMC4wOTExODUyNzkxOTA1NDAzMSwtMC4wNTA4NTEyNTE5Mjk5OTg0LDAuMDg0NzE0Njk1ODExMjcxNjcsMC4wMTYxNDc3MTQxMDgyMjg2ODMsLTAuMDQ4NTc5MDk2Nzk0MTI4NDIsLTAuMDM2MTc2NzY3MjAwMjMxNTUsMC4wNjk5MjU5NTY0MjgwNTEsLTAuMDIxMzI4MDAwMzU... |
914 | ng the list class with the argument int GenericAlias objects are intended primarily for use with type annotations Note It is generally only possible to subscript a class if the class implements the special method __class_getitem__ A GenericAlias object acts as a proxy for a generic type implementing parameterized gener... | en | "Wy0wLjEyNzA4MDIzMTkwNDk4MzUyLDAuMDQ4NDIzODk3NDc1MDA0MTk2LDAuMDU2NDU5NDkzOTM1MTA4MTg1LDAuMDE2MTI4MTMyMTE5Nzc0ODIsMC4wNTkyNzk1MzQ5NjU3NTM1NTUsMC4wMzE1MDcwNzg1NTgyMDY1NiwwLjE0MjM2NTQ1NTYyNzQ0MTQsMC4wMjk4OTY1NzIyMzIyNDY0LC0wLjAxNzQ2MDU2MDQyNjExNTk5LDAuMDIwMTA1MjM3MTQxMjUxNTY0LC0wLjEwOTQ4OTA1MzQ4Nzc3NzcxLDAuMDAwNzE0NzgwMDY... |
915 | llections abc ItemsView collections abc ValuesView contextlib AbstractContextManager contextlib AbstractAsyncContextManager dataclasses Field functools cached_property functools partialmethod os PathLike queue LifoQueue queue Queue queue PriorityQueue queue SimpleQueue re Pattern re Match shelve BsdDbShelf shelve Dbfil... | en | "Wy0wLjAyNDA1MzY3MjMyODU5MTM0NywwLjAwODU3NzI3Njk1MjU2NDcxNiwtMC4wMTc4NjYxNDU4MTk0MjU1ODMsMC4wMTQ0MzM3ODcyMDQzMjUxOTksLTAuMDI2MzI0MDE1MTEwNzMxMTI1LC0wLjA0MjA1NjQyNjQwNTkwNjY4LDAuMTEwMTAyMDIwMjA0MDY3MjMsLTAuMDMxNjQwMjkxMjEzOTg5MjYsLTAuMDkwMzgxMjc5NTg3NzQ1NjcsLTAuMDA0OTE0OTI2MzY1MDE3ODkxLDAuMDI3NTgwMTY0MzcyOTIwOTksLTAuMDU... |
916 | sion 3 10 Other Built in Types The interpreter supports several other kinds of objects Most of these support only one or two operations Modules The only special operation on a module is attribute access m name where m is a module and name accesses a name defined in m s symbol table Module attributes can be assigned to ... | en | "Wy0wLjA0MTg2MTI2NTg5Nzc1MDg1NCwtMC4wODA2NDI3ODk2MDIyNzk2NiwtMC4wNDYxNTM3NDY1NDUzMTQ3OSwwLjAxNzYyNjYwNzc5MDU4OTMzMywtMC4wMzA5MzM1MDY3ODY4MjMyNzMsLTAuMDgzOTk2MzQwNjMyNDM4NjYsMC4wNjc5MTkzNTExNjA1MjYyOCwwLjAwNjM3MzI5MDQzODIwNTAwNCwtMC4wNTQwNjg1MjA2NjUxNjg3NiwtMC4wNDQxNjI5NzM3NjE1NTg1MywwLjAzOTU1NjEyNzA0MTU3ODI5LDAuMDA0Mzc... |
917 | operations There is exactly one null object named None a built in name type None produces the same singleton It is written as None The Ellipsis Object This object is commonly used by slicing see Slicings It supports no special operations There is exactly one ellipsis object named Ellipsis a built in name type Ellipsis ... | en | "Wy0wLjA1MDQ1Nzg3NjE3NTY0MjAxNCwtMC4wMDg5NDAyNjY0NDUyNzkxMjEsLTAuMDI3NjM0MDQxMzgzODYyNDk1LDAuMDMwNDc2Mjg1MTQ0Njg2NywtMC4wNjIxMjE1NjI2NTk3NDA0NSwtMC4xMjUyMTE0NDc0NzczNDA3LDAuMDAwNDU1MTAxMDc4ODQxODM1MjYsLTAuMDE1NjI1MDM3MjUyOTAyOTg1LDAuMDE4OTExOTQ0NzAyMjY3NjQ3LC0wLjAwNzQ5MTU5MDQ1NTE3NDQ0NiwwLjAzMzE0MzYzNTgzOTIyMzg2LC0wLjA... |
918 | heck_threshold 640 sys int_info msg int 578966293710682886880994035146873798396722250538762761564 9252925514383915483333812743580549779436104706260696366600 571186405732 to_bytes 53 big New in version 3 11 Affected APIs The limitation only applies to potentially slow conversions between int and str or bytes int string ... | en | "WzAuMDA2NDU1NTA0MzM1NDYzMDQ3LC0wLjAwMjQzMjE2MTcwOTI5MzcyMywtMC4wOTI3MTAxODIwNzA3MzIxMiwtMC4wNDcxODk0NjI5Mjk5NjQwNjYsLTAuMDIyNDQxMTU2MjA4NTE1MTY3LC0wLjA3NDM3MTYyODQ2MzI2ODI4LC0wLjAzNDI3NjIxMzQ5NjkyMzQ1LDAuMTAwMzMxNzA4Nzg4ODcxNzcsLTAuMDg0NjQzOTMwMTk2NzYyMDgsLTAuMDI0ODI4MzY2OTM1MjUzMTQzLC0wLjA3NzA0Mzg5ODQwMzY0NDU2LC0wLjA... |
919 | test Regression tests package for Python Note The test package is meant for internal use by Python only It is documented for the benefit of the core developers of Python Any use of this package outside of Python s standard library is discouraged as code mentioned here can change or be removed without notice between rel... | en | "Wy0wLjEwNTUwMDE1NDE5NzIxNjAzLC0wLjAxNzQxNjg1OTA0NTYyNDczMywtMC4wNTE1OTI0NDY4NjM2NTEyNzYsMC4wNjMyNTg2NzAyNzA0NDI5NiwwLjAxNzM5MjA2OTEwMTMzMzYxOCwtMC4wNTczNjY3OTU4Mzc4NzkxOCwtMC4wNTYzNTA1MjkxOTM4NzgxNzQsMC4wMDc4MjQ5ODUzMTA0MzUyOTUsLTAuMDQyNjI1NzgxMTQ4NjcyMTA0LC0wLjAxNzYyODE2ODY4NzIyNDM4OCwwLjA0MTIyNzY2MTA3MzIwNzg1NSwwLjA... |
920 | c self arg class AcceptLists TestFuncAcceptsSequencesMixin unittest TestCase arg 1 2 3 class AcceptStrings TestFuncAcceptsSequencesMixin unittest TestCase arg abc class AcceptTuples TestFuncAcceptsSequencesMixin unittest TestCase arg 1 2 3 When using this pattern remember that all classes that inherit from unittest Tes... | en | "Wy0wLjA4MTc0NDYwMzgxMjY5NDU1LC0wLjA4MTkxMTY1MzI4MDI1ODE4LC0wLjA2NzUzNTk1MTczMzU4OTE3LDAuMDk5NTA4NTkwOTk2MjY1NDEsLTAuMDY0MjY3MTIxMjU1Mzk3OCwtMC4wNTYzMzk4ODYwMzk0OTU0NywwLjAxMTA3Njg4MDYxODkyOTg2MywtMC4wMTgwNjkzMjEyODk2NTg1NDYsLTAuMTA0MTAyMzczMTIzMTY4OTUsLTAuMDQ2NjgxMTA5ODE1ODM1OTUsMC4wNTMzNzk4MDM4OTU5NTAzMiwwLjAzOTMyNDQ... |
921 | ip the test instead see transient_internet Its default value is 1 minute See also LOOPBACK_TIMEOUT test support SHORT_TIMEOUT Timeout in seconds to mark a test as failed if the test takes too long The timeout value depends on the regrtest timeout command line option If a test using SHORT_TIMEOUT starts to fail randomly... | en | "Wy0wLjAxNzgyNzY0ODY2OTQ4MTI3NywwLjAzMDY2Mjk5MTEwNjUxMDE2MiwtMC4wMzA3NTQ2Njg2MzgxMTAxNiwwLjA1OTc3MDcyOTM5Mjc2Njk1LC0wLjAxNTgzMzc1NDA5MjQ1NDkxLC0wLjA5MDgxNTQ3NzA3MzE5MjYsLTAuMDc3OTgwMjQyNjY5NTgyMzcsMC4wNzM5MTE4NzU0ODYzNzM5LC0wLjA1MDI1ODY0NzY1MDQ4MDI3LC0wLjAyNjAwNDY5ODEyNzUwODE2MywwLjAzMDE0MzYxMjk5NTc0Mzc1LDAuMDEyOTk0NzE... |
922 | O0 or Og test support with_pymalloc Return _testcapi WITH_PYMALLOC test support requires resource msg None Raise ResourceDenied if resource is not available msg is the argument to ResourceDenied if it is raised Always returns True if called by a function whose __name__ is __main__ Used when tests are executed by test r... | en | "Wy0wLjA4NDkzOTkwNDUxMDk3NDg4LDAuMDc1OTAxOTE4MTEzMjMxNjYsLTAuMDIwNzQwNTYxMTg3MjY3MzAzLC0wLjAxOTQ0MzQyNDQxODU2ODYxLDAuMDQ2OTk1MjkzMzQ5MDI3NjM0LC0wLjEzMDc4Mzc1MTYwNjk0MTIyLC0wLjAyMDM1NjA1OTA3NDQwMTg1NSwwLjEwNTY5MzMyNTQwMDM1MjQ4LC0wLjAzOTMwODk2ODkzMTQzNjU0LDAuMDM2NjMyNDQ0NzA5NTM5NDEsMC4wNjk5OTg2NTkxOTM1MTU3OCwwLjA0NTI1ODI... |
923 | iting into stderr New in version 3 11 test support print_warning msg Print a warning into sys __stderr__ Format the message as f Warning msg If msg is made of multiple lines add Warning prefix to each line New in version 3 9 test support wait_process pid exitcode timeout None Wait until process pid completes and check ... | en | "Wy0wLjAzMzY0NzY3ODc5MjQ3NjY1NCwwLjAxMDgyMTE5OTk3NTkwNzgwMywtMC4wOTkwMTM5MDk2OTc1MzI2NSwwLjA0MjgzODI1MzA4MDg0NDg4LDAuMDAyODk1Njc3Njk1MDUwODM1NiwtMC4wMzM2OTQ3NDAzODQ4MTcxMiwtMC4wMzc2MjQ1NjQwMjE4MjU3OSwwLjEwMjA5NTA1MjU5OTkwNjkyLC0wLjAxMzQ2MzczOTMwNTczNDYzNCwwLjAwNjgwMDg5ODgxNjQzNjUyOSwwLjAwMjM2MzA2NjE4ODk5MTA3LC0wLjAxODA... |
924 | a argument If dry_run is True the value passed to the test method may be less than the requested value If dry_run is False it means the test doesn t support dummy runs when M is not specified test support bigaddrspacetest Decorator for tests that fill the address space test support check_syntax_error testcase statement... | en | "Wy0wLjAxNDY0OTEwNzEyMDkzMTE0OSwwLjAxMDI1MjE5MTY4NTE0MDEzMywtMC4wMDMzNjk3ODY1NDM3NzE2MjQ2LDAuMDU4ODMwNzAwODE0NzIzOTcsMC4wMzYyNzg3OTE3MjU2MzU1MywtMC4wNDU4NDQyNjA2MDMxODk0NywtMC4wMzE4MzI0MjY3ODY0MjI3MywwLjAyNDUyMzUwNTk0MTAzMzM2MywtMC4xMDY1MjcxMTI0MjQzNzM2MywwLjA1MTI1Mzk1MjA4NTk3MTgzLDAuMDIyMzg5NTU5MDc1MjM2MzIsLTAuMDczMjk... |
925 | e If provided it will be added to the automatically detected ones The not_exported argument can be a set of names that must not be treated as part of the public API even though their names indicate otherwise Example use import bar import foo import unittest from test import support class MiscTestCase unittest TestCase ... | en | "Wy0wLjA4NTg1OTYwNDE3OTg1OTE2LC0wLjA0MjM3OTExODUwMjE0MDA0NSwtMC4wNTE0NTI0NzY1MzEyNjcxNjYsLTAuMDEyOTI2ODM2NDk4MDgxNjg0LDAuMDA4NDQ1OTk3NzIyNDQ2OTE4LC0wLjA1NTQ5NTk3NzQwMTczMzQsLTAuMDE2MzUzMjQwMjM2NjM5OTc3LC0wLjAyODk3ODk3OTIxNTAyNTkwMiwtMC4wNTMwOTM4MjQ1MzU2MDgyOSwtMC4wMzk5NzYzNjU4NjQyNzY4ODYsMC4wODk4NzEzNDY5NTA1MzEsLTAuMDQ... |
926 | IP sockets The only case for setting these options is testing multicasting via multiple UDP sockets Additionally if the SO_EXCLUSIVEADDRUSE socket option is available i e on Windows it will be set on the socket This will prevent anyone else from binding to our host port for the duration of the test test support socket... | en | "Wy0wLjA1NjkxNzgxMjY3NTIzNzY1NiwtMC4wMzczNDcyNDIyMzYxMzczOSwtMC4wMTA4MjQxNjk5NjM1OTgyNTEsMC4wMjY3NDQ4MjAxNzc1NTUwODQsLTAuMDE2MjE5NDk0ODY0MzQ0NTk3LDAuMDIwMTg5ODU1MjQ3NzM1OTc3LC0wLjAxNzkzODcwNzAyMzg1OTAyNCwwLjAwMzgyMjU2Mjk4MzI1OTU1ODcsLTAuMDY3ODAyNjg5OTY5NTM5NjQsLTAuMDEwMjg1MDYzNjQ2NzMzNzYsMC4wMzUwMTUwMzkxNDU5NDY1LC0wLjA... |
927 | the source If compiled is True both source files will be compiled and added to the zip package Return a tuple of the full zip path and the archive name for the zip file test support bytecode_helper Support tools for testing correct bytecode generation The test support bytecode_helper module provides support for testing... | en | "Wy0wLjEzNDI4MzI3NDQxMjE1NTE1LC0wLjAwNzk3NDQxNDE1NDg4NzIsLTAuMDc1MTE5MTM3NzYzOTc3MDUsMC4wMzU5NTU5NjkyNDQyNDE3MTQsMC4wNTY5NTQ3ODYxODE0NDk4OSwtMC4wNjUwOTk5MjQ4MDI3ODAxNSwtMC4wMjEyNTU4ODA1OTQyNTM1NCwtMC4wNDIxNzgzMTA0NTM4OTE3NTQsLTAuMDYzNzA3MDgzNDYzNjY4ODIsLTAuMDA1NDQzOTU5MDMxMjU0MDUzLDAuMDM2MTg3NTY2ODE2ODA2NzksLTAuMDEzNjg... |
928 | context manager and have a complete dictionary interface for querying modifying the underlying os environ After exit from the context manager all changes to environment variables done through this instance will be rolled back Changed in version 3 1 Added dictionary interface class test support os_helper FakePath path ... | en | "Wy0wLjAzMTgxMDkxMzIzNDk0OTExLC0wLjA0MDcxMjI2MzQzNTEyNTM1LC0wLjAxMDQ4OTU3NzQyNzUwNjQ0NywwLjA4NjIwOTgyNjE3MTM5ODE2LDAuMDUzNjc0ODAyMTg0MTA0OTIsLTAuMDc5ODEyMTA5NDcwMzY3NDMsMC4wNTA1MzgxMzAxMDQ1NDE3OCwwLjA4NjY3MDk1MDA1NTEyMjM4LC0wLjA5NTgzODkzNDE4MzEyMDczLDAuMDEzODQ1NDU3Njk1NDI0NTU3LDAuMDgyMjU0Mzk0ODg4ODc3ODcsLTAuMDM0ODEyMTM... |
929 | additional module names that are also removed from the sys modules cache before doing the import blocked is an iterable of module names that are replaced with None in the module cache during the import to ensure that attempts to import them raise ImportError The named module and any modules named in the fresh and bloc... | en | "Wy0wLjA5MDY2ODI5MDg1MzUwMDM3LC0wLjA2NTI2MzYyODk1OTY1NTc2LC0wLjA0MTU1NDQ5MTk2Njk2MjgxNCwwLjA1NTkzMjYyOTg1MzQ4NzAxNSwwLjA5MTQyMjI1OTgwNzU4NjY3LC0wLjA1NTU1MzgxOTk4NDE5NzYyLC0wLjAyNDc2ODA5MzYwMDg2OTE4LC0wLjAzMjYwNjY1NzU5NDQ0MjM3LC0wLjA0MjY1NTUyMDE0MTEyNDcyNSwtMC4wNjA2NTIxNDA1Mjc5NjM2NCwwLjA5ODE5MTk1NDE5NTQ5OTQyLDAuMDE4ODc... |
930 | et of the exception New in version 3 8 test support warnings_helper check_warnings filters quiet True A convenience wrapper for warnings catch_warnings that makes it easier to test that a warning was correctly raised It is approximately equivalent to calling warnings catch_warnings record True with warnings simplefilte... | en | "Wy0wLjAxOTQzNDYxNzgzMjMwMzA0NywwLjAwNDg3ODA3ODU4NzM1MzIyOTUsLTAuMDE4MDAxMTE2ODEyMjI5MTU2LDAuMDc5Nzg1MDA0MjU4MTU1ODIsMC4xMDMwOTkyODY1NTYyNDM5LDAuMDI5OTUyMDUxMTE4MDE2MjQzLDAuMDQzNzIyNTMyNjg5NTcxMzgsMC4wMTg3NDM2MzIzNjEyOTI4NCwtMC4wNjUyMTM1NTM2MDc0NjM4NCwtMC4wMjMyNzM5MzE4MTYyMjAyODQsMC4wNDY4MzA5NDg0NDIyMjA2OSwtMC4xMTMxNDU... |
931 | 1 Whetting Your Appetite If you do much work on computers eventually you find that there s some task you d like to automate For example you may wish to perform a search and replace over a large number of text files or rename and rearrange a bunch of photo files in a complicated way Perhaps you d like to write a small c... | en | "Wy0wLjA1MzAwMjMxNjUwNDcxNjg3LDAuMDM4OTY3OTI2MDU1MTkyOTUsMC4wMTUzNDUwNTQ2Nzg2MTg5MDgsMC4wMjMzNTgxMjMzNzY5NjU1MjMsLTAuMDMwNzExNDAzMTE2NTgzODI0LC0wLjExMjMyMDcyODYwMDAyNTE4LC0wLjAxMzQ3Mjk1ODQ2NzkwMDc1MywwLjEyNTQyMzY0MDAxMjc0MTEsLTAuMDQ1OTI5NjQ3OTgyMTIwNTE0LDAuMDIyMTgwNzg2MzU2MzI5OTE4LC0wLjAyNjUyNDI2MDY0MDE0NDM0OCwtMC4wMjg... |
932 | language and system through examples beginning with simple expressions statements and data types through functions and modules and finally touching upon advanced concepts like exceptions and user defined classes | en | "WzAuMDAxODcwMTM2MTI1OTQ0NTU0OCwwLjAyMDk0ODAwNzcwMjgyNzQ1NCwtMC4wMTk1NTU5MDU4MzM4NDAzNywtMC4wNDM2MDgxOTYwNzk3MzA5OSwtMC4wMzEzNzcyMTQ5Mzg0MDIxNzYsLTAuMDQ5NjA0NzAyNzQwOTA3NjcsMC4wNDU2NzczNzg3NzM2ODkyNywwLjEyODE2NTI1OTk1NzMxMzU0LC0wLjA5MDA2MzM0MDk2MTkzMzE0LDAuMDMxNDcwNDIxNzAxNjY5NjksLTAuMDA5NDAwODI5NjcyODEzNDE2LC0wLjAxMTI... |
933 | Internet Protocols and Support The modules described in this chapter implement internet protocols and support for related technology They are all implemented in Python Most of these modules require the presence of the system dependent module socket which is currently supported on most popular platforms Here is an overv... | en | "Wy0wLjA2MDc2MTk0NzE4NDgwMTEsLTAuMDU0MTY4OTAyMzM3NTUxMTIsLTAuMDM3NDY2NzQ1ODIzNjIxNzUsLTAuMDMwNTkxMDU3NjEzNDkyMDEyLC0wLjAzMjU5NjI2Nzc1OTc5OTk2LC0wLjA3ODA3NDIzMTc0MzgxMjU2LDAuMDA4MTg4Mzc4OTk3MTQ3MDgzLDAuMDExMjcyNTkyNDcwMDQ5ODU4LC0wLjA5ODczNjk3OTA2NzMyNTU5LC0wLjA0MTU2MDUwODMxMDc5NDgzLC0wLjAwMjgzNzM0NTQ2OTc0MzAxMzQsMC4wMjE... |
934 | 16 Appendix 16 1 Interactive Mode 16 1 1 Error Handling When an error occurs the interpreter prints an error message and a stack trace In interactive mode it then returns to the primary prompt when input came from a file it exits with a nonzero exit status after printing the stack trace Exceptions handled by an except ... | en | "WzAuMDM1NDA2NTI2MTc4MTIxNTcsMC4wMTAzMzE3OTQ2MTk1NjAyNDIsLTAuMDE2MjgwMzA4MzY1ODIxODQsMC4wMzY4MDc0NzAwMjM2MzIwNSwwLjAwMDAyNzAxNjI2OTA4Njc0MzcwNSwtMC4wOTk5MjAzOTk0ODcwMTg1OSwwLjAxNDkxMDc3NTIzNjc4NTQxMiwwLjEwMjM3OTY5NDU4MTAzMTgsLTAuMDA0NTIwMzc0ODE1OTExMDU1LDAuMDE5MjM4Njc2ODc1ODI5Njk3LDAuMDQ1NzA0MjgyODIwMjI0NzYsLTAuMDAzMTM... |
935 | hashlib Secure hashes and message digests Source code Lib hashlib py This module implements a common interface to many different secure hash and message digest algorithms Included are the FIPS secure hash algorithms SHA1 SHA224 SHA256 SHA384 SHA512 defined in the FIPS 180 4 standard the SHA 3 series defined in the FIPS... | en | "WzAuMDAxODg2MzA5NzA2NjA1OTcwOSwtMC4wMjQ1MzgxNTc1MDc3NzcyMTQsLTAuMDc1NjU2NzQ5MzA4MTA5MjgsLTAuMDgwNzAxNDU1NDczODk5ODQsLTAuMDI5Mzk1MDQ3NTc1MjM1MzY3LC0wLjEwMTI3MDM3NzYzNTk1NTgxLC0wLjAxNDI0ODMxMzM4MjI2Nzk1MiwtMC4wMjAwNDUxNzA1NjA0NzkxNjQsLTAuMDE1MzYyNzM3NzAwMzQzMTMyLC0wLjAwODY4ODQ1NjM3ODg3NzE2MywtMC4wMjkwMDYzMDc5NDQ2NTU0Miw... |
936 | ecurity True hashlib sha3_512 data usedforsecurity True Named constructors such as these are faster than passing an algorithm name to new Attributes Hashlib provides the following constant module attributes hashlib algorithms_guaranteed A set containing the names of the hash algorithms guaranteed to be supported by thi... | en | "Wy0wLjA1NDEyMDY4MjE3OTkyNzgyNiwwLjAzMDQ5Mjg4NTAzODI1NjY0NSwtMC4wNjkxNTI0MzcxNTA0NzgzNiwtMC4wMzIwMjQyNDE5ODM4OTA1MywwLjA4NzM5Mzg3MjQzOTg2MTMsLTAuMTIzMTEzNDUzMzg4MjE0MTEsLTAuMDM1MjQyMTU1MTk0MjgyNTMsLTAuMDMyODA2NzA5NDA4NzYwMDcsMC4wMjM3OTE0NTEwMDcxMjc3NjIsLTAuMDc0MDI3MTUwODY5MzY5NSwwLjAyMjkxMTIxMTQ3NTcyOTk0MiwwLjAyODYzNjQ... |
937 | b somedata digestmod hashlib sha512 mac1 digest mac2 digest True New in version 3 11 Key derivation Key derivation and key stretching algorithms are designed for secure password hashing Naive algorithms such as sha1 password are not resistant against brute force attacks A good password hashing function must be tunable ... | en | "Wy0wLjA0MTIxNTE5NjI1MTg2OTIsLTAuMDA0ODY2MTkxNjUxNjcyMTI1LC0wLjA3MzMyODA1NTQ0MTM3OTU1LC0wLjEzMjM1ODY1NTMzMzUxODk4LC0wLjAxMjQ1MTM3Mzk3MTk5ODY5MiwtMC4wNzA2ODY1NDg5NDgyODc5NiwwLjA1NDA0NDM5MTk1OTkwNTYyNCwwLjAxMDM1MzY1ODM0ODMyMTkxNSwwLjAwODA3NDUwMjQ2MDY1ODU1LC0wLjAzMjUyMTY4MzcyMjczNDQ1LC0wLjAyOTY2NzkyNjk1MjI0Mjg1LDAuMDIzMDI... |
938 | ter is less than specified it is padded with zeros thus for example b salt and b salt x00 is the same value This is not the case for key These sizes are available as module constants described below Constructor functions also accept the following tree hashing parameters fanout fanout 0 to 255 0 if unlimited 1 in sequen... | en | "WzAuMDQxNjczMTY4NTQwMDAwOTE2LDAuMDM1NjY4NDY2MjQwMTY3NjIsLTAuMDE5Mjk2ODQzNTU4NTQ5ODgsLTAuMDM1OTUzNjkzMDkxODY5MzU0LDAuMDQ3NzAyODcxMjYzMDI3MTksLTAuMDIyNDg2NDc0MzY0OTk1OTU2LDAuMDAzMzgzMjMyMDQ3NzgxMzQ4MiwwLjAxNjExODY4NjY0NjIyMzA2OCwtMC4wMjEwOTYwMzAyNTAxOTE2OSwtMC4wMDQ2NTYyMjU0NDI4ODYzNTI1LDAuMDE3OTA1NzM0NDc5NDI3MzM4LC0wLjA... |
939 | with from hashlib import blake2b from hmac import compare_digest SECRET_KEY b pseudorandomly generated server secret key AUTH_SIZE 16 def sign cookie h blake2b digest_size AUTH_SIZE key SECRET_KEY h update cookie return h hexdigest encode utf 8 def verify cookie sig good_sig sign cookie return compare_digest good_sig s... | en | "WzAuMDU4MTgyNDI1Nzk2OTg1NjI2LC0wLjAyNDY5ODQ1MTE2MTM4NDU4MywtMC4xMDM4MjU1MjQ0NDkzNDg0NSwtMC4wNjg1NDM5OTI5MzY2MTExOCwtMC4wMTk0NjQzMjcwMjI0MzMyOCwtMC4wODc5NDc5MTk5NjQ3OTAzNCwwLjA2NDU2MjU2NjU3ODM4ODIxLC0wLjA1MzY2NTUzNzM4NzEzMjY0NSwtMC4wMjE0MjA3MDYwNjM1MDg5ODcsLTAuMDAyNTY2MDgxNzA0NTcxODQzLDAuMDQ2MDk4NjU2OTUyMzgxMTM0LDAuMDA... |
940 | 44e7878bfb2c4c9aea52264a80b75005e65619778de59f383a3 Personalization together with the keyed mode can also be used to derive different keys from a single one from hashlib import blake2s from base64 import b64decode b64encode orig_key b64decode b Rm5EPJai72qcK3RGBpW3vPNfZy5OZothY kHY6h21KM enc_key blake2s key orig_key pe... | en | "WzAuMDQ3NjQ2NzkwNzQyODc0MTQ2LDAuMDQzNDgxMjAwOTMzNDU2NDIsLTAuMDEyNzYxNjc5NDc3OTg5Njc0LC0wLjAyNjg5NjQ1ODExOTE1Mzk3NiwwLjA4MjA3NjE3NzAwMDk5OTQ1LC0wLjA3Njg3MjY1NDI1OTIwNDg2LDAuMDMwNTU3MzgyODUxODM5MDY2LDAuMDMxNjY3MDU3NDI0NzgzNzEsLTAuMDMxNTI3OTMyNzMzMjk3MzUsMC4wMTM5MjcyNDA4NTU5OTE4NCwwLjA2ODg3OTYyNjY5MTM0MTQsLTAuMDE3Nzk3NjE... |
941 | Type Objects type PyTypeObject Part of the Limited API as an opaque struct The C structure of the objects used to describe built in types PyTypeObject PyType_Type Part of the Stable ABI This is the type object for type objects it is the same object as type in the Python layer int PyType_Check PyObject o Return non zero... | en | "Wy0wLjAwNzg1MDk0NDk5NTg4MDEyNywtMC4wMTE1NTcwMTAwMDI0MzQyNTQsLTAuMDMyNDY4NjIwNjg3NzIzMTYsMC4wMjI4NDczMzIwNjAzMzcwNjcsMC4wNTUxMTM3NjYzNDI0MDE1MDUsLTAuMDkwNzI4Njg1MjU5ODE5MDMsMC4wNTM4ODA3MjUwNTU5MzMsLTAuMDA5MTE2MjUwMDkwMzAxMDM3LC0wLjAyNTA5MDA1OTI2NTQ5NDM0NywtMC4wNDM4NTQ5NjMwMzQzOTE0LC0wLjAyMzEzNDI0NDYwNTg5ODg1NywwLjAwODY... |
942 | ence Part of the Stable ABI Generic handler for the tp_alloc slot of a type object Use Python s default memory allocation mechanism to allocate a new instance and initialize all its contents to NULL PyObject PyType_GenericNew PyTypeObject type PyObject args PyObject kwds Return value New reference Part of the Stable AB... | en | "Wy0wLjA3Mjc1NDA1NTI2MTYxMTk0LC0wLjA0NzAwNDE4MTg5MTY3OTc2NCwtMC4wMjYwMzEzODA1MTkyNzA4OTcsMC4wMTMyMDUyMTcxOTc1Mzc0MjIsLTAuMDg4NjYyNzI4NjY3MjU5MjIsLTAuMDQ1Mjk1NDY5NDYyODcxNTUsMC4wNjY5NDAyMTA3NTk2Mzk3NCwwLjAxODgyMTk2MjE3Nzc1MzQ1LC0wLjA2MzI2NjU5NzY4ODE5ODA5LC0wLjAwODI3MTIxNjQxNDg2ODgzMiwwLjAwMDk0MDU2MzkxMzkwMDQwNTIsMC4wNDE... |
943 | nd structs are used to create heap types PyObject PyType_FromMetaclass PyTypeObject metaclass PyObject module PyType_Spec spec PyObject bases Part of the Stable ABI since version 3 12 Create and return a heap type from the spec see Py_TPFLAGS_HEAPTYPE The metaclass metaclass is used to construct the resulting type obje... | en | "Wy0wLjA1NTY3MTgxNDgyOTExMTEsLTAuMDM1MjY4NTQxNDI1NDY2NTQsLTAuMDM1MTk5NDcwODE4MDQyNzU1LC0wLjAxNjUzNzU5MzY3NzYzOTk2LC0wLjAzMTc5MjQ0Njk3MDkzOTYzNiwtMC4wNDc3NTkzNTc4Mzk4MjI3NywwLjAxMjI2NzczODU4MDcwMzczNSwwLjAyNTgxNjc3MDI3MDQ2NjgwNSwtMC4wNTU4NzIzNTgzODE3NDgyLC0wLjA3MDY3MzE2NzcwNTUzNTg5LC0wLjAwNjcxNjYxMTMyOTQ2NjEwNDUsMC4wMjI... |
944 | er to subclass specific memory reserved this way Changed in version 3 12 Previously this field could not be negative int itemsize Size of one element of a variable size type in bytes Used to set PyTypeObject tp_itemsize See tp_itemsize documentation for caveats If zero tp_itemsize is inherited Extending arbitrary varia... | en | "WzAuMDExMjk2MzcwOTk4MDI0OTQsMC4wNDcxOTMyMDY4NDY3MTQwMiwtMC4wNzE1Njc2NzY5NjE0MjE5NywwLjAxNzk0MDc0NjYyMDI5NzQzMiwtMC4wMjY2MzA3MDg5NDc3Nzc3NDgsLTAuMDI1ODUzODYxMTIzMzIzNDQsMC4wNjkyMzU2ODI0ODc0ODc3OSwwLjA2NTIzOTI0MzIwOTM2MjAzLC0wLjA4NjM4MTY3MzgxMjg2NjIxLC0wLjAzMDI5MjM0ODkzNjIwMDE0MiwtMC4wMTM2NTYxODMxNDU5NDAzMDQsMC4wMTkxMDY... |
945 | queue A synchronized queue class Source code Lib queue py The queue module implements multi producer multi consumer queues It is especially useful in threaded programming when information must be exchanged safely between multiple threads The Queue class in this module implements all the required locking semantics The m... | en | "Wy0wLjExNjE3NjAwMTcyNzU4MTAyLC0wLjA2MDgxNTc1MTU1MjU4MTc5LC0wLjA2Mzk0ODEzMjA5NzcyMTEsLTAuMDYyMjEzMDM3MTYzMDE5MTgsLTAuMDUzMTQ2NjIzMDc1MDA4MzksLTAuMDI4MjExNjY0NDA4NDQ1MzYsMC4wNTE2NDM4NjcwNDU2NDA5NDUsLTAuMDc4OTY2NzgxNDk3MDAxNjUsMC4wMTc1NzIxMDEyMDU1ODczODcsMC4wMTkyNjMwNjI2MjYxMjM0MywwLjAxNzc3OTM2NTE4MTkyMjkxMywwLjA4NDYxODA... |
946 | s available within that time Otherwise block is false put an item on the queue if a free slot is immediately available else raise the Full exception timeout is ignored in that case Queue put_nowait item Equivalent to put item block False Queue get block True timeout None Remove and return an item from the queue If opti... | en | "Wy0wLjA3NzU5OTYyMjMwOTIwNzkyLDAuMDExMjAyODg5NDk0NTk3OTEyLC0wLjA1NzE4NTUyMzIxMTk1NjAyNCwwLjAxOTg5ODUxNTE5NDY1NDQ2NSwtMC4wMDM3MDU5MjA4ODQzODU3MDUsMC4wMjc1OTM5MjAwMDczNDgwNiwwLjA3MjA5NDY0MTYyNTg4MTIsLTAuMDQyMjM5ODQ4NTI0MzMyMDQ3LDAuMDg4ODQ0NzkxMDU0NzI1NjUsMC4wMjA5Njk5MjU0NDgyOTg0NTQsMC4wNzU2MTI2MDQ2MTgwNzI1MSwwLjAwODg5MzY... |
947 | deque is an alternative implementation of unbounded queues with fast atomic append and popleft operations that do not require locking and also support indexing | en | "Wy0wLjExMTM0Njc0NDAwMDkxMTcxLC0wLjAxMjYwMTE4ODM4Mzk5NjQ4NywtMC4wMDg3MjE0OTEzMjE5MjEzNDksLTAuMDA4NDc0ODI1ODgxNDIxNTY2LC0wLjAyNzgwODEyNzkyNDc5OTkyLC0wLjEwMTkyNDQ2NDEwNjU1OTc1LDAuMDU3OTg2NzAyNzY5OTk0NzM2LC0wLjA2ODMyMTk0MzI4MzA4MTA1LDAuMDU5MzM1MDcxNTkzNTIzMDI2LDAuMDQwMjYyODE0NjExMTk2NTIsMC4wNDE4MzYzNDM3MDU2NTQxNDQsMC4wNjQ... |
948 | 3 Data model 3 1 Objects values and types Objects are Python s abstraction for data All data in a Python program is represented by objects or by relations between objects In a sense and in conformance to Von Neumann s model of a stored program computer code is also represented by objects Every object has an identity a ... | en | "Wy0wLjA0NzU1MTUyNzYxOTM2MTg4LC0wLjAwMTE4OTY2ODY2Mjg0NjA4ODQsLTAuMDk1NTQwMTI4NjQ4MjgxMSwwLjAxOTI1ODk3Nzg0NTMxMTE2NSwtMC4wMzk2Njk2NTg5ODg3MTQyMiwtMC4wNjM2NTY5NTU5NTc0MTI3MiwwLjAzOTgxNTg1MDU1NTg5Njc2LDAuMDIxMTIwNTIwMzA4NjEzNzc3LDAuMDUzOTEzNTE1MDYxMTQwMDYsLTAuMDMwMTA5OTQxOTU5MzgxMTA0LC0wLjAzMDkzOTg0MTY0Mjk3NTgwNywtMC4wMDQ... |
949 | e same object with the value one depending on the implementation but after c d c and d are guaranteed to refer to two different unique newly created empty lists Note that c d assigns the same object to both c and d 3 2 The standard type hierarchy Below is a list of the types that are built into Python Extension modules... | en | "Wy0wLjA3Mzc0MTI2NDY0MTI4NDk0LDAuMDQxODI3NzY4MDg3Mzg3MDg1LC0wLjA0NzYwNzM2MjI3MDM1NTIyNSwwLjAyNjUzMzY4Mzc2MTk1NDMwOCwtMC4wNTM3NzE4MTk5MTkzNDc3NiwtMC4xMDgzNzMwMzg0NzA3NDUwOSwwLjAwNTEzODk0MTU3NDg0MTczOCwwLjAzMTcxNzE0MDIyNzU1NjIzLDAuMDUwNjQxOTIwNDE3NTQ3MjI2LC0wLjA0NTQ1NzcwOTU4MDY1OTg2NiwtMC4wMzQxODkyNjUyMjEzNTczNDYsLTAuMDQ... |
950 | You are at the mercy of the underlying machine architecture and C or Java implementation for the accepted range and handling of overflow Python does not support single precision floating point numbers the savings in processor and memory usage that are usually the reason for using these are dwarfed by the overhead of us... | en | "Wy0wLjA5MjkxMjU2MjE5MTQ4NjM2LDAuMDQ5NTI1Mjg3MDAyMzI1MDYsLTAuMDMxNjY1MDU2OTQzODkzNDMsLTAuMDA2NTMxOTM3NTEzNTAwNDUyLC0wLjA3MjM0ODIyMjEzNjQ5NzUsLTAuMTM0MjIyMDAwODM3MzI2MDUsLTAuMDIzNTI1NDc4MzE4MzMzNjI2LDAuMDM5NDA0MjM1NzgwMjM5MTA1LDAuMDI1NzU5MDk1MzI2MDY2MDE3LC0wLjAzNTEwNTEzMTU2NjUyNDUwNiwtMC4wMTc1MTE5Mjg0NTQwNDE0OCwtMC4wMzI... |
951 | mbership testing removing duplicates from a sequence and computing mathematical operations such as intersection union difference and symmetric difference For set elements the same immutability rules apply as for dictionary keys Note that numeric types obey the normal rules for numeric comparison if two numbers compare ... | en | "Wy0wLjA2MzIwNTEzNzg0ODg1NDA2LC0wLjAyNDA3MTU1OTMwOTk1OTQxLC0wLjAxMDAwMzg5ODI5Mjc3OTkyMiwtMC4wNjYyNzI0ODk3MjY1NDM0MywtMC4wODc1MDQyODI1OTM3MjcxMSwtMC4wODAyMTY5NDQyMTc2ODE4OCwwLjA1ODE2NzUyMDkxMDUwMTQ4LC0wLjA1NzkzMjkwNTg1Mjc5NDY1LDAuMDEwMTc0MDU5MzA5MDY1MzQyLC0wLjAwNDI5Mjg5MzY4OTEyNTc3NiwtMC4wMTA3Mzg5MTExMDcxODI1MDMsLTAuMDI... |
952 | ions__ A dictionary containing annotations of parameters The keys of the dictionary are the parameter names and return for the return annotation if provided See also Annotations Best Practices function __kwdefaults__ A dictionary containing defaults for keyword only parameters function __type_params__ A tuple containin... | en | "Wy0wLjA2OTA0MTg3MDUzNDQyMDAxLDAuMDQyOTk5MDAzMDgyNTEzODEsLTAuMDc1ODM4NDc2NDE5NDQ4ODUsMC4wMTg0ODI3Njg5MDgxNDMwNDQsLTAuMDc1MTk5MTk0MjUyNDkxLC0wLjAzNDQ0MDU4ODIwNjA1Mjc4LDAuMDY5NTMzMjU4Njc2NTI4OTMsMC4wMzYzODk5OTUzNjYzMzQ5MTUsLTAuMDY4NDg5MTQxNzYyMjU2NjIsLTAuMDE0NTQzNjU5OTg1MDY1NDYsMC4wNDE0ODM5ODMzOTc0ODM4MjYsLTAuMDQyNjMzMDU... |
953 | n or method which is defined using async def is called a coroutine function Such a function when called returns a coroutine object It may contain await expressions as well as async with and async for statements See also the Coroutine Objects section 3 2 8 5 Asynchronous generator functions A function or method which is... | en | "Wy0wLjE0NDM4NzYxNzcwNzI1MjUsMC4wMjIyNzQxOTA1NTk5ODMyNTMsLTAuMTEwNTU5NjcyMTE3MjMzMjgsMC4wOTUzMzkzNTc4NTI5MzU3OSwtMC4wMjU4NTgzNzA1ODcyMjk3MywtMC4wMDQzNjE1Mjg0Mzc1ODQ2MzksMC4wMDg4MDE3NjIwMTQ2Mjc0NTcsMC4wNDEyODcwMzEwMjQ2OTQ0NCwwLjA1MDY3NjE2MzI4NTk3MDY5LC0wLjAzNjA5MTQ4Nzg1NDcxOTE2LDAuMDMzNDY1ODIxMjk1OTc2NjQsLTAuMDMyODE4MjM... |
954 | e using its dictionary directly 3 2 10 Custom classes Custom class types are typically created by class definitions see section Class definitions A class has a namespace implemented by a dictionary object Class attribute references are translated to lookups in this dictionary e g C x is translated to C __dict__ x altho... | en | "Wy0wLjEwNjMxMzU0ODk4MjE0MzQsMC4wMTgwMTExMTE3NjYwOTk5MywtMC4wNDM0OTU3MTA5MzkxNjg5MywwLjAyNDUzNzQwMzEzNjQ5MTc3NiwtMC4wMzE3NzM0NTE3MTU3MDc3OCwtMC4wODQ3MDcyMzAzMjk1MTM1NSwtMC4wMTM0Nzc0Mjk3NDc1ODE0ODIsMC4wMDkwMjY2NzgyNzkwNDIyNDQsLTAuMDc1NjM3MTY5MTgyMzAwNTcsLTAuMDIxNjQ5MTA1NDc0MzUyODM3LDAuMDA3NDQxNTczMzEwNjQzNDM0NSwwLjAxNzE... |
955 | ons may change with future versions of the interpreter but they are mentioned here for completeness 3 2 13 1 Code objects Code objects represent byte compiled executable Python code or bytecode The difference between a code object and a function object is that the function object contains an explicit reference to the f... | en | "Wy0wLjA3MTQ3MzgzNjg5ODgwMzcxLC0wLjAzMzM1MjM0NTIyODE5NTE5LC0wLjExNTIyMjUyMTEyNjI3MDMsLTAuMDEwMzAyMjQ3NDc5NTU3OTkxLC0wLjA3ODA2ODEyOTcxODMwMzY4LC0wLjA1NzA2NTgyMjE4NDA4NTg0NiwwLjA0NDcwNzkyNzg1Mjg2OTAzNCwwLjA0NTc0Njk1OTc0NTg4Mzk0LC0wLjAwMTAxMjkyMDI4NTU3NTA5MTgsLTAuMDQ3NzY5NzgxMjAyMDc3ODY2LDAuMDAzMzU1ODA1NzYyMTEyMTQwNywtMC4... |
956 | t can t be represented due to implementation specific limitations When this occurs some or all of the tuple elements can be None New in version 3 11 Note This feature requires storing column positions in code objects which may result in a small increase of disk usage of compiled Python files or interpreter memory usage... | en | "Wy0wLjA2NjU3NzU2MTE5OTY2NTA3LDAuMDE0NDEyMDQ4MjcyNzg4NTI1LC0wLjA4OTMwNjk1MDU2OTE1MjgzLC0wLjA4OTg0MzUxOTAzMjAwMTUsLTAuMDI2NTgzNTA5NTE5Njk2MjM2LC0wLjAzMDIxMzM5NTEzMzYxNDU0LC0wLjAzODI5MTc0NDg4NzgyODgzLDAuMDA5NTU3MzQzMDg4MDkwNDIsLTAuMDU0MDgzMzM2MTQ0Njg1NzQ1LC0wLjAxNDc0ODEwNDg0Nzk2NzYyNSwwLjAwOTkxODQ3NTUyMzU5MTA0MiwwLjAyNDE... |
957 | tantiated from Python code For implicitly created tracebacks when the search for an exception handler unwinds the execution stack at each unwound level a traceback object is inserted in front of the current traceback When an exception handler is entered the stack trace is made available to the program See section The t... | en | "Wy0wLjAzMzE4NTI5OTQ4NTkyMTg2LC0wLjA0MDA5NDU4NDIyNjYwODI3NiwtMC4wNDE3ODAxMDY3MjMzMDg1NiwwLjA3MTc2MjMzODI4MDY3NzgsMC4wNTE5NzA4OTUzNzk3ODE3MiwtMC4wMjU3Mjc2NTU3Mzg1OTIxNDgsMC4wMzE1MjMyMjM5NjYzNjAwOSwwLjA2Mzg2NzY2NTgyNzI3NDMyLC0wLjAwNzE5NTI4MTMzMDQ5NjA3MywtMC4wMDg3MTUxNTY0NjU3Njg4MTQsMC4wMDA4NzY4ODM1Njg3MDc4NTM2LDAuMDEzNDE... |
958 | raise a TypeError without falling back to __getitem__ 2 When implementing a class that emulates any built in type it is important that the emulation only be implemented to the degree that it makes sense for the object being modelled For example some sequences may work well with retrieval of individual elements but extr... | en | "Wy0wLjEwNjQzMTUyODkyNTg5NTY5LDAuMDAzODcwMTU2ODI2NDUxNDIxLDAuMDMwMDY4NzE2MDM0MjkzMTc1LDAuMDM4NDM1NjY0MDI3OTI5MzA2LC0wLjAwNjcxNDkyODg5NTIzNTA2MiwtMC4wNTg4ODU2OTM1NTAxMDk4NiwwLjA0MzUzNTIyODgxODY1NTAxNCwwLjA1NTg1NzMzNDI4NTk3NDUsLTAuMTA1MzEyMzQ3NDEyMTA5MzgsMC4wMTU0MDE4NDY3MjkyMTg5NiwtMC4wMDM1MTg1NjE1OTk3NzYxNDksLTAuMDY4MzI... |
959 | dlock as the resource may already be taken by the code that gets interrupted to execute __del__ __del__ can be executed during interpreter shutdown As a consequence the global variables it needs to access including other modules may already have been deleted or set to None Python guarantees that globals whose name begi... | en | "Wy0wLjEyMzI2OTU4Nzc1NTIwMzI1LC0wLjA0MzIxNzcyOTc3NzA5NzcsLTAuMDYxNTUxMzgwOTAyNTI4NzYsMC4wMjE0MzI3MjAxMjQ3MjE1MjcsLTAuMDMwMTExODQ5MzA4MDEzOTE2LC0wLjA2NTIxODkyNTQ3NjA3NDIyLDAuMDUwNTU1OTAzNDY0NTU1NzQsLTAuMDI0MDU0Nzk3MzY2MjYxNDgyLDAuMDAwOTUwMDI0OTI4ODk3NjE5MiwtMC4wNjM2MzE5NjY3MTAwOTA2NCwtMC4wMTQ5NzY0MzcyMDM1ODYxMDIsMC4wMDI... |
960 | e objects which support custom comparison operations and are usable as dictionary keys There are no swapped argument versions of these methods to be used when the left argument does not support the operation but the right argument does rather __lt__ and __gt__ are each other s reflection __le__ and __ge__ are each othe... | en | "Wy0wLjA0MzQ4MjYwMTY0MjYwODY0LDAuMDQ5NjI3MTM2NDM5MDg1MDEsMC4wMzA1MTAxOTA4NzQzMzgxNSwtMC4wNTI1MTMxODk2MTM4MTkxMiwtMC4wNTMxMjA1Mjc0MTY0Njc2NywtMC4wNDUzNDg4NDU0MjIyNjc5MTQsLTAuMDAzMjkzMDkzMDYxMDc0NjE0NSwwLjAxOTk0NTIwMDUzMjY3NDc5LC0wLjAzMzY1MzA2OTI4NzUzODUzLDAuMDE3NzI3NDY2MzAwMTI5ODksLTAuMDEzMjE1OTIwODg3ODg3NDc4LDAuMDMwOTc... |
961 | is not defined __len__ is called if it is defined and the object is considered true if its result is nonzero If a class defines neither __len__ nor __bool__ all its instances are considered true 3 3 2 Customizing attribute access The following methods can be defined to customize the meaning of attribute access use of a... | en | "Wy0wLjAzODQxMDU0ODEyMDczNzA3NiwwLjA5MTU4NjUwNzg1Njg0NTg2LC0wLjAzMzk1NzE5MDgxMTYzNDA2NCwwLjA3MDIwNTc1NTUzMTc4Nzg3LC0wLjA1MDIzMjcwNDcyODg0MTc4LC0wLjA0Njk2MjE4Mjk2ODg1NDkwNCwwLjA0ODM4NjA2NzE1MjAyMzMxNSwtMC4wMzUxNDE2ODc4NDAyMjMzMSwtMC4wMDk3NzI0Nzc2NzE1MDQwMiwwLjAwMTU2MTExMDI1NzE3MTA5NDQsMC4wNzM3OTAzODYzMTkxNjA0NiwtMC4wMjM... |
962 | xample import sys from types import ModuleType class VerboseModule ModuleType def __repr__ self return f Verbose self __name__ def __setattr__ self attr value print f Setting attr super __setattr__ attr value sys modules __name__ __class__ VerboseModule Note Defining module __getattr__ and setting module __class__ only... | en | "Wy0wLjA1MTQ3ODQ5MDIzMzQyMTMyNiwtMC4wMTA3ODI2NDc4Nzc5MzE1OTUsLTAuMDczODY5MjQzMjY0MTk4MywwLjAwNDU4MDcwNjgyMzYxNzIyLC0wLjAxNDcwMDIwOTcyMTkyMjg3NCwtMC4wNTk5NzMxMDU3ODgyMzA4OTYsMC4wNTAxNjg3MTkxNDI2NzU0LDAuMDQ0NDAxMjg4MDMyNTMxNzQsLTAuMTI1Njk2MzAxNDYwMjY2MSwtMC4wNDczMDUwNTQ5NjI2MzUwNCwwLjA3NDIwNzcyMzE0MDcxNjU1LDAuMDIxMjAyMTQ... |
963 | Super Binding A dotted lookup such as super A a x searches a __class__ __mro__ for a base class B following A and then returns B __dict__ x __get__ a A If not a descriptor x is returned unchanged For instance bindings the precedence of descriptor invocation depends on which descriptor methods are defined A descriptor ... | en | "Wy0wLjA4MzM0MDA4NjA0Mjg4MTAxLDAuMDA0NDA0MTE4NzUwMjQ0Mzc5LC0wLjAwNjMxMjI2NjQ1NzgyNTg5OSwtMC4wNDI4NDM4NTIxOTIxNjM0NywtMC4wMjY4MTk3NDMyMTYwMzc3NSwtMC4wNDM1NjkxMjE1MDk3OTA0MiwwLjAyOTAzNTUyMzUzMzgyMTEwNiwtMC4wNTcxMzU5OTU0Nzc0Mzc5NywtMC4wMzc0OTE3Njg1OTg1NTY1MiwtMC4wNDg5MDQ4NDM2Mjg0MDY1MjUsMC4wNDE3NzE4ODEyODIzMjk1NiwwLjAzMzk... |
964 | sed but only one parent is allowed to have attributes created by slots the other bases must have empty slot layouts violations raise TypeError If an iterator is used for __slots__ then a descriptor is created for each of the iterator s values However the __slots__ attribute will be an empty iterator 3 3 3 Customizing c... | en | "Wy0wLjExNzgwNjEwNjgwNTgwMTM5LDAuMDE1NDUyMDg2OTI1NTA2NTkyLDAuMDQ5Mjk2OTA4MDgwNTc3ODUsLTAuMDE5ODg2NDY3NjA1ODI5MjQsLTAuMDQxMTI1OTc5Mjc0NTExMzQsLTAuMDk1NDE2MzgxOTU1MTQ2NzksLTAuMDI3NjAyODI3MTc2NDUxNjgzLC0wLjA0MDkzODc1MzYzNDY5MTI0LC0wLjAzMjk4NzAyODM2MDM2NjgyLC0wLjAwNjQxMTg2Njc1MDU2ODE1MTUsMC4wMTkyNTUwMTIyNzM3ODg0NTIsLTAuMDE... |
965 | metaclass The appropriate metaclass for a class definition is determined as follows if no bases and no explicit metaclass are given then type is used if an explicit metaclass is given and it is not an instance of type then it is used directly as the metaclass if an instance of type is given as the explicit metaclass o... | en | "Wy0wLjAxMzI0ODc3Nzk0ODMxOTkxMiwtMC4wMzYxMTc0NDE5NTIyMjg1NDYsMC4wNDE3OTEzODY5MDIzMzIzMDYsMC4wMTUyMDYyNTAzNjIwOTgyMTcsMC4wMTI1MTUwNjk5MTY4NDQzNjgsLTAuMDcxNzM3MzQxNTgyNzc1MTIsMC4wMTU2MDEyOTQxMTUxODU3MzgsMC4wMjU5OTYyNDE3MTg1MzA2NTUsLTAuMDQ1MTcwNjIzODA5MDk5MiwwLjAxODA4Nzc4MzgyODM3NzcyNCwtMC4wNTI2NjE0ODU5NzAwMjAyOTQsLTAuMDY... |
966 | ct__ attribute of the class object See also PEP 3135 New super Describes the implicit __class__ closure reference 3 3 3 7 Uses for metaclasses The potential uses for metaclasses are boundless Some ideas that have been explored include enum logging interface checking automatic delegation automatic property creation prox... | en | "Wy0wLjEwMDAwNDY5NTM1NTg5MjE4LDAuMDExNDQ2MjU3MTIxODYwOTgxLC0wLjAyMDE0OTg1ODY2ODQ0NjU0LC0wLjAxNDI3NDk3MDYyODMyMTE3LC0wLjAwMTM4MTU0Mjg4Mjg4MjA1ODYsLTAuMDM1NzQ4NzMxMzQ0OTM4MjgsMC4wNjMzNTM3MjQ3Nzc2OTg1MiwtMC4wMDUyMTUzMTg0MDc4NjMzNzg1LC0wLjA2NTg5MDQzMTQwNDExMzc3LDAuMDEwNjkwNDgwNDcwNjU3MzQ5LC0wLjAzOTQwNjM5NjQ0ODYxMjIxLC0wLjA... |
967 | the class of obj defines __getitem__ call class_of_obj __getitem__ obj x if hasattr class_of_obj __getitem__ return class_of_obj __getitem__ obj x Else if obj is a class and defines __class_getitem__ call obj __class_getitem__ x elif isclass obj and hasattr obj __class_getitem__ return obj __class_getitem__ x Else rais... | en | "Wy0wLjA5NTgwMTkwNDc5NzU1NDAyLDAuMDIyODE3Njk3Mzc2MDEyODAyLDAuMDE4Nzc0NTIwNjA1ODAyNTM2LDAuMDI1Mjk5ODY5NDc3NzQ4ODcsMC4wMzMwOTk2NTg3ODcyNTA1MiwtMC4xMDc2NTY5MTEwMTU1MTA1NiwwLjA5NDY5NDg2NzczMDE0MDY5LDAuMDY5OTY1OTI4NzkyOTUzNDksLTAuMTI0ODAzMTYzMTExMjA5ODcsLTAuMDM4NzEzNjM3NzM5NDE5OTQsLTAuMDM1NzA1ODQ5NTI4MzEyNjgsMC4wMTM0NjI2Njg... |
968 | testing an object must define a __bool__ method object __length_hint__ self Called to implement operator length_hint Should return an estimated length for the object which may be greater or less than the actual length The length must be an integer 0 The return value may also be NotImplemented which is treated the same ... | en | "Wy0wLjA1NTUzNjAzOTE3MzYwMzA2LDAuMDcxOTk1Nzg3MzIyNTIxMjEsMC4wMDIwMzczMTA5NzI4MDk3OTE2LC0wLjAxNDkyMDc0MzE4MjMwMTUyMSwtMC4wNTY5OTE5NDIyMjY4ODY3NSwtMC4wODI4NjQwODMzNDk3MDQ3NCwtMC4wMTUyNDM4Nzg1ODgwODA0MDYsMC4wNDM1NDU2MzcyNzk3NDg5MiwtMC4wODM5ODY3OTY0Mzg2OTQsMC4wMTI4NzM1Njk1MDM0MjY1NTIsMC4wNzU0NjkzMjI1MDI2MTMwNywtMC4wNzk2MzE... |
969 | her object __matmul__ self other object __truediv__ self other object __floordiv__ self other object __mod__ self other object __divmod__ self other object __pow__ self other modulo object __lshift__ self other object __rshift__ self other object __and__ self other object __xor__ self other object __or__ self other The... | en | "Wy0wLjA4NDU0NTA1MzU0MTY2MDMxLDAuMDE2NjAxNDkzNTgyMTI5NDgsLTAuMDkwNTAwNzU3MDk4MTk3OTQsMC4wMDgwOTc1NjI5Mzg5Mjg2MDQsLTAuMDM2ODQ3OTE1NTAwNDAyNDUsLTAuMTA2MTI5ODc3MjY5MjY4MDQsMC4wMjI0NjEzOTc1NzMzNTE4NiwwLjAzNzQyMDA5MDI4NzkyMzgxLC0wLjA1NTg2OTMxODU0NDg2NDY1NSwwLjA0MTMwMTYzNDE2MjY2NDQxLDAuMDM3NDIzMTAwMzIyNDg0OTcsLTAuMDU3MzEwODY... |
970 | ndex__ object __round__ self ndigits object __trunc__ self object __floor__ self object __ceil__ self Called to implement the built in function round and math functions trunc floor and ceil Unless ndigits is passed to __round__ all these methods should return the value of the object truncated to an Integral typically a... | en | "Wy0wLjA0NTYxNjgyMDQ1NDU5NzQ3LDAuMDE5NTMyMjI0MTYzNDEzMDQ4LC0wLjA4NDM5MTA1NzQ5MTMwMjQ5LDAuMDI5NjA3MjI4OTM0NzY0ODYyLC0wLjA1MTI1MjIwMTE5OTUzMTU1NSwtMC4xMDI2NTY0MjQwNDU1NjI3NCwwLjEyNTcxMDIzNDA0NTk4MjM2LDAuMTA0MjYxNjgxNDM3NDkyMzcsLTAuMDI0NDk1ODEwMjcwMzA5NDQ4LC0wLjAxMzc4NTU1NzgyMTM5MzAxMywwLjAwMTk3MzM1NDk1NjEzNTE1MzgsLTAuMDc... |
971 | rces associated with the buffer This method should return None Buffer objects that do not need to perform any cleanup are not required to implement this method New in version 3 12 See also PEP 688 Making the buffer protocol accessible in Python Introduces the Python __buffer__ and __release_buffer__ methods collections... | en | "Wy0wLjAzODgzODI4MjIyNzUxNjE3NCwwLjAyOTAyOTU2ODY1NzI3OTAxNSwtMC4wNjIwMzMwODMyODk4NjE2OCwtMC4wMjU0ODI0MjU0NjYxNzk4NDgsLTAuMDMwMDMwMzYwNDQ1MzgwMjEsLTAuMDUwMDYzNjE3NTI3NDg0ODk0LDAuMDE0MDc5MjgyOTkxNTg4MTE2LDAuMDY4NDQ1NjY3NjI0NDczNTcsMC4wMTUxNzk3NzQ3MjM5NDcwNDgsLTAuMDMxNzY2MTI0MDY5NjkwNzA0LC0wLjAxNjYwMTIyOTA4NjUxODI4OCwwLjA... |
972 | quivalent to advancing the iterator returned by __await__ If value is not None this method delegates to the send method of the iterator that caused the coroutine to suspend The result return value StopIteration or other exception is the same as when iterating over the __await__ return value described above coroutine th... | en | "Wy0wLjAzNzI3MTc1Mjk1MzUyOTM2LDAuMDM4ODkzMjIyODA4ODM3ODksLTAuMDI2NDA4NTcxNzQ5OTI1NjEzLDAuMDE2ODIwMjY4NzA1NDg3MjUsMC4wNDU5ODE4MDIwNDYyOTg5OCwtMC4wMjc1NTAwNzMzNDA1MzUxNjQsMC4wMDIwOTU0NTY3MDA3NzIwNDcsMC4wNTE4MzE4MzAyOTI5NDAxNCwtMC4wMTM2MTg0NjA4NTYzNzgwNzgsLTAuMDMzODMzMzYyMTYyMTEzMTksMC4wNTIxMDAwMTM5NDE1MjY0MSwwLjAxNDYzOTI... |
973 | Internet Data Handling This chapter describes modules which support handling data formats commonly used on the internet email An email and MIME handling package email message Representing an email message email parser Parsing email messages FeedParser API Parser API Additional notes email generator Generating MIME docu... | en | "Wy0wLjA1MDg1OTcxNTc4OTU1NjUsLTAuMDI1NDY4NTA5NjQ0MjY5OTQzLDAuMDE5ODA2MjMyMzAzMzgwOTY2LDAuMDA2MzQ2OTE2Nzc5ODc1NzU1LC0wLjAwMDExMjM4NzM3MzUxOTU5NTcxLC0wLjA3MTg2MDIzODkwOTcyMTM3LDAuMDIzMzE2MTMzNzY3MzY2NDEsMC4wMDgyMTIzMTU4NDk5NTk4NSwtMC4wNzEyNDAwMTUzMjc5MzA0NSwtMC4wMDI0NzE2ODE2ODQyNTU2LC0wLjAxMDg4MTQwNTMyMzc0MzgyLC0wLjAyMjM... |
974 | pickletools Tools for pickle developers Source code Lib pickletools py This module contains various constants relating to the intimate details of the pickle module some lengthy comments about the implementation and a few useful functions for analyzing pickled data The contents of this module are useful for Python core ... | en | "Wy0wLjExNjU5NTE0OTA0MDIyMjE3LC0wLjAwNzcwOTEwNDEwMjEwNDkwMiwtMC4wNjY5ODQzMDMyOTU2MTIzNCwwLjAxMDkzODcwMjE1MTE3OTMxNCwtMC4wMzE1NTQ4NDc5NTU3MDM3MzUsLTAuMTA5NDcxMTc5NTQ0OTI1NjksMC4wNTM0NTk5NDIzNDA4NTA4MywtMC4wMjg4NTMxNTU2NzI1NTAyLC0wLjAyNjU2Mzc2NTQ4MTExNDM4OCwtMC4wMTgzMDUxMDIzNjMyMjg3OTgsMC4wMDIxODgxMDAyNDY3MTI1NjU0LC0wLjA... |
975 | What s New In Python 3 12 Editor Adam Turner This article explains the new features in Python 3 12 compared to 3 11 Python 3 12 was released on October 2 2023 For full details see the changelog See also PEP 693 Python 3 12 Release Schedule Summary Release highlights Python 3 12 is the latest stable release of the Pytho... | en | "Wy0wLjA2OTc5OTI1MTg1NDQxOTcxLC0wLjAzNTU3OTQyNDM1MTQ1Mzc4LC0wLjAzOTgyMTUyNDE3MzAyMTMxNywtMC4wMjY4MTU3MDg3MjY2NDQ1MTYsMC4wMTMwODM4NTI4Mjc1NDg5OCwtMC4wNDc2NjI0ODE2NjU2MTEyNywtMC4wNjk4NzMzNTUzMjkwMzY3MSwwLjA3NTExNjA1MzIyMzYwOTkyLC0wLjA3MzM1NDE0NzM3NDYyOTk3LC0wLjAxMjIxMTE5MTQ2Nzk0MDgwNywtMC4wMjMwMzA4NzMzODgwNTE5ODcsMC4wOTk... |
976 | elf index int T def append self element T None In addition the PEP introduces a new way to declare type aliases using the type statement which creates an instance of TypeAliasType type Point tuple float float Type aliases can also be generic type Point T tuple T T The new syntax allows declaring TypeVarTuple and ParamS... | en | "Wy0wLjA1NzQ4NDg4MzgxNTA1MDEyNSwtMC4wMTIxNDc3OTcyNzE2MDkzMDYsLTAuMDIyODcwMzcxMTE4MTg3OTA0LDAuMDA2ODQ5NDMzNzYxMDkwMDQsLTAuMDIwNzQxMzczMzAwNTUyMzY4LDAuMDA5ODQ1Mzk1NTcyNDgzNTQsMC4xMjE3MTg2MzAxOTQ2NjQsMC4xMjA1NzQ2NTMxNDg2NTExMiwtMC4wMjQwMTE3ODE0MzkxODUxNDMsLTAuMDU1MzU4NjAzNTk2Njg3MzIsLTAuMDMwNTQ2MTEzODQ4Njg2MjE4LDAuMDI3NTY... |
977 | feature has been implemented by parsing f strings with the PEG parser now error messages for f strings are more precise and include the exact location of the error For example in Python 3 11 the following f string raises a SyntaxError my_string f x z y f 1 1 File stdin line 1 x z y SyntaxError f string invalid syntax ... | en | "Wy0wLjA3MjExODE0MDc1NzA4Mzg5LDAuMDAyMzE0OTc2ODgyMTg5NTEyMywtMC4wMTgyMjcwNTc1MzE0NzYwMiwtMC4wMTU2OTc1OTQ3MzIwNDYxMjcsLTAuMDM1OTg0MTI4NzEzNjA3NzksLTAuMDM4OTc5OTEwMzE0MDgzMSwwLjAyNTcyNzkzNTEzNTM2NDUzMiwwLjA3MzE0MTczMTMyMTgxMTY4LC0wLjA4MjY0MDIzODEwNjI1MDc2LC0wLjAxOTQyNzkzNDY2MTUwNzYwNywtMC4wMjIwNjE5OTgwMjQ1ODI4NjMsLTAuMDA... |
978 | d library are now potentially suggested as part of the error messages displayed by the interpreter when a NameError is raised to the top level Contributed by Pablo Galindo in gh 98254 sys version_info Traceback most recent call last File stdin line 1 in module NameError name sys is not defined Did you forget to import ... | en | "Wy0wLjA3NzUyODU1MTIyMDg5Mzg2LC0wLjA3Mjk0MjM3NjEzNjc3OTc5LC0wLjAwMjg3NzgyMDUxNjAwNTE1ODQsLTAuMDQ0NzQ1NjA5MTY0MjM3OTc2LDAuMDI4MzI2NDIzODM4NzM0NjI3LC0wLjA2ODk2ODEzOTU4ODgzMjg2LDAuMTA1MjgxODAwMDMxNjYxOTksMC4wNzU3MDY3NzI1MDYyMzcwMywtMC4wODk4MTczOTcyOTY0Mjg2OCwtMC4wMzI5MzkzNDQ2NDQ1NDY1MSwtMC4wMTA4NTI3OTIzMDAyODM5MDksLTAuMDE... |
979 | PEP 678 note Contributed by Irit Katriel in gh 77757 When a try except construct handles the entire ExceptionGroup and raises one other exception that exception is no longer wrapped in an ExceptionGroup Also changed in version 3 11 4 Contributed by Irit Katriel in gh 103590 The Garbage Collector now runs only on the e... | en | "Wy0wLjA5MzA5Nzk0NzUzNzg5OTAyLDAuMDYwNzc3OTAyNjAzMTQ5NDE0LC0wLjAzNjQ4ODgzODQ5MzgyNDAwNSwtMC4wMDI4MTIxOTY3MzM0MzAwMjgsLTAuMDQwMzg5OTc3Mzk1NTM0NTE1LC0wLjA4MjE3NTMzNjc3ODE2MzkxLDAuMDAzOTAwNjU3NDA3OTM5NDM0LDAuMDc2MDA4MDU5MDg0NDE1NDQsLTAuMDYzOTQyNjg1NzIzMzA0NzUsMC4wMDMzMDQyNDIxNTY0NDU5OCwwLjAyNTU5NDY4ODk1MTk2OTE0NywtMC4wMzM... |
980 | ained control of None and empty strings by csv writer objects dis Pseudo instruction opcodes which are used by the compiler but do not appear in executable bytecode are now exposed in the dis module HAVE_ARGUMENT is still relevant to real opcodes but it is not useful for pseudo instructions Use the new dis hasarg colle... | en | "Wy0wLjA5NzYzMDQxMTM4NjQ4OTg3LDAuMDU1ODg5Mjg2MTAwODY0NDEsLTAuMTI4MTY5MDI5OTUxMDk1NTgsMC4wNTMwMDgwOTgxNTUyNjAwODYsMC4wMDAxNDQ4MDU2MjgyMjQyNzYsLTAuMDc1OTA5MDcwNjcwNjA0NywtMC4wMTQyMDk5NzM2MjU4Mzg3NTcsMC4wMjk2MzY4ODIyNDU1NDA2MiwtMC4wMzU0OTQzNDI0NDYzMjcyMSwtMC4wMDQzMTcyNDM1ODM1MDAzODUsLTAuMDEwMzUzMjU0MTU0MzI0NTMyLC0wLjA0NDA... |
981 | e current frame or the return value Contributed by Tian Gao in gh 103693 random Add random binomialvariate Contributed by Raymond Hettinger in gh 81620 Add a default of lambd 1 0 to random expovariate Contributed by Raymond Hettinger in gh 100234 shutil shutil make_archive now passes the root_dir argument to custom arc... | en | "Wy0wLjA1NDg4MjEzODk2NzUxNDA0LDAuMDE3ODQ2NTg5OTA4MDAzODA3LC0wLjA0NjMxMTU4NzA5NTI2MDYyLDAuMDAwOTIxMTYxMDg4NjI2ODMxOCwwLjA4NDYwODM5ODM3Nzg5NTM2LC0wLjAzODY2NTcxNTYwNTAyMDUyLDAuMDE1MzYyNDQxNTM5NzY0NDA0LDAuMDM0OTQ3MDQxNDIyMTI4NjgsMC4wMTE2OTM5NzQ5NTY4NzAwNzksMC4wMzcxMjU1MTI5NTc1NzI5NCwwLjAzMjk5NTY1NjEzMjY5ODA2LDAuMDA4MzE5NTc... |
982 | n gh 94473 tokenize The tokenize module includes the changes introduced in PEP 701 Contributed by Marta Gómez Macías and Pablo Galindo in gh 102856 See Porting to Python 3 12 for more information on the changes to the tokenize module types Add types get_original_bases to allow for further introspection of User defined ... | en | "Wy0wLjA3MzAwMzI1NDgzMDgzNzI1LDAuMDA2OTQ1MDczMTM4OTIyNDUzLC0wLjAxNDU5MjQyNDAzNTA3MjMyNywwLjAwNTg0MTcxNTI2MTM0MDE0MSwwLjA0ODMwOTE0MzYzMjY1MDM3NSwtMC4wOTM5MTYyNTIyNTU0Mzk3NiwwLjAyOTk0MDA3MjQ0NzA2MTU0LDAuMDE2OTI0MTQ4NDI1NDU5ODYyLC0wLjEyNzE0NzEyMzIxNzU4MjcsLTAuMDI2MjMyNTE4MjU1NzEwNjAyLDAuMDEwODcyNTAyODExMjUzMDcsMC4wNDE4OTc... |
983 | into LOAD_ATTR LOAD_ATTR will now behave like the old LOAD_METHOD instruction if the low bit of its oparg is set Contributed by Ken Jin in gh 93429 Remove the JUMP_IF_FALSE_OR_POP and JUMP_IF_TRUE_OR_POP instructions Contributed by Irit Katriel in gh 102859 Remove the PRECALL instruction Contributed by Mark Shannon in ... | en | "Wy0wLjA2NDY4MjUwNjAyNDgzNzUsMC4wMzE5MzQ1ODU0MjIyNzc0NSwtMC4wMDY3MDAxNTAyMDI5NTk3NzYsMC4wMDE0NTY4MTE5MDc3MDExOTQzLC0wLjAzMzY1NDA1Mjc2NDE3NzMyLC0wLjA4NjUxMTg4NzYwOTk1ODY1LC0wLjAxNDM5Nzg5MjE2OTY1NDM3LDAuMDU5MjQ1MTM5MzYwNDI3ODU2LC0wLjA5MzY1NjMxNjM5OTU3NDI4LC0wLjAwNjg5MjQ3NTI5OTUzNzE4MiwwLjA0MzQwMzM1MzU0MjA4OTQ2LDAuMDU0NTQ... |
984 | d pickle operations which is undocumented inefficient historically buggy and inconsistent This will be removed in 3 14 for a significant reduction in code volume and maintenance burden Contributed by Raymond Hettinger in gh 101588 multiprocessing In Python 3 14 the default multiprocessing start method will change to a ... | en | "Wy0wLjE0ODg4OTYzMTAzMjk0MzczLC0wLjAyNDA1Nzk1ODI3NTA3OTcyNywtMC4wNTI3NTM5NzAwMjY5Njk5MSwtMC4wMTM3NjgwODA2MjE5NTc3NzksLTAuMDA3NDU5MTY1MDYyNzU1MzQ2LC0wLjEyNDM0MjQxMTc1NjUxNTUsLTAuMDYwMzQ0NjU1MDY2NzI4NTksMC4wMzc5MzQwOTA5NDIxNDQzOTQsLTAuMDIxNzMxNzM5ODYzNzUzMzIsMC4wMTU4MjQ1ODA1NjUwOTQ5NDgsLTAuMDM2NjUyNTYxMjc3MTUxMTEsMC4wMzQ... |
985 | nd will cease to be set or taken into consideration by the import system in Python 3 14 Contributed by Brett Cannon in gh 65961 The bitwise inversion operator on bool is deprecated It will throw an error in Python 3 14 Use not for logical negation of bools instead In the rare case that you really need the bitwise inver... | en | "Wy0wLjA3NTExMjA3NDYxMzU3MTE3LC0wLjAwMjcwMDU2MDk1OTA1NjAxOTgsLTAuMDM1ODQyNzUwMjIxNDkwODYsLTAuMDY4Mjg0MDM0NzI5MDAzOSwwLjAyOTcxMTAzMDQyMzY0MTIwNSwtMC4xMTg2NTY5MjU4NTcwNjcxMSwtMC4wNTM2MjI5NjQ3Njk2MDE4MiwtMC4wNTYzODcxODYwNTA0MTUwNCwtMC4wMzIyNjUxMTU1MjkyOTg3OCwtMC4wNjA3Mjg2MjgxODgzNzE2NiwwLjAzNTQ1ODI0MDY1ODA0NDgxNSwwLjA0OTc... |
986 | e distutils module For projects still using distutils and cannot be updated to something else the setuptools project can be installed it still provides distutils Contributed by Victor Stinner in gh 92584 ensurepip Remove the bundled setuptools wheel from ensurepip and stop installing setuptools in environments created ... | en | "Wy0wLjA2MjgxMDQ3MzE0NDA1NDQxLDAuMDE0NTM3MTk2NjA2Mzk3NjI5LDAuMDE4NTI1MDA2MjQ5NTQ3MDA1LC0wLjAzMjA1NjA3MDg2NDIwMDU5LDAuMDQzMzc5MjE3Mzg2MjQ1NzMsLTAuMDI3NTU4MDU2NjM3NjQ0NzY4LC0wLjAyMTczNTI4ODIwMjc2MjYwNCwwLjA3OTUxNjA4MzAwMjA5MDQ1LC0wLjAyMDc4OTQ2ODY2MDk1MDY2LC0wLjAyODY1MTE5ODM3MjI0NDgzNSwwLjAzNjE4MTU2OTA5OTQyNjI3LC0wLjA1OTM... |
987 | n is also a static method Contributed by Victor Stinner in gh 94169 locale Remove locale s locale format function deprecated in Python 3 7 use locale format_string instead Contributed by Victor Stinner in gh 94226 smtpd The smtpd module has been removed according to the schedule in PEP 594 having been deprecated in Pyt... | en | "Wy0wLjA3OTc5Mzc4ODQ5MjY3OTYsLTAuMDE0NjU2NjY0ODAzNjI0MTUzLC0wLjA3OTA5MTExNjc4NjAwMzExLDAuMDAzOTAxMjY1MDk1OTE5MzcwNywtMC4wMTAyMDY3MTI0MDk4NTM5MzUsLTAuMDY4MzE4ODA2NTg4NjQ5NzUsLTAuMDEwNDM3NDMyNjc2NTUzNzI2LC0wLjAzODA3OTEyNzY2OTMzNDQxLC0wLjAyMTAyOTAxNjAwMzAxMjY1NywtMC4wMzQ4MDcxMzA2OTQzODkzNCwwLjA0ODg2OTQ1NzA5NTg2MTQzNSwwLjA... |
988 | ructure_semantics_ flag from ctypes module Contributed by Nikita Sobolev in gh 99285 Porting to Python 3 12 This section lists previously described changes and other bugfixes that may require changes to your code Changes in the Python API More strict rules are now applied for numerical group references and group names ... | en | "Wy0wLjA3OTUzMTgxMTE3NzczMDU2LC0wLjAxMDQ1MDU0MTA0MTc5MTQzOSwtMC4wNjA3Mjg4NTE3MDU3ODk1NjYsMC4wMzA2OTEzNzQwOTMyOTQxNDQsMC4wMDI4NzU2ODQyOTQ4NDk2MzQsLTAuMDYyMDc3NTI2MDAzMTIyMzMsMC4wNTc3MDQyODQ3ODcxNzgwNCwtMC4wMTM1ODM5MTM0NDU0NzI3MTcsLTAuMTA3MjI2NzQ0Mjk0MTY2NTYsLTAuMDkwNTA2Mjg1NDI5MDAwODUsLTAuMDAwNDA4NjI3Mjk2NTY1MTAwNTUsMC4... |
989 | EP 701 Some of these changes include The type attribute of the tokens emitted when tokenizing some invalid Python characters such as has changed from ERRORTOKEN to OP Incomplete single line strings now also raise tokenize TokenError as incomplete multiline strings do Some incomplete or invalid Python code now raises to... | en | "Wy0wLjA4NTYyNzU3MDc0ODMyOTE2LC0wLjAxODYxNTUxNDAzOTk5MzI4NiwtMC4wMDI3NTMzNDQ4MzAxMjU1NzAzLC0wLjAxMDMzMzA0NjMxNzEwMDUyNSwwLjAwMjYzOTU3OTEyMTAyMzQxNjUsLTAuMDM2OTA3MTUxMzQxNDM4MjksLTAuMDEzNDY4MTY2ODEzMjU0MzU2LDAuMDUwMTQ3Njc4NzAzMDY5NjksLTAuMDg2NjMwNzc2NTI0NTQzNzYsLTAuMDI1NDU5ODIyMjY3MjkzOTMsMC4wMDQxOTQ3ODU4NDA4MDkzNDUsLTA... |
990 | _TPFLAGS_HAVE_VECTORCALL flag Contributed by Petr Viktorin in gh 93274 The Py_TPFLAGS_MANAGED_DICT and Py_TPFLAGS_MANAGED_WEAKREF flags have been added This allows extensions classes to support object __dict__ and weakrefs with less bookkeeping using less memory and with faster access API for performing calls using the... | en | "Wy0wLjA5NTEwODYwNTkyMTI2ODQ2LDAuMDEyNTY5MDExMTg5MDQzNTIyLC0wLjA2ODMxMTQxNTYxMjY5NzYsLTAuMDE0MTI2NDk5MTgzNDc1OTcxLC0wLjAyODM0MjUwNTkxNjk1MzA4NywtMC4wNDk1NjU4NDQyMzc4MDQ0MSwtMC4wNDQwOTcyMjIzODc3OTA2OCwwLjA1NjIyMzk4ODUzMzAyMDAyLC0wLjA1NTY0NTgzODM3OTg1OTkyNCwtMC4wMTcxNzM4Mjg1NTcxMzM2NzUsLTAuMDcxMTg4ODUyMTkwOTcxMzcsMC4wMzI... |
991 | for all static builtin types is always NULL This is an internal only field on PyTypeObject but we re pointing out the change in case someone happens to be accessing the field directly anyway To avoid breakage consider using the existing public C API instead or if necessary the internal only _PyObject_GET_WEAKREFS_LISTP... | en | "Wy0wLjA1MjU4ODcxNjE0OTMzMDE0LC0wLjAwOTA3MzA3MjExMzA5NjcxNCwtMC4wMjU0NTM5ODg0NjI2ODY1NCwwLjAzMTIzODA2Nzg5NTE3NDAyNiwtMC4wNjI2ODY1OTIzNDA0NjkzNiwtMC4wMjM2ODc0NzA3MDQzMTcwOTMsLTAuMDMxMzc5ODIyNjQxNjExMSwwLjExNTc2MjY3MzMxODM4NjA4LC0wLjEwNzk0NTMwMDYzODY3NTY5LC0wLjAzMzMxNTA0NzYyMTcyNjk5LC0wLjA0MTI2Njg5MjEwNTM0MDk2LC0wLjAyNjc... |
992 | ning out using warnings catch_warnings from Python PyOS_InputHook and PyOS_ReadlineFunctionPointer are no longer called in subinterpreters This is because clients generally rely on process wide global state since these callbacks have no way of recovering extension module state This also avoids situations where extensio... | en | "Wy0wLjA2NTk2Mjc4Mzk5MjI5MDUsMC4wMTI1NTYwMzg3OTY5MDE3MDMsLTAuMDI3NTgwNDAyNzkxNTAwMDksMC4wMzg2NTEzMzU5ODQ0Njg0NiwtMC4wNTAwMDEyNjM2MTg0NjkyNCwtMC4wMjY4OTkwMzQxNTczOTUzNjMsLTAuMDQwNzI0MzQ0NTUxNTYzMjYsMC4wOTg3MjA2OTIwOTgxNDA3MiwtMC4wODg2MTY0ODI5MTM0OTQxMSwtMC4wNDcyNzkwMjYzNTkzMTk2OSwwLjAwNTcyMjgzNzA1Njk2NDYzNiwwLjAwMDgzNDk... |
993 | rr_Display is deprecated Use PyErr_DisplayException instead Contributed by Irit Katriel in gh 102755 _PyErr_ChainExceptions is deprecated Use _PyErr_ChainExceptions1 instead Contributed by Irit Katriel in gh 102192 Using PyType_FromSpec PyType_FromSpecWithBases or PyType_FromModuleAndSpec to create a class whose metacl... | en | "Wy0wLjAyNzc4NDgwMjAxOTU5NjEsMC4wMDY2MzgwNDcyODUzNzc5NzksLTAuMDMxMDMwNzQyNDUxNTQ4NTc2LC0wLjA1MzQ3MzYxMDQzMDk1NTg5LDAuMDQ5MjQ3NTg1MjM3MDI2MjE1LC0wLjA1MzU5NjQ0ODE1MzI1NzM3LC0wLjA2NjEwNzA0MjEzMzgwODE0LDAuMDY3NjQzMDQ2Mzc5MDg5MzYsLTAuMTMzNDczNTYwMjE0MDQyNjYsLTAuMDE5MjY5NTk4NjQ3OTUyMDgsMC4wMzM1NzU0MjY3ODcxMzc5ODUsLTAuMDMyODc... |
994 | readline GNU readline interface The readline module defines a number of functions to facilitate completion and reading writing of history files from the Python interpreter This module can be used directly or via the rlcompleter module which supports completion of Python identifiers at the interactive prompt Settings ma... | en | "Wy0wLjAzNDI1MTk2OTMwNzY2MTA1NywtMC4wNDk1Mjk0MzY5NzU3MTc1NDUsLTAuMDUyMDM5ODA5NTI1MDEyOTcsLTAuMDAxMTk0MTUzNjc5NTM0NzkzLC0wLjAzMzMxNjIwMjQ2MTcxOTUxLC0wLjAwMDkwNTk2MDA5OTc3MTYxODgsLTAuMDAwODE2NDA2ODU2NzU2NjU3NCwwLjA1ODc3ODEyOTUxODAzMjA3NCwtMC4wMDc4NTAwODA3Mjg1MzA4ODQsLTAuMDMzODg2MjQyNjU3ODk5ODYsMC4wMDI3MjM3MTI3MDY5MzgzODY... |
995 | m specified by its position from the history The position is zero based This calls remove_history in the underlying library readline replace_history_item pos line Replace history item specified by its position with line The position is zero based This calls replace_history_entry in the underlying library readline add_h... | en | "Wy0wLjAxOTE3MTg5NzMyMTkzOTQ3LC0wLjAwMjY4MjIzNjAyMzI0NzI0MiwtMC4xMDMxNzE0NjAzMzA0ODYzLDAuMDA1NzIyOTQ3ODg0MzUxMDE1LC0wLjA1NjQ3MDAyOTA1NjA3MjIzNSwwLjA2MTkwOTYxMjI2ODIwOTQ2LDAuMDIxMjg2NzcyNTY0MDUzNTM1LDAuMDUwNDc1NDA3MzkxNzg2NTc1LC0wLjAwMTQzMTk0MDM1NjI2OTQ3ODgsLTAuMDA4OTM4NjcwMTU4Mzg2MjMsMC4wNjAyNDAzMjQ1ODY2Mjk4NywwLjA1Mjc... |
996 | bstitution matches longest_match_length once each time matches need to be displayed Example The following example demonstrates how to use the readline module s history reading and writing functions to automatically load and save a history file named python_history from the user s home directory The code below would nor... | en | "Wy0wLjAxNjYyOTUxMTQ5MDQ2NDIxLDAuMDA4MDI3MzI5MTA5NjA5MTI3LC0wLjA2Njc3MjA2NjA1NjcyODM2LDAuMDE4NDkzMDQ4ODQ2NzIxNjUsLTAuMDU2MDk0MTIxMTg3OTI1MzQsLTAuMDA0Mjg3Njk5NzAzMTI3MTQ2LC0wLjAyMTE1NTQ5MTQ3MTI5MDU5LDAuMDk1MzQ2OTI3NjQyODIyMjcsLTAuMDc0NTc4NTk4MTQxNjcwMjMsLTAuMDMwNzA1NTQzMjM0OTQ0MzQ0LC0wLjAzNDE1MDg3MjM3OTU0MTQsMC4wMzY1NTY... |
997 | Utilities The functions in this chapter perform various utility tasks ranging from helping C code be more portable across platforms using Python modules from C and parsing function arguments and constructing Python values from C values Operating System Utilities System Functions Process Control Importing Modules Data m... | en | "Wy0wLjA1ODU1MTEyNTIyODQwNSwtMC4wMDE2MzYzNzEwMTY1MDIzODA0LC0wLjA1NTg3MDQ0NzMwNzgyNTA5LC0wLjAzOTM3Nzk2MTMwNzc2NDA1LC0wLjA2OTAwMDk1OTM5NjM2MjMsLTAuMDkzMjQ2OTc0MDUwOTk4NjksLTAuMDAzMTUyMjEzMjkyMTk2MzkzLDAuMDY3Mjg3NjIzODgyMjkzNywtMC4wODIxOTE0MDc2ODA1MTE0NywtMC4wMTU3ODc1NjQyMTgwNDQyOCwtMC4wMDAwNjcxNjc5ODA4ODc0NjE0NSwtMC4wNjQ... |
998 | email Examples Here are a few examples of how to use the email package to read write and send simple email messages as well as more complex MIME messages First let s see how to create and send a simple text message both the text content and the addresses may contain unicode characters Import smtplib for the actual send... | en | "Wy0wLjAxMzg5NzE2MDk5OTQ3NjkxLC0wLjAxMTAwMDMxNzUyMTM5MzI5OSwwLjAzMTEyODQwNjUyNDY1ODIwMywwLjAwODY0OTkwMDU1NTYxMDY1NywtMC4wMDEyMDgwNTUyOTg3NzU0MzQ1LC0wLjA4Njc1MjAxOTgyMjU5NzUsMC4wNDM0MDYzMjI1OTg0NTczMzYsMC4wODk1MDM1MTkyMzcwNDE0NywtMC4wMzkwNDQ1NDc4MjYwNTE3MSwwLjAwNTE1NTMxOTgxMzYzODkyNTYsLTAuMDE3NDQ3MTEwMjY1NDkzMzkzLC0wLjA... |
999 | me if not os path isfile path continue Guess the content type based on the file s extension Encoding will be ignored although we should check for simple things like gzip d or compressed files ctype encoding mimetypes guess_type path if ctype is None or encoding is not None No guess could be made or the file is encoded ... | en | "Wy0wLjAzMjE1MTMyMjgxMTg0MTk2NSwwLjAwMjI1MDQ5NzIyOTM5NzI5NywwLjAwNzUxNDY1OTc4MTAwODk1OSwwLjA0NzA5ODgxOTE2NjQyMTg5LDAuMDcxMzc1MTAxODA0NzMzMjgsLTAuMTMyMDE2OTQxOTA1MDIxNjcsMC4wNzM5NDYxMzMyNTU5NTg1NiwwLjA0Njg4MzE1NDY2MDQ2MzMzLC0wLjAyMzQ4NTY2NDI3ODI2ODgxNCwtMC4wMTYzNTI3ODc2MTM4Njg3MTMsLTAuMDA5Mjc2NDQyMjI5NzQ3NzcyLDAuMDI3NjI... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.