-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: tminka/pythonnet
base: TestPythonTest
head repository: tminka/pythonnet
compare: master
- 12 commits
- 61 files changed
- 6 contributors
Commits on Jan 5, 2021
-
Merge pull request pythonnet#1341 from tminka/TestPythonTest
Python tests can now be debugged by running them as embedded tests within NUnit Fixed import hook replacing import error message
Configuration menu - View commit details
-
Copy full SHA for 96cc739 - Browse repository at this point
Copy the full SHA 96cc739View commit details -
Operator overloads support (pythonnet#1324)
C# operator methods generate instance methods on the Python side like `__add__`. The arguments passed from Python are then processed by `MethodBinder`. Co-authored-by: Victor <lost@losttech.software>
Configuration menu - View commit details
-
Copy full SHA for 9f01ebb - Browse repository at this point
Copy the full SHA 9f01ebbView commit details
Commits on Jan 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0c41273 - Browse repository at this point
Copy the full SHA 0c41273View commit details -
Support changes to CLR code when domain reloads
* Adds test cases for member changes during a domain reload * Rework the serialization of reflected types Serialization of System.Type, MemberInfo and MethodBase is now string based. At deserialization, use reflection to attempt to recreate the object, which may fail safely instead of throwing a SerializaitonException during the deserialization of the whoie data stream. Appropriate Exceptions will now be raised when the Maybe*'s Value property. ClassBase objects are now de-initialized and re-initialized in Reload mode so that it's tp_dict picks up newly added members and removed members no longer linger. ModuleObject clears it's cache and remove cached members from it's tp_dict. Minor refactoring and modernization of MethodObject and MethodBinder * Call PyType_Modified after modifying the type Changing a type's attribute causes problem with it's cache. Force the type to refresh itself when modifying it. * Refactor the member binding logic of ClassManager So that we can use that same logic when deserializing Maybe* types * Include info about why deserialization failed in Maybe* * Remove TestClassReference The test case is covered in test_domain_relaod Co-authored-by: Benedikt Reinartz <filmor@gmail.com> Co-authored-by: Victor Milovanov <lost@losttech.software>
Configuration menu - View commit details
-
Copy full SHA for d6c0081 - Browse repository at this point
Copy the full SHA d6c0081View commit details
Commits on Jan 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ed6763c - Browse repository at this point
Copy the full SHA ed6763cView commit details
Commits on Jan 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e44aa46 - Browse repository at this point
Copy the full SHA e44aa46View commit details
Commits on Jan 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0f33f71 - Browse repository at this point
Copy the full SHA 0f33f71View commit details
Commits on Jan 21, 2021
-
Add PythonEngine.Interrupt (pythonnet#1337)
Also added GetPythonThreadID
Configuration menu - View commit details
-
Copy full SHA for 5fd77b1 - Browse repository at this point
Copy the full SHA 5fd77b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e7cbca - Browse repository at this point
Copy the full SHA 7e7cbcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32fdc9c - Browse repository at this point
Copy the full SHA 32fdc9cView commit details
Commits on Jan 27, 2021
-
Better error messages for method argument mismatch and others (python…
…net#1361) Better error messages for method argument mismatch, Python to managed value conversion, and other problems. - Converter.ToManaged obeys setError consistently - PyObject_Hash and tp_hash return nint - MakeGenericType and MakeGenericMethod have try/catch - RaiseTypeError sets __cause__ instead of changing the message string - PythonException.Normalize throws if an error is set - AggregateExceptions print better from Python - For an overloaded method, MethodBinder.Bind collects all binding errors with PythonExceptions as the inner.inner exceptions. - ExceptionClassObject.tp_str calls Exception.ToString() instead of Exception.Message (for justification see https://stackoverflow.com/questions/2176707/exception-message-vs-exception-tostring ) - Binding failures always have AggregateException as the cause, - Disabled test_method_parameters_change
Configuration menu - View commit details
-
Copy full SHA for 92932fd - Browse repository at this point
Copy the full SHA 92932fdView commit details
Commits on Jan 28, 2021
-
Added the ability to implement delegates with
refandoutparamet……ers in Python, by returning the modified parameter values in a tuple. BREAKING: MethodBinder omits a void return type when returning a tuple of out parameters. DelegateManager unpacks a tuple of out parameters from Python (reversing the logic in MethodBinder) and sets the out parameters of the delegate.
Configuration menu - View commit details
-
Copy full SHA for 063a674 - Browse repository at this point
Copy the full SHA 063a674View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff TestPythonTest...master