◐ Shell
reader mode source ↗
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ This document follows the conventions laid out in [Keep a CHANGELOG][].
### Added

- Support `del obj[...]` for types derived from `IList<T>` and `IDictionary<K, V>`

### Changed
### Fixed

- Fixed crash when trying to `del clrObj[...]` for non-arrays
- ci: properly exclude job (#2542)

## [3.0.5](https://github.com/pythonnet/pythonnet/releases/tag/v3.0.5) - 2024-12-13

Expand Down
14 changes: 14 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
graft src/runtime
prune src/runtime/obj
prune src/runtime/bin
include src/pythonnet.snk
include Directory.Build.*
include pythonnet.sln
3 changes: 2 additions & 1 deletion doc/source/python.rst
Original file line number Diff line number Diff line change
@@ -45,7 +45,8 @@ Mono (``mono``)

.NET Framework (``netfx``)
Default on Windows and also only supported there. Must be at least version
4.7.2.

.NET Core (``coreclr``)
Self-contained is not supported, must be at least version 3.1.
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ email = "pythonnet@python.org"
Homepage = "https://pythonnet.github.io/"
Sources = "https://github.com/pythonnet/pythonnet"

[tool.setuptools]
zip-safe = false
py-modules = ["clr"]
Expand Down
4 changes: 4 additions & 0 deletions pythonnet/_pyinstaller/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
9 changes: 9 additions & 0 deletions pythonnet/_pyinstaller/hook-clr.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
13 changes: 13 additions & 0 deletions src/compat/Python.Runtime.Compat.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
23 changes: 23 additions & 0 deletions src/runtime/Loader.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.Text;

namespace Python.Runtime
Expand All @@ -12,6 +13,28 @@ public unsafe static int Initialize(IntPtr data, int size)
{
try
{
var dllPath = Encodings.UTF8.GetString((byte*)data.ToPointer(), size);

if (!string.IsNullOrEmpty(dllPath))
Expand Down
Loading
Toggle all file notes Toggle all file annotations