FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Internal implement Py_CompileString for compat with CPython 3.8.0 by amos402 · Pull Request #1000 · pythonnet/pythonnet · GitHub

Repository navigation

Internal implement Py_CompileString for compat with CPython 3.8.0 - #1000

Merged
filmor merged 1 commit into
pythonnet:masterfrom
amos402:PyCompileString-compat
Dec 2, 2019
Merged

filmor merged 1 commit into
pythonnet:masterfrom
amos402:PyCompileString-compat

Conversation

amos402 commented Nov 30, 2019

Copy link
Copy Markdown
Member

What does this implement/fix? Explain your changes.

Since the Py_CompileString is a macro in 3.8.0, a compatibility should be add, assume the release user don't use Py_LIMITED_API, we can implement it internal.

Also correct the type of start from IntPtr to int, according the protoype is PyObject* Py_CompileString(const char *str, const char *filename, int start)

Does this close any currently open issues?

#988 (comment)

Any other comments?

...

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Add yourself to AUTHORS
  • Updated the CHANGELOG

codecov-io commented Nov 30, 2019 •
edited
Loading

Copy link
Copy Markdown

Codecov Report

Merging #1000 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1000   +/-   ##
=======================================
  Coverage   86.71%   86.71%           
=======================================
  Files           1        1           
  Lines         301      301           
=======================================
  Hits          261      261           
  Misses         40       40
Flag Coverage Δ
#setup_linux 65.44% <ø> (ø) ⬆️
#setup_windows 71.42% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 34d8d35...65d3501. Read the comment docs.

filmor merged commit abbe870 into pythonnet:master Dec 2, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL