Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pybuffer#1195

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
lostmsu merged 8 commits intopythonnet:masterfromkoubaa:pybuffer
Aug 7, 2020
Merged

Pybuffer#1195

lostmsu merged 8 commits intopythonnet:masterfromkoubaa:pybuffer
Aug 7, 2020

Conversation

koubaa
Copy link
Contributor

What does this implement/fix? Explain your changes.

Rebase ofhttps://github.com/pythonnet/pythonnet/pull/980/files
...

Does this close any currently open issues?

...

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 toAUTHORS
  • Updated theCHANGELOG

@koubaa
Copy link
ContributorAuthor

koubaa commentedAug 1, 2020
edited
Loading

@filmor I took this one. After rebasing I just had to bring back a property on the runtime which we removed. It used to be public but I brought it back as internal.

@codecov-commenter
Copy link

codecov-commenter commentedAug 1, 2020
edited
Loading

Codecov Report

Merging#1195 intomaster willnot change coverage.
The diff coverage isn/a.

Impacted file tree graph

@@           Coverage Diff           @@##           master    #1195   +/-   ##=======================================  Coverage   86.25%   86.25%           =======================================  Files           1        1             Lines         291      291           =======================================  Hits          251      251             Misses         40       40
FlagCoverage Δ
#setup_linux64.94% <ø> (ø)
#setup_windows72.50% <ø> (ø)

Flags with carried forward coverage won't be shown.Click here to find out more.


Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last updatef72a16d...0ed417c. Read thecomment docs.

//"3.0a5+ (py3k:63103M, May 12 2008, 00:53:55) \n[GCC 4.2.3]"

//we only support python 3 so we just need to check the third character
return 30 + Convert.ToInt32(versionString[2]);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This seems very brittle to me, there must be a better solution. Also, we don't support any Python version before 3.5, so checks for that can go.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@filmor I could use sys.version_info but I'd rather not run python code. Let me look for a C API equivalent

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@filmor see now

@koubaa
Copy link
ContributorAuthor

@lostmsu please review

@lostmsulostmsu merged commit8e029ef intopythonnet:masterAug 7, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@filmorfilmorfilmor left review comments

@lostmsulostmsulostmsu requested changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@koubaa@codecov-commenter@filmor@lostmsu@thesn10

[8]ページ先頭

©2009-2025 Movatter.jp