Граф коммитов

17 Коммитов

Автор SHA1 Сообщение Дата
jakrivan 677281e3d1 Added inline comment about dangers of multidomain usage
As requested here: https://github.com/pythonnet/pythonnet/pull/538#issuecomment-364630052
2018-10-16 11:24:17 +02:00
William Sardar aa222b3d18 Add changelog and authors entries 2018-07-20 16:35:43 +01:00
Alexandre Catarino 611814c307 Adds method name to "no method matches" error (#653) 2018-07-16 15:12:47 +02:00
civilx64 86c7c81efa Add links to issues and PRs in CHANGELOG 2018-07-01 14:02:53 -04:00
jbw3 545c5490ae Implementing GetDynamicMemberNames() for PyObject (#690)
* Implementing GetDynamicMemberNames() for PyObject

* Added unit test

* Addressing code review comments
2018-06-18 11:49:55 -05:00
GSPP 811f10fe23 Update AUTHORS and CHANGELOG for previous commit 2018-05-27 13:56:45 +02:00
Callum Noble f55ee1e3b4 Fixed errors breaking .NET Remoting on method invoke (#276) 2018-03-01 14:36:05 -08:00
Ivan Cronyn e57882af6f
Update AUTHORS.md
Added Ivan Cronyn
2018-02-07 12:29:27 +00:00
Rickard Holmberg 12af79445d clrmethod working for python 2 (#494)
* Add Runtime.PyObject_IsIterable and fix PyIter_Check for Python 2

* Add test_clrmethod.py and update AUTHORS and CHANGELOG

* Fix test docstrings

* Use IntPtr.Zero instead of null for comparisons with IntPtrs

* Add test on Runtime.PyObject_IsIterable and Runtime.PyIter_Check

* Use the already defined TypeFlags.HaveIter instead of redefining it

* Add PyIter_Check and PyObject_IsIterable tests on threading.Lock, which does not have type feature iter

* Move the tests from test_runtime.py to TestRuntime.py
2017-06-16 15:19:39 +02:00
Konstantin d39f9f6e0c Fix conversion of 'float' and 'double' values (#487)
* Fix conversion of 'float' and 'double' values

Fix problem of conversion 'float' and 'double' values in converter.cs.
As there was a range check both for 'float' and 'double' values, which
are less or greater than its 'MinValue' and 'MaxValue' accordingly,
several values like 'float.NegativeInfinity', 'float.PositiveInfinity'
and the same 'double' values cannot be converted from Python to .NET
values.

Add error check after 'PyFloat_AsDouble' call.
Due to Python C API documentation, method 'PyFloat_AsDouble' can return
'-1.0' upon failure. So it requires error check. This rule forces to
check for error and throw exception in case of error.

Add tests, which cover problem of conversion 'float' and 'double'
values.

Resolves: #486.

* Fix failing 'test_double_conversion' test

Fix incorrect part of 'test_double_conversion' test in test_conversion.py.
An 'OverflowError' was expected for valid values, which represent Python
'inf' and '-inf'.
The problem was identified with support of conversion for Python 'inf'
and '-inf' to .NET System.Double PositiveInfinity and NegativeInfinity.

See also: #487.
2017-06-14 09:18:46 -05:00
testrunner123 bfce5e299d Fix missing Incref for Namespace and Assembly (#482)
Fix crash of python interpreter 3.5 64-bit in garbage collector
2017-06-14 13:50:56 +02:00
Dave Hirschfeld cc48374233 Updated CHANGELOG and AUTHORS (#462) 2017-05-11 09:47:47 +02:00
Ville Vainio 39e4673fb2 Support clr.GetClrType() - as in IronPython (#433)
* Support clr.GetClrType() - as in IronPython

Implements https://github.com/pythonnet/pythonnet/issues/432

* Tests for clr.GetClrType()

* clr.GetClrType test: ensure bad type raises ArgumentException

* clr.GetClrType - added xml doc comment, updated AUTHORS.md and CHANGELOG.md

* Simplified implementation of clr.GetClrType (taken from IronPython)
2017-03-23 17:51:22 -07:00
Christopher Pow a94e155a4f Msbuild15 patch (#435)
* Update AUTHORS.md

* Update CHANGELOG.md

* Update setup.py

* Update bld.bat
2017-03-22 20:31:26 -07:00
Victor Uriarte e753b72257 Update AUTHORS
Add names to a few more contributors
2017-02-21 12:24:29 -07:00
yagweb 1d583c7e18 Pass arbitrary .NET object as value of an attr of PyObject by dyn type(#373) 2017-02-16 23:07:28 -07:00
Victor Uriarte 78d76d2ca5 MIT License (#314)
* MIT License

* Update LICENSE

* Update license in assembly and setup files

* Add AUTHORS.md
2017-01-11 04:18:35 -05:00