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

bpo-44874: deprecate Py_TRASHCAN_SAFE_BEGIN and Py_TRASHCAN_SAFE_END #27693

Merged
merged 6 commits into from Aug 18, 2021

Conversation

@iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Aug 9, 2021

Copy link
Member

@vstinner vstinner left a comment

Thanks for the nice explanation on how to port existing code!


To support older python versions in the same codebase, you
can define the following macros and use them throughout
the code (credit: these were copied from the ``mypy`` codebase)::

This comment has been minimized.

@vstinner

vstinner Aug 18, 2021
Member

It seems like mypy is released under the MIT license: https://github.com/python/mypy/blob/master/LICENSE

This comment has been minimized.

@ambv

ambv Aug 18, 2021
Contributor

How does this impact the example?

ambv and others added 2 commits Aug 18, 2021
@ambv ambv merged commit 31ee985 into python:main Aug 18, 2021
13 checks passed
13 checks passed
@github-actions
Docs
Details
@github-actions
Check for source changes
Details
@github-actions
Check if generated files are up to date
Details
@github-actions
Windows (x86)
Details
@github-actions
Windows (x64)
Details
@github-actions
macOS
Details
@github-actions
Ubuntu
Details
@github-actions
Ubuntu SSL tests with OpenSSL
Details
@github-actions
Address sanitizer Address sanitizer
Details
Azure Pipelines PR #20210818.28 succeeded
Details
@travis-ci
Travis CI - Pull Request Build Passed
Details
@bedevere-bot
bedevere/issue-number Issue number 44874 found
Details
@bedevere-bot
bedevere/news News entry found in Misc/NEWS.d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants