- Notifications
You must be signed in to change notification settings - Fork752
Official python 3.7 support#698
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
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
25 commits Select commitHold shift + click to select a range
515d97d
Create interop37.cs
den-run-ai37f6c8f
Update interop37.cs
den-run-ai77e4d2d
try faking minimal crypt.h
den-run-ai482d3fe
Merge branch 'master' into py37
filmore8895bc
Update appveyor.yml
den-run-ai8b0145c
Update test_exceptions.py
den-run-ai049c7da
Update test_exceptions.py
den-run-ai279c91d
official python 3.7 on travis CI, but xenial with sudo
den-run-ai86579be
xenial support for mono and .netcore
den-run-aie60d93e
Update .travis.yml
den-run-ai5ef579a
passing pthread support to clang
den-run-ai97c8245
force through posix threading support
den-run-aied14f3b
Update geninterop.py
den-run-ai5d39b50
temporary diagnostic build to check for nuget/msbuild errors in mono
den-run-ai98f4f84
trying out "detailed" verbosity to find out the issues with mono/msbu…
den-run-aib3168cf
try one more verbosity level - "normal"
den-run-ai80c6419
Merge branch 'master' into py37
filmor49467dd
Update setup.py
den-run-ai89dff06
Merge branch 'master' into py37
den-run-ai5db2f27
Merge branch 'master' into py37
filmorc1a47a5
revert back nuget update
den-run-aicea848e
Update setup.py
den-run-aibadb6ea
Update Python.Runtime.15.csproj
den-run-ai64c39f0
Update Python.Runtime.csproj
den-run-ai222874c
Update CHANGELOG.md
den-run-aiFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
39 changes: 29 additions & 10 deletions.travis.yml
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
1 change: 1 addition & 0 deletionsCHANGELOG.md
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
3 changes: 3 additions & 0 deletionsappveyor.yml
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
4 changes: 2 additions & 2 deletionssetup.py
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
2 changes: 1 addition & 1 deletionsrc/runtime/Python.Runtime.15.csproj
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
10 changes: 5 additions & 5 deletionssrc/runtime/Python.Runtime.csproj
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
149 changes: 149 additions & 0 deletionssrc/runtime/interop37.cs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
// Auto-generated by geninterop.py. | ||
// DO NOT MODIFIY BY HAND. | ||
#if PYTHON37 | ||
using System; | ||
using System.Collections; | ||
using System.Collections.Specialized; | ||
using System.Runtime.InteropServices; | ||
using System.Reflection; | ||
using System.Text; | ||
namespace Python.Runtime | ||
{ | ||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] | ||
internal class TypeOffset | ||
{ | ||
static TypeOffset() | ||
{ | ||
Type type = typeof(TypeOffset); | ||
FieldInfo[] fi = type.GetFields(); | ||
int size = IntPtr.Size; | ||
for (int i = 0; i < fi.Length; i++) | ||
{ | ||
fi[i].SetValue(null, i * size); | ||
} | ||
} | ||
public static int magic() | ||
{ | ||
return ob_size; | ||
} | ||
// Auto-generated from PyHeapTypeObject in Python.h | ||
public static int ob_refcnt = 0; | ||
public static int ob_type = 0; | ||
public static int ob_size = 0; | ||
public static int tp_name = 0; | ||
public static int tp_basicsize = 0; | ||
public static int tp_itemsize = 0; | ||
public static int tp_dealloc = 0; | ||
public static int tp_print = 0; | ||
public static int tp_getattr = 0; | ||
public static int tp_setattr = 0; | ||
public static int tp_as_async = 0; | ||
public static int tp_repr = 0; | ||
public static int tp_as_number = 0; | ||
public static int tp_as_sequence = 0; | ||
public static int tp_as_mapping = 0; | ||
public static int tp_hash = 0; | ||
public static int tp_call = 0; | ||
public static int tp_str = 0; | ||
public static int tp_getattro = 0; | ||
public static int tp_setattro = 0; | ||
public static int tp_as_buffer = 0; | ||
public static int tp_flags = 0; | ||
public static int tp_doc = 0; | ||
public static int tp_traverse = 0; | ||
public static int tp_clear = 0; | ||
public static int tp_richcompare = 0; | ||
public static int tp_weaklistoffset = 0; | ||
public static int tp_iter = 0; | ||
public static int tp_iternext = 0; | ||
public static int tp_methods = 0; | ||
public static int tp_members = 0; | ||
public static int tp_getset = 0; | ||
public static int tp_base = 0; | ||
public static int tp_dict = 0; | ||
public static int tp_descr_get = 0; | ||
public static int tp_descr_set = 0; | ||
public static int tp_dictoffset = 0; | ||
public static int tp_init = 0; | ||
public static int tp_alloc = 0; | ||
public static int tp_new = 0; | ||
public static int tp_free = 0; | ||
public static int tp_is_gc = 0; | ||
public static int tp_bases = 0; | ||
public static int tp_mro = 0; | ||
public static int tp_cache = 0; | ||
public static int tp_subclasses = 0; | ||
public static int tp_weaklist = 0; | ||
public static int tp_del = 0; | ||
public static int tp_version_tag = 0; | ||
public static int tp_finalize = 0; | ||
public static int am_await = 0; | ||
public static int am_aiter = 0; | ||
public static int am_anext = 0; | ||
public static int nb_add = 0; | ||
public static int nb_subtract = 0; | ||
public static int nb_multiply = 0; | ||
public static int nb_remainder = 0; | ||
public static int nb_divmod = 0; | ||
public static int nb_power = 0; | ||
public static int nb_negative = 0; | ||
public static int nb_positive = 0; | ||
public static int nb_absolute = 0; | ||
public static int nb_bool = 0; | ||
public static int nb_invert = 0; | ||
public static int nb_lshift = 0; | ||
public static int nb_rshift = 0; | ||
public static int nb_and = 0; | ||
public static int nb_xor = 0; | ||
public static int nb_or = 0; | ||
public static int nb_int = 0; | ||
public static int nb_reserved = 0; | ||
public static int nb_float = 0; | ||
public static int nb_inplace_add = 0; | ||
public static int nb_inplace_subtract = 0; | ||
public static int nb_inplace_multiply = 0; | ||
public static int nb_inplace_remainder = 0; | ||
public static int nb_inplace_power = 0; | ||
public static int nb_inplace_lshift = 0; | ||
public static int nb_inplace_rshift = 0; | ||
public static int nb_inplace_and = 0; | ||
public static int nb_inplace_xor = 0; | ||
public static int nb_inplace_or = 0; | ||
public static int nb_floor_divide = 0; | ||
public static int nb_true_divide = 0; | ||
public static int nb_inplace_floor_divide = 0; | ||
public static int nb_inplace_true_divide = 0; | ||
public static int nb_index = 0; | ||
public static int nb_matrix_multiply = 0; | ||
public static int nb_inplace_matrix_multiply = 0; | ||
public static int mp_length = 0; | ||
public static int mp_subscript = 0; | ||
public static int mp_ass_subscript = 0; | ||
public static int sq_length = 0; | ||
public static int sq_concat = 0; | ||
public static int sq_repeat = 0; | ||
public static int sq_item = 0; | ||
public static int was_sq_slice = 0; | ||
public static int sq_ass_item = 0; | ||
public static int was_sq_ass_slice = 0; | ||
public static int sq_contains = 0; | ||
public static int sq_inplace_concat = 0; | ||
public static int sq_inplace_repeat = 0; | ||
public static int bf_getbuffer = 0; | ||
public static int bf_releasebuffer = 0; | ||
public static int name = 0; | ||
public static int ht_slots = 0; | ||
public static int qualname = 0; | ||
public static int ht_cached_keys = 0; | ||
/* here are optional user slots, followed by the members. */ | ||
public static int members = 0; | ||
} | ||
} | ||
#endif |
3 changes: 2 additions & 1 deletionsrc/tests/test_exceptions.py
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
1 change: 1 addition & 0 deletionstools/geninterop/fake_libc_include/crypt.h
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "features.h" |
5 changes: 3 additions & 2 deletionstools/geninterop/geninterop.py
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.