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

remove IronPython code and extension #14706

Merged
merged 3 commits into from
Dec 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading