Skip to content

Commit

Permalink
Merge pull request #63 from DeanF/develop
Browse files Browse the repository at this point in the history
Added Python35 and Python36 to list of possible versions in windows.
  • Loading branch information
lmacken committed Mar 13, 2017
2 parents bc40e72 + 2417cf0 commit d0c90ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pyrasite/win/inject_python.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ int InjectPythonCode(HANDLE hProcess, const char *code, char *moduleName)

int InjectPythonCodeToPID(DWORD pid, const char *code)
{
char versions[][9] = { "Python34", "Python33", "Python32", "Python31", "Python30", "Python27", "Python26", "Python25", "Python24" };
unsigned int numVersions = 9;
char versions[][9] = { "Python36", "Python35", "Python34", "Python33", "Python32", "Python31", "Python30", "Python27", "Python26", "Python25", "Python24" };
unsigned int numVersions = 11;
unsigned int i;
int retCode = 0;
int ret;
Expand Down Expand Up @@ -262,4 +262,4 @@ int main(int argc, char *argv[])
return 20 + ret;
}
return 0;
}
}
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py26, py27, py33
envlist = py26, py27, py33, py35, py36

[testenv]
commands = nosetests
Expand Down

0 comments on commit d0c90ab

Please sign in to comment.