Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for decimal and fixing build issues in pythonnet #1

Merged
merged 9 commits into from
Jan 6, 2017
Merged

Support for decimal and fixing build issues in pythonnet #1

merged 9 commits into from
Jan 6, 2017

Conversation

jaredbroad
Copy link
Member

Fixing build issues with PythonNet and adding support for System Decimals in LEAN / Python.

AlexCatarino and others added 9 commits December 7, 2016 21:34
Converts System.Decimal to python float
Implements convertion from System.Decimal to decimal.Decimal
Implements conversion from decimal.Decimal to System.Decimal
* Fixed pythonnet#296

* Added test for pythonnet#296

* removed windows line endings

* Fixed comment and removed \r from added source
Converts System.Decimal to python float
Implements convertion from System.Decimal to decimal.Decimal
Implements conversion from decimal.Decimal to System.Decimal
@jaredbroad jaredbroad merged commit 9d2c31a into QuantConnect:master Jan 6, 2017
Martin-Molinero pushed a commit that referenced this pull request Feb 4, 2021
Martin-Molinero pushed a commit that referenced this pull request Feb 4, 2021
@C-SELLERS C-SELLERS mentioned this pull request Feb 16, 2021
Martin-Molinero pushed a commit that referenced this pull request Mar 9, 2021
Martin-Molinero pushed a commit that referenced this pull request Apr 26, 2022
Reflect PR#8 MISSING CONVERTER.CS L516-528 Changes

Reflect PR #14

Reflect PR #15

Reflect PR #19

Reflect PR #25

Reflect PR #34

Reflect PR #35

Implement List Conversion, Reflect PR #37 Tests

Reflect PR #38 Partial: Assembly Manager Improvements

Reflect PR #38

Reflect PR #42 KeyValuePairEnumerableObject

Reflect PR #10 Runtime DecimalType

Add TimeDelta and DateTime tests

Fix DecimalConversion test for float conversion

Converter mod tweaks

Adjust a few broken PyTests

Use _pydecimal to not interfere with Lean/decimal.py

Add MethodBinder tests

MethodBinder implicit resolution

Fix bad cherry pick

Refactoring precedence resolution

Deal with operator binding

Fix `TestNoOverloadException` unit test

Fix for DomainReload tests

Add InEquality Operator Test

Dont PyObjects precedence in Operator methods

Revert "Merge pull request pythonnet#1240 from danabr/auto-cast-ret-val-to-interface"

This reverts commit 50d947f, reversing
changes made to d44f1da.

Fix Primitive Conversion to Int

Post rebase fix

Add PrimitiveIntConversion test

Add test for interface derived classes

Add to Authors.md

Load in current directory into Python Path

Include Python Lib in package

Update as QuantConnect.PythonNet; include console exe in package

Drop MaybeType from ClassManager for performance

Package nPython from same configuration

Address KWargs and Params; also cleanup

Add unit tests

Add pytest params unit test to testrunner

Remove testing case from TestRuntime.cs

Fix HandleParamsArray

Test case

Version bump

Update QC Tests

Refactor Params Fix

Fix assembly info

Handle breaking PyTests

Cleanup

Optimize Params Handling

First reflection improvements

Add TypeAccessor improvements and a bunch more tests

More improvements

Bump version to 2.0.2

Revert ClassManager changes

Remove readonly

Replace FastMember with Fasterflect

Add global MemberGetter/MemberSetter cache

Minor changes

Make Fasterflect work with all regression tests

Fix performance regressions

Revert accidental pythonnet/runtime/.gitkeep removal

Handle sending a python list to an enumerable expecting method

- Converter with handle sending a python List to a method expecting a
  csharp enumerable. Adding unit test

Bump version to 2.0.3

Update to net5.0

- Updating all projects to target net.50
- Remove domain test since it's not supported in net5.0

Bump pythonNet version 2.0.4

Add reproducing test

Apply fix

Catch implicit conversion throw

Cleanup solution

Cleanup V2

Assert Error message

Small performance improvement

Drop print statement from unit test

Bump version to 2.0.5

Bump references to new version

Fix for methods with different numerical precision overloads

  - Fix for methods with different numerical precision overloads. Method
    precedence will give higher priority to higher resolution numerical
    arguments. Adding unit test

Version bump to 2.0.6

KeyValuePair conversion and performance

- Improve DateTime conversion performance
- Add support for KeyValuePair conversions
- Minor improvements for convertions and method binder

TypeManager and decimal improvements

Reduce unrequired casting

Version bump to 2.0.7

Apply fixes

Project fix for linux systems

Add unit test

Converter cleanup

More adjustments and fixes

Add additional Py test & cleanup

Use the generic match when others fail

Add test for non-generic choice

Address review

Cleanup

Version bump 2.0.8

Add performance test, also add caching

Make Cache static to apply to all binders

Make adjustments from testing

Add test where overload exists with an already typed generic parameter

use `ContainsGenericParameters` to check for unassigned generics

Implement fix

Add accompanying test

Add additional tests

Fix minor issue with py Date -> DateTime

Refactor solution, use margs directly convert in ResolveGenericMethod

Version Bump 2.0.9

Add missing exception clearing. Adding unit test

Version bump 2.0.10

Handle readonly conversion to list. Adding unit tests

Bump version to 2.0.11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants