| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,10 +2,11 @@ dist: xenial | |||
| 2 | 2 | sudo: false | |
| 3 | 3 | language: python | |
| 4 | 4 | python: | |
| 5 | - - 2.7 | ||
| 6 | - - 3.5 | ||
| 7 | - - 3.6 | ||
| 5 | + - 3.8 | ||
| 8 | 6 | - 3.7 | |
| 7 | + - 3.6 | ||
| 8 | + - 3.5 | ||
| 9 | + - 2.7 | ||
| 9 | 10 | ||
| 10 | 11 | env: | |
| 11 | 12 | matrix: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,8 +2,11 @@ | |||
| 2 | 2 | ||
| 3 | 3 | ## Development Lead | |
| 4 | 4 | ||
| 5 | - - Barton Cline ([@BartonCline](https://github.com/BartonCline)) | ||
| 6 | 5 | - Benedikt Reinartz ([@filmor](https://github.com/filmor)) | |
| 6 | + - Victor Milovanov ([@lostmsu](https://github.com/lostmsu)) | ||
| 7 | + | ||
| 8 | + ## Former Development Leads | ||
| 9 | + - Barton Cline ([@BartonCline](https://github.com/BartonCline)) | ||
| 7 | 10 | - Brian Lloyd ([@brianlloyd](https://github.com/brianlloyd)) | |
| 8 | 11 | - David Anthoff ([@davidanthoff](https://github.com/davidanthoff)) | |
| 9 | 12 | - Denis Akhiyarov ([@denfromufa](https://github.com/denfromufa)) | |
@@ -45,6 +48,7 @@ | |||
| 45 | 48 | - Luke Stratman ([@lstratman](https://github.com/lstratman)) | |
| 46 | 49 | - Konstantin Posudevskiy ([@konstantin-posudevskiy](https://github.com/konstantin-posudevskiy)) | |
| 47 | 50 | - Matthias Dittrich ([@matthid](https://github.com/matthid)) | |
| 51 | + - Meinrad Recheis ([@henon](https://github.com/henon)) | ||
| 48 | 52 | - Mohamed Koubaa ([@koubaa](https://github.com/koubaa)) | |
| 49 | 53 | - Patrick Stewart ([@patstew](https://github.com/patstew)) | |
| 50 | 54 | - Raphael Nestler ([@rnestler](https://github.com/rnestler)) | |
@@ -53,7 +57,6 @@ | |||
| 53 | 57 | - Sean Freitag ([@cowboygneox](https://github.com/cowboygneox)) | |
| 54 | 58 | - Serge Weinstock ([@sweinst](https://github.com/sweinst)) | |
| 55 | 59 | - Simon Mourier ([@smourier](https://github.com/smourier)) | |
| 56 | - - Victor Milovanov ([@lostmsu](https://github.com/lostmsu)) | ||
| 57 | 60 | - Viktoria Kovescses ([@vkovec](https://github.com/vkovec)) | |
| 58 | 61 | - Ville M. Vainio ([@vivainio](https://github.com/vivainio)) | |
| 59 | 62 | - Virgil Dupras ([@hsoft](https://github.com/hsoft)) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,39 +1,71 @@ | |||
| 1 | 1 | # Changelog | |
| 2 | 2 | ||
| 3 | - All notable changes to Python for .NET will be documented in this file. | ||
| 4 | - This project adheres to [Semantic Versioning][]. | ||
| 3 | + All notable changes to Python.NET will be documented in this file. This | ||
| 4 | + project adheres to [Semantic Versioning][]. | ||
| 5 | 5 | ||
| 6 | 6 | This document follows the conventions laid out in [Keep a CHANGELOG][]. | |
| 7 | 7 | ||
| 8 | - ## [unreleased][] | ||
| 8 | + ## [Unreleased][] | ||
| 9 | 9 | ||
| 10 | 10 | ### Added | |
| 11 | 11 | ||
| 12 | - - Added automatic NuGet package generation in appveyor and local builds | ||
| 13 | - - Added function that sets Py_NoSiteFlag to 1. | ||
| 14 | - - Added support for Jetson Nano. | ||
| 15 | - - Added support for __len__ for .NET classes that implement ICollection | ||
| 16 | - - Added `object.GetRawPythonProxy() -> PyObject` extension method, that bypasses any conversions | ||
| 12 | + ### Changed | ||
| 13 | + | ||
| 14 | + ### Fixed | ||
| 15 | + | ||
| 16 | + ## [2.5.0][] - 2020-06-14 | ||
| 17 | + | ||
| 18 | + This version improves performance on benchmarks significantly compared to 2.3. | ||
| 19 | + | ||
| 20 | + ### Added | ||
| 21 | + | ||
| 22 | + - Automatic NuGet package generation in appveyor and local builds | ||
| 23 | + - Function that sets `Py_NoSiteFlag` to 1. | ||
| 24 | + - Support for Jetson Nano. | ||
| 25 | + - Support for `__len__` for .NET classes that implement ICollection | ||
| 26 | + - `PyExport` attribute to hide .NET types from Python | ||
| 27 | + - `PythonException.Format` method to format exceptions the same as | ||
| 28 | + `traceback.format_exception` | ||
| 29 | + - `Runtime.None` to be able to pass `None` as parameter into Python from .NET | ||
| 30 | + - `PyObject.IsNone()` to check if a Python object is None in .NET. | ||
| 31 | + - Support for Python 3.8 | ||
| 32 | + - Codecs as the designated way to handle automatic conversions between | ||
| 33 | + .NET and Python types | ||
| 17 | 34 | ||
| 18 | 35 | ### Changed | |
| 19 | 36 | ||
| 20 | 37 | - Added argument types information to "No method matches given arguments" message | |
| 21 | 38 | - Moved wheel import in setup.py inside of a try/except to prevent pip collection failures | |
| 22 | - - Removes PyLong_GetMax and PyClass_New when targetting Python3 | ||
| 39 | + - Removes `PyLong_GetMax` and `PyClass_New` when targetting Python3 | ||
| 40 | + - Improved performance of calls from Python to C# | ||
| 23 | 41 | - Added support for converting python iterators to C# arrays | |
| 24 | - - Changed usage of obselete function GetDelegateForFunctionPointer(IntPtr, Type) to GetDelegateForFunctionPointer<TDelegate>(IntPtr) | ||
| 25 | - - When calling C# from Python, enable passing argument of any type to a parameter of C# type `object` by wrapping it into `PyObject` instance. ([#881][i881]) | ||
| 42 | + - Changed usage of the obsolete function | ||
| 43 | + `GetDelegateForFunctionPointer(IntPtr, Type)` to | ||
| 44 | + `GetDelegateForFunctionPointer<TDelegate>(IntPtr)` | ||
| 45 | + - When calling C# from Python, enable passing argument of any type to a | ||
| 46 | + parameter of C# type `object` by wrapping it into `PyObject` instance. | ||
| 47 | + ([#881][i881]) | ||
| 26 | 48 | - Added support for kwarg parameters when calling .NET methods from Python | |
| 49 | + - Changed method for finding MSBuild using vswhere | ||
| 50 | + - Reworked `Finalizer`. Now objects drop into its queue upon finalization, | ||
| 51 | + which is periodically drained when new objects are created. | ||
| 52 | + - Marked `Runtime.OperatingSystemName` and `Runtime.MachineName` as | ||
| 53 | + `Obsolete`, should never have been `public` in the first place. They also | ||
| 54 | + don't necessarily return a result that matches the `platform` module's. | ||
| 55 | + - Unconditionally depend on `pycparser` for the interop module generation | ||
| 27 | 56 | ||
| 28 | 57 | ### Fixed | |
| 29 | 58 | ||
| 30 | - - Fixed runtime that fails loading when using pythonnet in an environment | ||
| 31 | - together with Nuitka | ||
| 32 | - - Fixes bug where delegates get casts (dotnetcore) | ||
| 33 | - - Determine size of interpreter longs at runtime | ||
| 34 | - - Handling exceptions ocurred in ModuleObject's getattribute | ||
| 59 | + - Fixed runtime that fails loading when using pythonnet in an environment | ||
| 60 | + together with Nuitka | ||
| 61 | + - Fixes bug where delegates get casts (dotnetcore) | ||
| 62 | + - Determine size of interpreter longs at runtime | ||
| 63 | + - Handling exceptions ocurred in ModuleObject's getattribute | ||
| 64 | + - Fill `__classcell__` correctly for Python subclasses of .NET types | ||
| 65 | + - Fixed issue with params methods that are not passed an array. | ||
| 66 | + - Use UTF8 to encode strings passed to `PyRun_String` on Python 3 | ||
| 35 | 67 | ||
| 36 | - ## [2.4.0][] | ||
| 68 | + ## [2.4.0][] - 2019-05-15 | ||
| 37 | 69 | ||
| 38 | 70 | ### Added | |
| 39 | 71 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,11 +1,15 @@ | |||
| 1 | 1 | # How to contribute | |
| 2 | 2 | ||
| 3 | - PythonNet is developed and maintained by unpaid community members so well | ||
| 3 | + Python.NET is developed and maintained by unpaid community members so well | ||
| 4 | 4 | written, documented and tested pull requests are encouraged. | |
| 5 | 5 | ||
| 6 | 6 | By submitting a pull request for this project, you agree to license your | |
| 7 | 7 | contribution under the MIT license to this project. | |
| 8 | 8 | ||
| 9 | + This project has adopted the code of conduct defined by the Contributor | ||
| 10 | + Covenant to clarify expected behavior in our community. For more information | ||
| 11 | + see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct). | ||
| 12 | + | ||
| 9 | 13 | ## Getting Started | |
| 10 | 14 | ||
| 11 | 15 | - Make sure you have a [GitHub account](https://github.com/signup/free) | |
@@ -41,3 +45,4 @@ contribution under the MIT license to this project. | |||
| 41 | 45 | ||
| 42 | 46 | - [General GitHub documentation](https://help.github.com/) | |
| 43 | 47 | - [GitHub pull request documentation](https://help.github.com/send-pull-requests/) | |
| 48 | + - [.NET Foundation Code of Conduct](https://dotnetfoundation.org/about/code-of-conduct) | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | MIT License | |
| 2 | 2 | ||
| 3 | - Copyright (c) 2006-2019 the contributors of the "Python for .NET" project | ||
| 3 | + Copyright (c) 2006-2020 the contributors of the Python.NET project | ||
| 4 | 4 | ||
| 5 | 5 | Permission is hereby granted, free of charge, to any person obtaining a | |
| 6 | 6 | copy of this software and associated documentation files (the "Software"), | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - pythonnet - Python for .NET | ||
| 1 | + pythonnet - Python.NET | ||
| 2 | 2 | =========================== | |
| 3 | 3 | ||
| 4 | 4 | |Join the chat at https://gitter.im/pythonnet/pythonnet| | |
@@ -8,7 +8,7 @@ pythonnet - Python for .NET | |||
| 8 | 8 | |license shield| |pypi package version| |conda-forge version| |python supported shield| | |
| 9 | 9 | |stackexchange shield| | |
| 10 | 10 | ||
| 11 | - Python for .NET is a package that gives Python programmers nearly | ||
| 11 | + Python.NET is a package that gives Python programmers nearly | ||
| 12 | 12 | seamless integration with the .NET Common Language Runtime (CLR) and | |
| 13 | 13 | provides a powerful application scripting tool for .NET developers. It | |
| 14 | 14 | allows Python code to interact with the CLR, and may also be used to | |
@@ -17,8 +17,7 @@ embed Python into a .NET application. | |||
| 17 | 17 | Calling .NET code from Python | |
| 18 | 18 | ----------------------------- | |
| 19 | 19 | ||
| 20 | - Python for .NET allows CLR namespaces to be treated essentially as | ||
| 21 | - Python packages. | ||
| 20 | + Python.NET allows CLR namespaces to be treated essentially as Python packages. | ||
| 22 | 21 | ||
| 23 | 22 | .. code-block:: | |
| 24 | 23 | ||
@@ -90,18 +89,24 @@ Output: | |||
| 90 | 89 | int32 | |
| 91 | 90 | [ 6. 10. 12.] | |
| 92 | 91 | ||
| 92 | + | ||
| 93 | + | ||
| 94 | + Resources | ||
| 95 | + --------- | ||
| 96 | + | ||
| 93 | 97 | Information on installation, FAQ, troubleshooting, debugging, and | |
| 94 | 98 | projects using pythonnet can be found in the Wiki: | |
| 95 | 99 | ||
| 96 | 100 | https://github.com/pythonnet/pythonnet/wiki | |
| 97 | 101 | ||
| 98 | - Python 3.8.0 support | ||
| 99 | - -------------------- | ||
| 102 | + Mailing list | ||
| 103 | + https://mail.python.org/mailman/listinfo/pythondotnet | ||
| 104 | + Chat | ||
| 105 | + https://gitter.im/pythonnet/pythonnet | ||
| 100 | 106 | ||
| 101 | - Some features are disabled in Python 3.8.0 because of | ||
| 102 | - `this bug in Python <https://bugs.python.org/issue37633>`_. The error is | ||
| 103 | - ``System.EntryPointNotFoundException : Unable to find an entry point named | ||
| 104 | - 'Py_CompileString' in DLL 'python38'``. This will be fixed in Python 3.8.1. | ||
| 107 | + .NET Foundation | ||
| 108 | + --------------- | ||
| 109 | + This project is supported by the `.NET Foundation <https://dotnetfoundation.org>`_. | ||
| 105 | 110 | ||
| 106 | 111 | .. |Join the chat at https://gitter.im/pythonnet/pythonnet| image:: https://badges.gitter.im/pythonnet/pythonnet.svg | |
| 107 | 112 | :target: https://gitter.im/pythonnet/pythonnet?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge | |
@@ -121,8 +126,3 @@ Some features are disabled in Python 3.8.0 because of | |||
| 121 | 126 | :target: http://stackoverflow.com/questions/tagged/python.net | |
| 122 | 127 | .. |conda-forge version| image:: https://img.shields.io/conda/vn/conda-forge/pythonnet.svg | |
| 123 | 128 | :target: https://anaconda.org/conda-forge/pythonnet | |
| 124 | - | ||
| 125 | - Resources | ||
| 126 | - --------- | ||
| 127 | - Mailing list: https://mail.python.org/mailman/listinfo/pythondotnet | ||
| 128 | - Chat: https://gitter.im/pythonnet/pythonnet | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,28 +15,26 @@ environment: | |||
| 15 | 15 | CODECOV_ENV: PYTHON_VERSION, PLATFORM | |
| 16 | 16 | ||
| 17 | 17 | matrix: | |
| 18 | + - PYTHON_VERSION: 3.8 | ||
| 18 | 19 | - PYTHON_VERSION: 2.7 | |
| 19 | 20 | BUILD_OPTS: --xplat | |
| 20 | - - PYTHON_VERSION: 3.5 | ||
| 21 | + - PYTHON_VERSION: 3.7 | ||
| 21 | 22 | BUILD_OPTS: --xplat | |
| 22 | 23 | - PYTHON_VERSION: 3.6 | |
| 23 | 24 | BUILD_OPTS: --xplat | |
| 24 | - - PYTHON_VERSION: 3.7 | ||
| 25 | - BUILD_OPTS: --xplat | ||
| 26 | - - PYTHON_VERSION: 2.7 | ||
| 27 | 25 | - PYTHON_VERSION: 3.5 | |
| 28 | - - PYTHON_VERSION: 3.6 | ||
| 26 | + BUILD_OPTS: --xplat | ||
| 27 | + - PYTHON_VERSION: 2.7 | ||
| 28 | + BUILD_OPTS: --xplat | ||
| 29 | + - PYTHON_VERSION: 3.8 | ||
| 29 | 30 | - PYTHON_VERSION: 3.7 | |
| 31 | + - PYTHON_VERSION: 3.6 | ||
| 32 | + - PYTHON_VERSION: 3.5 | ||
| 33 | + - PYTHON_VERSION: 2.7 | ||
| 30 | 34 | ||
| 35 | + matrix: | ||
| 31 | 36 | - PYTHON_VERSION: 3.7 | |
| 32 | 37 | PYTHONNET_SOFT_SHUTDOWN: 1 | |
| 33 | - | ||
| 34 | - matrix: | ||
| 35 | - allow_failures: | ||
| 36 | - - PYTHON_VERSION: 3.4 | ||
| 37 | - BUILD_OPTS: --xplat | ||
| 38 | - - PYTHON_VERSION: 3.4 | ||
| 39 | - | ||
| 40 | 38 | init: | |
| 41 | 39 | # Update Environment Variables based on matrix/platform | |
| 42 | 40 | - set PY_VER=%PYTHON_VERSION:.=% | |
@@ -60,9 +58,8 @@ build_script: | |||
| 60 | 58 | - coverage run setup.py bdist_wheel %BUILD_OPTS% | |
| 61 | 59 | ||
| 62 | 60 | test_script: | |
| 63 | - - pip install --no-index --find-links=.\dist\ pythonnet | ||
| 61 | + - pip install --find-links=.\dist\ pythonnet | ||
| 64 | 62 | - ps: .\ci\appveyor_run_tests.ps1 | |
| 65 | - - ps: .\ci\appveyor_build_recipe.ps1 | ||
| 66 | 63 | ||
| 67 | 64 | on_finish: | |
| 68 | 65 | # Temporary disable multiple upload due to codecov limit of 20 per commit. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments