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

Gallery updates 2.8 #11047

Merged
merged 3 commits into from
Aug 24, 2020
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
Binary file added extern/gallery/Data/11-Python3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions extern/gallery/en-US/GalleryContents.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
<Header>Need More Help?</Header>
<Body>There are more resources to help you learn more about Dynamo.&#10;- OFFICIAL WEBSITE: dynamobim.com&#10;- USERS' GUIDE: dynamoprimer.com&#10;- NODE DICTIONARY: dictionary.dynamobim.com&#10;- SAMPLE FILES: check out examples in the application menu under "Help > Samples"</Body>
<ImagePath>10-Help.png</ImagePath>
</GalleryContent>
<GalleryContent>
<Header>Dynamo Python Node</Header>
<Body>[1] NEW PYTHON FEATURES: Access the Python Engine selector, Migration Assistant and More Information panel.&#10;[2] MIGRATION ASSISTANT: Use the Migration Assistant to help migrate your code from Python 2 to Python 3.&#10;[3] MORE INFORMATION PANEL: Understand the differences between IronPython2 and CPython3.</Body>
<ImagePath>11-Python3.png</ImagePath>
</GalleryContent>
</GalleryUiContents>
</GalleryContents>
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,13 @@
This stopped on January 1st 2020, when Python 2 support from the PSF officially ended.
</p>

<h3>Backwards Compatibility</h3>
<p>
Dynamo 2.7 introduces a new Python engine, CPython3, that provides access to Python 3 inside of Dynamo. There
is no guarantee that any code written in the CPython3 environment will work in previous versions of Dynamo.
Code authors should ensure backwards compatibility with both the IronPython2 and CPython3 versions as desired.
</p>

<h3>Why did we need to change the Python version</h3>
<p>
Dynamo, and many other C#-based environments, uses a tool called IronPython to move data between .NET objects
Expand Down