Skip to content

Commit

Permalink
remove IronPython code and extension (#14706)
Browse files Browse the repository at this point in the history
* remove legacy completion provider

* remove

* remove obsolete -arguable

tests seem to pass going to merge this and cherry pick to 3.0
  • Loading branch information
mjkkirschner authored Dec 10, 2023
1 parent 42ba299 commit 9e18979
Show file tree
Hide file tree
Showing 27 changed files with 19 additions and 3,706 deletions.
94 changes: 0 additions & 94 deletions src/IronPythonExtension/IronPythonExtension.cs

This file was deleted.

38 changes: 0 additions & 38 deletions src/IronPythonExtension/IronPythonExtension.csproj

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions src/IronPythonExtension/Properties/AssemblyInfo.cs

This file was deleted.

29 changes: 2 additions & 27 deletions src/Libraries/DSCPython/CPythonEvaluator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,6 @@ public void Dispose()
}
}

[SupressImportIntoVM]
[Obsolete("Deprecated. Please use Dynamo.PythonServices.EvaluationState instead.")]
public enum EvaluationState { Begin, Success, Failed }

[SupressImportIntoVM]
[Obsolete("Deprecated. Please use evaluation handlers from Dynamo.PythonServices instead.")]
public delegate void EvaluationEventHandler(EvaluationState state, PyScope scope, string code, IList bindingValues);

/// <summary>
/// Evaluates a Python script in the Dynamo context.
Expand Down Expand Up @@ -624,12 +617,7 @@ private static bool IsMarkedToSkipConversion(PyObject pyObj)

#region Evaluation events

/// <summary>
/// Emitted immediately before execution begins
/// </summary>
[SupressImportIntoVM]
[Obsolete("Deprecated. Please use EvaluationStarted instead")]
public static event EvaluationEventHandler EvaluationBegin;



/// <summary>
Expand All @@ -638,13 +626,6 @@ private static bool IsMarkedToSkipConversion(PyObject pyObj)
[SupressImportIntoVM]
public override event EvaluationStartedEventHandler EvaluationStarted;

/// <summary>
/// Emitted immediately after execution ends or fails
/// </summary>
[SupressImportIntoVM]
[Obsolete("Deprecated. Please use EvaluationFinished instead.")]
public static event EvaluationEventHandler EvaluationEnd;

/// <summary>
/// Emitted immediately after execution ends or fails
/// </summary>
Expand All @@ -661,8 +642,6 @@ private void OnEvaluationBegin(PyScope scope,
string code,
IList bindingValues)
{
// Call deprecated events until they are completely removed.
EvaluationBegin?.Invoke(EvaluationState.Begin, scope, code, bindingValues);

if (EvaluationStarted != null)
{
Expand All @@ -686,11 +665,7 @@ private void OnEvaluationEnd(bool isSuccessful,
string code,
IList bindingValues)
{
// Call deprecated events until they are completely removed.
EvaluationEnd?.Invoke(isSuccessful ?
EvaluationState.Success :
EvaluationState.Failed, scope, code, bindingValues);


if (EvaluationFinished != null)
{
EvaluationFinished(isSuccessful ? Dynamo.PythonServices.EvaluationState.Success : Dynamo.PythonServices.EvaluationState.Failed,
Expand Down
54 changes: 0 additions & 54 deletions src/Libraries/DSIronPython/DSIronPython.csproj

This file was deleted.

18 changes: 0 additions & 18 deletions src/Libraries/DSIronPython/IronPythonCodeCompletionDataCore.cs

This file was deleted.

Loading

0 comments on commit 9e18979

Please sign in to comment.