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
Show file tree
Hide file tree
Changes from1 commit
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
PrevPrevious commit
NextNext commit
remove 3.5 checks
  • Loading branch information
@koubaa
koubaa committedAug 1, 2020
commit7b30cfa37178553876104b4169b9a3d582ebf717
4 changes: 0 additions & 4 deletionssrc/embed_tests/TestPyBuffer.cs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,8 +20,6 @@ public void Dispose()
[Test]
public void TestBufferWrite()
{
if (Runtime.Runtime.pyversionnumber < 35) return;

string bufferTestString = "hello world! !$%&/()=?";

using (Py.GIL())
Expand All@@ -46,8 +44,6 @@ public void TestBufferWrite()
[Test]
public void TestBufferRead()
{
if (Runtime.Runtime.pyversionnumber < 35) return;

string bufferTestString = "hello world! !$%&/()=?";

using (Py.GIL())
Expand Down
1 change: 0 additions & 1 deletionsrc/runtime/pyobject.cs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1102,7 +1102,6 @@ public override int GetHashCode()
/// </remarks>
public PyBuffer GetBuffer(PyBUF flags = PyBUF.SIMPLE)
{
if (Runtime.pyversionnumber < 35) throw new NotSupportedException("GetBuffer requires at least Python 3.5");
return new PyBuffer(this, flags);
}

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp