pythonnet 3.0.2__py3-none-any.whl → 3.0.4__py3-none-any.whl

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.
@@ -7,7 +7,7 @@
7
7
  "targets": {
8
8
  ".NETStandard,Version=v2.0": {},
9
9
  ".NETStandard,Version=v2.0/": {
10
- "Python.Runtime/3.0.2": {
10
+ "Python.Runtime/3.0.4": {
11
11
  "dependencies": {
12
12
  "Lost.Compat.NullabilityAttributes": "0.0.4",
13
13
  "Microsoft.CSharp": "4.7.0",
@@ -123,7 +123,7 @@
123
123
  }
124
124
  },
125
125
  "libraries": {
126
- "Python.Runtime/3.0.2": {
126
+ "Python.Runtime/3.0.4": {
127
127
  "type": "project",
128
128
  "serviceable": false,
129
129
  "sha512": ""
Binary file
Binary file
@@ -2833,11 +2833,51 @@
2833
2833
  Set the cause associated with the exception to cause. Use NULL to clear it. There is no type check to make sure that cause is either an exception instance or None. This steals a reference to cause.
2834
2834
  </summary>
2835
2835
  </member>
2836
+ <member name="P:Python.Runtime.RuntimeData.PostStashHook">
2837
+ <summary>
2838
+ Callback called as a last step in the serialization process
2839
+ </summary>
2840
+ </member>
2841
+ <member name="P:Python.Runtime.RuntimeData.PreRestoreHook">
2842
+ <summary>
2843
+ Callback called as the first step in the deserialization process
2844
+ </summary>
2845
+ </member>
2836
2846
  <member name="M:Python.Runtime.RuntimeData.ClearCLRData">
2837
2847
  <summary>
2838
2848
  Clears the old "clr_data" entry if a previous one is present.
2839
2849
  </summary>
2840
2850
  </member>
2851
+ <member name="M:Python.Runtime.RuntimeData.FreeSerializationData(System.String)">
2852
+ <summary>
2853
+ Removes the serialization capsule from the `sys` module object.
2854
+ </summary>
2855
+ <remarks>
2856
+ The serialization data must have been set with <code>StashSerializationData</code>
2857
+ </remarks>
2858
+ <param name="key">The name given to the capsule on the `sys` module object</param>
2859
+ </member>
2860
+ <member name="M:Python.Runtime.RuntimeData.StashSerializationData(System.String,System.IO.MemoryStream)">
2861
+ <summary>
2862
+ Stores the data in the <paramref name="stream"/> argument in a Python capsule and stores
2863
+ the capsule on the `sys` module object with the name <paramref name="key"/>.
2864
+ </summary>
2865
+ <remarks>
2866
+ No checks on pre-existing names on the `sys` module object are made.
2867
+ </remarks>
2868
+ <param name="key">The name given to the capsule on the `sys` module object</param>
2869
+ <param name="stream">A MemoryStream that contains the data to be placed in the capsule</param>
2870
+ </member>
2871
+ <member name="M:Python.Runtime.RuntimeData.GetSerializationData(System.String)">
2872
+ <summary>
2873
+ Retreives the previously stored data on a Python capsule.
2874
+ Throws if the object corresponding to the <paramref name="key"/> parameter
2875
+ on the `sys` module object is not a capsule.
2876
+ </summary>
2877
+ <param name="key">The name given to the capsule on the `sys` module object</param>
2878
+ <returns>A MemoryStream containing the previously saved serialization data.
2879
+ The stream is empty if no name matches the key. </returns>
2880
+ </member>
2841
2881
  <member name="T:Python.Runtime.TypeManager">
2842
2882
  <summary>
2843
2883
  The TypeManager class is responsible for building binary-compatible
@@ -3080,6 +3120,21 @@
3080
3120
  Helper to get docstring from reflected constructor info.
3081
3121
  </summary>
3082
3122
  </member>
3123
+ <member name="M:Python.Runtime.ClassObject.GetEnumReprString(System.Enum)">
3124
+ <summary>
3125
+ given an enum, write a __repr__ string formatted in the same
3126
+ way as a python repr string. Something like:
3127
+ '&lt;Color.GREEN: 2&gt;';
3128
+ with a binary value for [Flags] enums
3129
+ </summary>
3130
+ <param name="inst">Instace of the enum object</param>
3131
+ <returns></returns>
3132
+ </member>
3133
+ <member name="M:Python.Runtime.ClassObject.tp_repr(Python.Runtime.BorrowedReference)">
3134
+ <summary>
3135
+ ClassObject __repr__ implementation.
3136
+ </summary>
3137
+ </member>
3083
3138
  <member name="M:Python.Runtime.ClassObject.tp_new_impl(Python.Runtime.BorrowedReference,Python.Runtime.BorrowedReference,Python.Runtime.BorrowedReference)">
3084
3139
  <summary>
3085
3140
  Implements __new__ for reflected classes and value types.
@@ -3594,9 +3649,9 @@
3594
3649
  corresponding Python type's operator methods.
3595
3650
  </summary>
3596
3651
  </member>
3597
- <member name="M:Python.Runtime.OperatorMethod.IsReverse(System.Reflection.MethodBase)">
3652
+ <member name="M:Python.Runtime.OperatorMethod.HaveReverse(System.Reflection.MethodBase)">
3598
3653
  <summary>
3599
- Check if the method is performing a reverse operation.
3654
+ Check if the method should have a reversed operation.
3600
3655
  </summary>
3601
3656
  <param name="method">The operator method.</param>
3602
3657
  <returns></returns>
@@ -38,6 +38,7 @@
38
38
  - Dmitriy Se ([@dmitriyse](https://github.com/dmitriyse))
39
39
  - Félix Bourbonnais ([@BadSingleton](https://github.com/BadSingleton))
40
40
  - Florian Treurniet ([@ftreurni](https://github.com/ftreurni))
41
+ - Frank Witscher ([@Frawak](https://github.com/Frawak))
41
42
  - He-chien Tsai ([@t3476](https://github.com/t3476))
42
43
  - Inna Wiesel ([@inna-w](https://github.com/inna-w))
43
44
  - Ivan Cronyn ([@cronan](https://github.com/cronan))
@@ -86,3 +87,4 @@
86
87
  - ([@gpetrou](https://github.com/gpetrou))
87
88
  - Ehsan Iran-Nejad ([@eirannejad](https://github.com/eirannejad))
88
89
  - ([@legomanww](https://github.com/legomanww))
90
+ - ([@gertdreyer](https://github.com/gertdreyer))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pythonnet
3
- Version: 3.0.2
3
+ Version: 3.0.4
4
4
  Summary: .NET and Mono integration for Python
5
5
  Author-email: "The Contributors of the Python.NET Project" <pythonnet@python.org>
6
6
  License: MIT
@@ -16,14 +16,15 @@ Classifier: Programming Language :: Python :: 3.8
16
16
  Classifier: Programming Language :: Python :: 3.9
17
17
  Classifier: Programming Language :: Python :: 3.10
18
18
  Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
19
20
  Classifier: Operating System :: Microsoft :: Windows
20
21
  Classifier: Operating System :: POSIX :: Linux
21
22
  Classifier: Operating System :: MacOS :: MacOS X
22
- Requires-Python: <3.12,>=3.7
23
+ Requires-Python: <3.13,>=3.7
23
24
  Description-Content-Type: text/x-rst
24
25
  License-File: LICENSE
25
26
  License-File: AUTHORS.md
26
- Requires-Dist: clr-loader <0.3.0,>=0.2.6
27
+ Requires-Dist: clr-loader<0.3.0,>=0.2.6
27
28
 
28
29
  pythonnet - Python.NET
29
30
  ===========================
@@ -0,0 +1,12 @@
1
+ clr.py,sha256=9LJE8vehgQqkCBTDXaB4VUBbdQeDbSs5zmZ283dHLRU,96
2
+ pythonnet/__init__.py,sha256=XtllPI_8M3wOGAIP3oJ_nesfPFY4Ctj8WqyCGB4pJ6c,5195
3
+ pythonnet/runtime/Python.Runtime.deps.json,sha256=-EO1U3VQeMYCQrfl5sJ4yISMd2IoKpe764RGauJyjxI,9851
4
+ pythonnet/runtime/Python.Runtime.dll,sha256=FCUb9Yx6vdVjv30hJPO3HlKLNfv9Pi14onDkZduGNUA,438784
5
+ pythonnet/runtime/Python.Runtime.pdb,sha256=Q9jpQe3vqnCzI5gaWwsr8NcsFba0f7iUG2nK5MzwS3E,197956
6
+ pythonnet/runtime/Python.Runtime.xml,sha256=QPOTSrqbvOsZNYextthLbFjnsexwvqdjsCJ43Qb_vhk,186909
7
+ pythonnet-3.0.4.dist-info/AUTHORS.md,sha256=IjhmEJExLdDqQAdGZmXKvnqJy95lDrwqaupG3JmZAAg,4966
8
+ pythonnet-3.0.4.dist-info/LICENSE,sha256=4dw6b_AXpoANwnpyIFAPUSuV-82ZbTjru_-FxpMkU2k,1104
9
+ pythonnet-3.0.4.dist-info/METADATA,sha256=Ox-2g15j8xknoDJjdLXKQXY0v8DFwdieGccew5jG41E,6572
10
+ pythonnet-3.0.4.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
11
+ pythonnet-3.0.4.dist-info/top_level.txt,sha256=t_cWGAdMpwl7YO793-aNxNpIEUQhODegjRUXXd1alfA,14
12
+ pythonnet-3.0.4.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: bdist_wheel (0.44.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
pythonnet/.gitignore DELETED
@@ -1,3 +0,0 @@
1
- mono/
2
- netfx/
3
- runtime/
File without changes
@@ -1,14 +0,0 @@
1
- clr.py,sha256=9LJE8vehgQqkCBTDXaB4VUBbdQeDbSs5zmZ283dHLRU,96
2
- pythonnet/.gitignore,sha256=Nf87sbYHhmFOyPXmo0d8sxgjfTQODwoiI-SapnZGKFc,22
3
- pythonnet/__init__.py,sha256=XtllPI_8M3wOGAIP3oJ_nesfPFY4Ctj8WqyCGB4pJ6c,5195
4
- pythonnet/runtime/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- pythonnet/runtime/Python.Runtime.deps.json,sha256=OxRWsAXXmJTtDYfTS2XZpqRlN3b5IJdO60WT0z6tfWA,9851
6
- pythonnet/runtime/Python.Runtime.dll,sha256=5MY_hfwCyE8q4P0kcB5Ix3x87V47sBmKDIzkt4qtZ78,419328
7
- pythonnet/runtime/Python.Runtime.pdb,sha256=phxnsayC0kkMtD4thMMe68FZt0rO06eMH0yLD1Vwj7Y,187332
8
- pythonnet/runtime/Python.Runtime.xml,sha256=GHOQDsrR_IfpMlPjJh2IqYEpo6YUEdAD-kw8zwpnJbs,184046
9
- pythonnet-3.0.2.dist-info/AUTHORS.md,sha256=ujM7JbW-qaex1j7NW6VOGn1h8TIGzGh4l4oIbiPjHhI,4857
10
- pythonnet-3.0.2.dist-info/LICENSE,sha256=4dw6b_AXpoANwnpyIFAPUSuV-82ZbTjru_-FxpMkU2k,1104
11
- pythonnet-3.0.2.dist-info/METADATA,sha256=QqKxYkni0OA6jUWrX-0E_zvwX43mKwPPN52ACLsAse4,6522
12
- pythonnet-3.0.2.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
13
- pythonnet-3.0.2.dist-info/top_level.txt,sha256=t_cWGAdMpwl7YO793-aNxNpIEUQhODegjRUXXd1alfA,14
14
- pythonnet-3.0.2.dist-info/RECORD,,