Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: skynode/pythonnet
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.3.0
Choose a base ref
...
head repository: skynode/pythonnet
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: HEAD
Choose a head ref
  • 19 commits
  • 36 files changed
  • 11 contributors

Commits on Mar 11, 2017

  1. Bump version: 2.3.0.→ 2.4.0.dev0

    Can't start at dev1 as bumpversion breaks if we add a minimum start version for dev.
    vmuriart committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    51ec8a4 View commit details
    Browse the repository at this point in the history
  2. Build conda recipe on new tags

    Ensure that new binaries are generated for releases which are usually not from pull_requests.
    
    Using APPVEYOR_REPO_TAG_NAME because yields shorter syntax
    because it's undefined (ie false) when not a tag
    and APPVEYOR_REPO_TAG has to be compared to lowercase `true` instead
    of `True` like everything else.
    
    Definitions:
    APPVEYOR_REPO_TAG_NAME - contains tag name for builds started by tag; otherwise this variable is undefined;
    APPVEYOR_REPO_TAG - true if build has started by pushed tag; otherwise false;
    
    https://www.appveyor.com/docs/environment-variables/
    vmuriart committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    d40a2dc View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2017

  1. Fix numpy array and README example (pythonnet#427)

    * Fix numpy array and README example
    
    Generic Lists were falling through and being classified as `typecode.Object`
    To solve this, adding a specific processing branch for `Generic Lists` only
    to avoid breaking the changes from 471673a
    
    Closes pythonnet#249
    
    * Update syntax
    vmuriart authored Mar 14, 2017
    Configuration menu
    Copy the full SHA
    4df6105 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2017

  1. Msbuild15 patch (pythonnet#435)

    * Update AUTHORS.md
    
    * Update CHANGELOG.md
    
    * Update setup.py
    
    * Update bld.bat
    christopherpow authored and vmuriart committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    a94e155 View commit details
    Browse the repository at this point in the history
  2. Create .mention-bot

    denfromufa authored Mar 23, 2017
    Configuration menu
    Copy the full SHA
    0757594 View commit details
    Browse the repository at this point in the history
  3. WPF DynamicGrid python and XAML layout files (pythonnet#280)

    denfromufa authored and vmuriart committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    c8f3756 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2017

  1. Support clr.GetClrType() - as in IronPython (pythonnet#433)

    * Support clr.GetClrType() - as in IronPython
    
    Implements pythonnet#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)
    vivainio authored and vmuriart committed Mar 24, 2017
    Configuration menu
    Copy the full SHA
    39e4673 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2017

  1. Update .mention-bot

    denfromufa authored Mar 28, 2017
    Configuration menu
    Copy the full SHA
    7dba105 View commit details
    Browse the repository at this point in the history
  2. Update .mention-bot

    denfromufa authored Mar 28, 2017
    Configuration menu
    Copy the full SHA
    3f83e98 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2017

  1. Re-add CallingConvention

    vmuriart committed Apr 2, 2017
    Configuration menu
    Copy the full SHA
    67650a2 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2017

  1. Configuration menu
    Copy the full SHA
    29b74c7 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2017

  1. Configuration menu
    Copy the full SHA
    cc48374 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2017

  1. Fixing Travis CI for mono 5.0 (pythonnet#471)

    * Fixing setup.py with mono 5.0
    
    * Go back to xbuild
    
    * Trying to figure out the error cause. Apparently xbuild cannot process the Copy section of the pdb file in the projects.
    
    I have commented them out for now, but this is not a real soltion since they are needed in debug versions. Just to se if it fixes the CI.
    dsuarezv authored and denfromufa committed May 24, 2017
    Configuration menu
    Copy the full SHA
    d9a3666 View commit details
    Browse the repository at this point in the history
  2. Implement named arguments and With semantics in C# embedding side (py…

    …thonnet#461)
    
    * Added python "with" construction
    
    * Added some unit tests for new With method
    
    * Renamed With tests for easier grouping
    
    * Support for named arguments to invoke python methods
    
    * Named argument tests cosmetic changed
    
    * Fixed failing test in python 2.7
    
    * Reset line endings in csproj to LF
    dsuarezv authored and denfromufa committed May 24, 2017
    Configuration menu
    Copy the full SHA
    ce14424 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2017

  1. documentation update for keyword arguments (pythonnet#483)

    * documentation update for keyword arguments
    
    * Update README.md
    
    * Update CHANGELOG.md
    denfromufa authored Jun 7, 2017
    Configuration menu
    Copy the full SHA
    aef02e2 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2017

  1. add a scope class to manage the context of interaction with Python an… (

    pythonnet#381)
    
    * add a scope class to manage the context of interaction with Python and simplify the variable exchanging
    
    * Deprecate public RunString
    
    Had to remove defaults to disambiguate call on `internal RunString`.
    Can re-add after removing `public RunString`
    
    Closes pythonnet#401
    
    * Rename several methods and add three methods
    
    Referring to IronPython, change the name of the methods Get, Exists, SetLocal, DelLocal to GetVariable, ContainsVariable, SetVariable, RemoveVariable.
    Hidden the methods SetGlobalVariable, RemoveGlobalVariable.
    Add a new method 'Compile' to compile string into ast, the ast can be seen as the ScriptSource of IronPython.
    Add two new methods 'Execute' and 'Execute<T>' to execute an ast and
    obtain the result, corresponding to the 'Execute' method of IronPython.
    
    * rebased
    
    * Rebased update
    
    * format cleanup
    
    * create unnamed pyscope, make PyScope.GILState save
    
    remove method GetInstHandle
    add function to create unnamed pyscope
    add a field isDisposed for PyScope.GILState to make it more save
    
    * fixup! create unnamed pyscope, make PyScope.GILState save
    
    * remove GIL and rebased
    
    * Add several methods
    
    add ImportScope: a scope can import variable from any scope, equivalent to
    python 'import * from mod'
    add dynamic member support
    add an OnDispose event
    remove the field ‘globals’ referring to python module
    put the scope class in a new file
    
    Unit test:
    TestThread uses scope function replacing Exec/Eval to speed up the execution.
    
    * add a Variables method
    
    * fixup! add a Variables method
    
    * remove private method _GetVariable
    
    * add unit test for Variables() method
    
    * add several methods and rebased
    
    Add an optional dict parameter for Eval/Exec/Execute methods
    Add a new field obj which point to a Python Module (same as pyobject)
    Add a static method New
    Rename the old ImportScope method to ImportAllFromScope
    Add a new ImportScope method and add a unit test for it
    Rename the CreateScope method to NewScope
    
    * add a new class PyScopeManager
    
    * cleaned up the Import methods
    
    * updated according to filmor's comments
    
    * fixup! updated according to filmor's comments
    
    * Get/Set Methods renamed
    yagweb authored and denfromufa committed Jun 9, 2017
    Configuration menu
    Copy the full SHA
    550a027 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2017

  1. Fix missing Incref for Namespace and Assembly (pythonnet#482)

    Fix crash of python interpreter 3.5 64-bit in garbage collector
    testrunner123 authored and filmor committed Jun 14, 2017
    Configuration menu
    Copy the full SHA
    bfce5e2 View commit details
    Browse the repository at this point in the history
  2. Fix conversion of 'float' and 'double' values (pythonnet#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: pythonnet#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: pythonnet#487.
    Konstantin-Posudevskiy authored and denfromufa committed Jun 14, 2017
    Configuration menu
    Copy the full SHA
    d39f9f6 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2017

  1. clrmethod working for python 2 (pythonnet#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
    rickardraysearch authored and filmor committed Jun 16, 2017
    Configuration menu
    Copy the full SHA
    12af794 View commit details
    Browse the repository at this point in the history
Loading