Skip to content

Commit

Permalink
Update README.md, cosmetic changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
vasily-v-ryabov committed Jul 7, 2015
1 parent 0c07591 commit b0335c3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ but it also supports more complex actions.
* Download [latest pywinauto release](https://github.com/pywinauto/pywinauto/releases/download/0.5.0/pywinauto-0.5.0.zip)
* Just unpack and run `python setup.py install`

### Release notes (pywinauto 0.5.0)
### Planning pywinauto 0.5.1 (2015 July, 14)
- [x] Resolved pip issues
- [x] Warnings about mismatched Python/application bitness
- [x] Added "TCheckBox" class name to ButtonWrapper detection list

### pywinauto 0.5.0 release notes (2015 June, 30)
- [x] 64-bit Python and 64-bit apps support (but 32-bit Python is recommended for 32-bit apps)
- [x] Python 2.x/3.x compatibility
- [!] Added pyWin32 dependency (silent install by pip for 2.7 and 3.1+)
Expand All @@ -39,9 +44,10 @@ but it also supports more complex actions.
### Testing status
* [Unit tests pass rate for master branch](https://github.com/pywinauto/pywinauto/wiki/Unit-testing-status)

### AppVeyor testing status
### Continuous Integration
* [![Build status](https://ci.appveyor.com/api/projects/status/ykk30v7vcvkmpnoq/branch/master?svg=true)](https://ci.appveyor.com/project/vasily-v-ryabov/pywinauto/branch/master)
* [![codecov.io](http://codecov.io/github/pywinauto/pywinauto/coverage.svg?branch=master)](http://codecov.io/github/pywinauto/pywinauto?branch=master)
* [![Code Issues](http://www.quantifiedcode.com/api/v1/project/6d66337b96ed4cb1b01574ec3d39f9e7/badge.svg)](http://www.quantifiedcode.com/app/project/6d66337b96ed4cb1b01574ec3d39f9e7)

#### Packages required for running unit tests
* [Pillow](https://pypi.python.org/pypi/Pillow/2.7.0) or PIL
Expand Down
4 changes: 2 additions & 2 deletions pywinauto/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ def AssertValidProcess(process_id):
# Set instance variable _module if not already set
#process_handle = win32api.OpenProcess(win32con.PROCESS_DUP_HANDLE | win32con.PROCESS_QUERY_INFORMATION, 0, process_id) # read and query info
try:
process_handle = win32api.OpenProcess(0x400 | 0x010, 0, process_id) # read and query info
process_handle = win32api.OpenProcess(win32con.MAXIMUM_ALLOWED, 0, process_id) # read and query info
except pywintypes.error as exc:
raise ProcessNotFoundError(str(exc) + ', pid = ' + str(process_id))

Expand Down Expand Up @@ -1275,7 +1275,7 @@ def _warn_incorrect_binary_bitness(exe_name):
if handleprops.is64bitbinary(exe_name) and not is_x64_Python():
warnings.simplefilter('always', UserWarning) # warn for every 32-bit binary
warnings.warn(
"Running 64-bit binary from 32-bit Python may work incorrectly (please use 64-bit Python instead)",
"64-bit binary from 32-bit Python may work incorrectly (please use 64-bit Python instead)",
UserWarning, stacklevel=2)

#=========================================================================
Expand Down
4 changes: 2 additions & 2 deletions pywinauto/handleprops.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ def is64bitprocess(process_id):
from pywinauto.sysinfo import is_x64_OS
is32 = True
if is_x64_OS():
import win32process, win32api
phndl = win32api.OpenProcess(0x400, 0, process_id)
import win32process, win32api, win32con
phndl = win32api.OpenProcess(win32con.MAXIMUM_ALLOWED, 0, process_id)
if phndl:
is32 = win32process.IsWow64Process(phndl)
#print("is64bitprocess, is32: %d, procid: %d" % (is32, process_id))
Expand Down

0 comments on commit b0335c3

Please sign in to comment.