source:
docker/msys/pywin32git.patch@
968:1128dfecb282
Last change on this file since 968:1128dfecb282 was 920:42b14124051b, checked in by , 6 years ago | |
---|---|
File size: 8.9 KB |
-
new file .github/issue_template.md
diff --git a/.github/issue_template.md b/.github/issue_template.md new file mode 100644 index 00000000..9c724696
- + 1 Note that issues in this repository are only for bugs or feature requests in the pywin32. 2 3 **If you need support or help using this package, please follow [these instructions](https://github.com/mhammond/pywin32/blob/master/README.md#support)** - support or help requests will be closed without comment. 4 5 For all bugs, please provide the following information. 6 7 * Expected behavior and actual behavior. 8 9 * Steps to reproduce the problem. 10 11 * Version of Python and pywin32 -
CHANGES.txt
diff --git a/CHANGES.txt b/CHANGES.txt index 4b3fcbe3..d209569c 100644
a b Generally created by hand after running: 4 4 hg log -rb2xx: > log.out 5 5 However contributors are encouraged to add their own entries for their work. 6 6 7 Since build 224: 8 ---------------- 9 * PythonWin is now able to start with non-English active keyboard layout. 10 7 11 Since build 223: 8 12 ---------------- 9 13 * Built with a released version of Python 3.7, which fixes various date related -
Pythonwin/pywin/scintilla/keycodes.py
diff --git a/Pythonwin/pywin/scintilla/keycodes.py b/Pythonwin/pywin/scintilla/keycodes.py index 6b783761..d9021828 100644
a b def get_vk(chardesc): 35 35 # it is a character. 36 36 info = win32api.VkKeyScan(chardesc) 37 37 if info==-1: 38 return None, None 38 # Note: returning None, None causes an error when keyboard layout is non-English, see the report below 39 # https://stackoverflow.com/questions/45138084/pythonwin-occasionally-gives-an-error-on-opening 40 return 0, 0 39 41 vk = win32api.LOBYTE(info) 40 42 state = win32api.HIBYTE(info) 41 43 modifiers = 0 -
appveyor.yml
diff --git a/appveyor.yml b/appveyor.yml index a45bdb39..f84cdbc4 100644
a b environment: 20 20 PYTHON_MINOR: 5 21 21 - PYTHON_MAJOR: 3 22 22 PYTHON_MINOR: 6 23 - PYTHON_MAJOR: 3 24 PYTHON_MINOR: 7 23 25 24 26 install: 25 27 # Prepare environment … … init: 42 44 # Following the matrix here: https://wiki.python.org/moin/WindowsCompilers#Which_Microsoft_Visual_C.2B-.2B-_compiler_to_use_with_a_specific_Python_version_.3F 43 45 - if "%PLATFORM%"=="x86" set VC_ARCH=x86 44 46 - if "%PLATFORM%"=="x64" set VC_ARCH=amd64 47 - if "%PYTHON_MAJOR%"=="3" if "%PYTHON_MINOR%"=="7" set VC_VERSION=14.0 45 48 - if "%PYTHON_MAJOR%"=="3" if "%PYTHON_MINOR%"=="6" set VC_VERSION=14.0 46 49 - if "%PYTHON_MAJOR%"=="3" if "%PYTHON_MINOR%"=="5" set VC_VERSION=14.0 47 50 - if "%PYTHON_MAJOR%"=="3" if "%PYTHON_MINOR%"=="4" set VC_VERSION=10.0 -
setup.py
diff --git a/setup.py b/setup.py index 8c397e1e..7c35d909 100644
a b com_extensions += [ 1883 1883 depends=["%(internet)s/internet_pch.h" % dirs]), 1884 1884 WinExt_win32com('mapi', libraries="advapi32", pch_header="PythonCOM.h", 1885 1885 include_dirs=["%(mapi)s/mapi_headers" % dirs], 1886 optional_headers=['edkmdb.h', 'edkguid.h'], 1886 1887 sources=(""" 1887 1888 %(mapi)s/mapi.i %(mapi)s/mapi.cpp 1888 1889 %(mapi)s/PyIABContainer.i %(mapi)s/PyIABContainer.cpp … … com_extensions += [ 1911 1912 """ % dirs).split()), 1912 1913 WinExt_win32com_mapi('exchange', libraries="advapi32", 1913 1914 include_dirs=["%(mapi)s/mapi_headers" % dirs], 1915 optional_headers=['edkmdb.h', 'edkguid.h'], 1914 1916 sources=(""" 1915 1917 %(mapi)s/exchange.i %(mapi)s/exchange.cpp 1916 1918 %(mapi)s/PyIExchangeManageStore.i %(mapi)s/PyIExchangeManageStore.cpp … … cmdclass = { 'install': my_install, 2438 2440 'build_scripts' : my_build_scripts, 2439 2441 } 2440 2442 2443 classifiers = [ 'Environment :: Win32 (MS Windows)', 2444 'Intended Audience :: Developers', 2445 'License :: OSI Approved :: Python Software Foundation License', 2446 'Operating System :: Microsoft :: Windows', 2447 'Programming Language :: Python :: 2.7', 2448 'Programming Language :: Python :: 3.5', 2449 'Programming Language :: Python :: 3.6', 2450 'Programming Language :: Python :: 3.7', 2451 'Programming Language :: Python :: Implementation :: CPython', 2452 ] 2453 2441 2454 dist = setup(name="pywin32", 2442 2455 version=str(build_id), 2443 2456 description="Python for Window Extensions", … … dist = setup(name="pywin32", 2449 2462 author_email = "mhammond@skippinet.com.au", 2450 2463 url="https://github.com/mhammond/pywin32", 2451 2464 license="PSF", 2465 classifiers = classifiers, 2452 2466 cmdclass = cmdclass, 2453 2467 options = {"bdist_wininst": 2454 2468 {"install_script": "pywin32_postinstall.py", -
win32/Lib/win32con.py
diff --git a/win32/Lib/win32con.py b/win32/Lib/win32con.py index a37967f7..eb6b8a90 100644
a b PROCESS_CREATE_PROCESS = (128) 2060 2060 PROCESS_SET_QUOTA = (256) 2061 2061 PROCESS_SET_INFORMATION = (512) 2062 2062 PROCESS_QUERY_INFORMATION = (1024) 2063 PROCESS_SUSPEND_RESUME = (2048) 2064 PROCESS_QUERY_LIMITED_INFORMATION = (4096) 2065 PROCESS_SET_LIMITED_INFORMATION = (8192) 2063 2066 PROCESS_ALL_ACCESS = (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 4095) 2064 2067 THREAD_TERMINATE = (1) 2065 2068 THREAD_SUSPEND_RESUME = (2) … … THREAD_QUERY_INFORMATION = (64) 2070 2073 THREAD_SET_THREAD_TOKEN = (128) 2071 2074 THREAD_IMPERSONATE = (256) 2072 2075 THREAD_DIRECT_IMPERSONATION = (512) 2076 THREAD_SET_LIMITED_INFORMATION = (1024) 2077 THREAD_QUERY_LIMITED_INFORMATION = (2048) 2078 THREAD_RESUME = (4096) 2073 2079 TLS_MINIMUM_AVAILABLE = 64 2074 2080 EVENT_MODIFY_STATE = 2 2075 2081 MUTANT_QUERY_STATE = 1 -
win32/Lib/win32timezone.py
diff --git a/win32/Lib/win32timezone.py b/win32/Lib/win32timezone.py index 83a119dc..6d65af7d 100644
a b class TimeZoneInfo(datetime.tzinfo): 715 715 @staticmethod 716 716 def _get_indexed_time_zone_keys(index_key='Index'): 717 717 """ 718 Get the names of the registry keys indexed by a value in that key. 718 Get the names of the registry keys indexed by a value in that key, 719 ignoring any keys for which that value is empty or missing. 719 720 """ 720 721 key_names = list(TimeZoneInfo._get_time_zone_key_names()) 722 721 723 def get_index_value(key_name): 722 724 key = TimeZoneInfo._get_time_zone_key(key_name) 723 return key[index_key] 725 return key.get(index_key) 726 724 727 values = map(get_index_value, key_names) 725 return zip(values, key_names) 728 729 return ( 730 (value, key_name) 731 for value, key_name in zip(values, key_names) 732 if value 733 ) 726 734 727 735 @staticmethod 728 736 def get_sorted_time_zone_names(): … … class _RegKeyDict(dict): 786 794 except WindowsError: pass 787 795 788 796 789 # for backward compatibility790 def deprecated(func, name='Unknown'):791 """This is a decorator which can be used to mark functions792 as deprecated. It will result in a warning being emmitted793 when the function is used."""794 def newFunc(*args, **kwargs):795 warnings.warn("Call to deprecated function %s." % name,796 category=DeprecationWarning)797 return func(*args, **kwargs)798 newFunc.__name__ = func.__name__799 newFunc.__doc__ = func.__doc__800 newFunc.__dict__.update(func.__dict__)801 return newFunc802 803 GetTimeZoneNames = deprecated(TimeZoneInfo._get_time_zone_key_names, 'GetTimeZoneNames')804 GetIndexedTimeZoneNames = deprecated(TimeZoneInfo._get_indexed_time_zone_keys, 'GetIndexedTimeZoneNames')805 GetSortedTimeZoneNames = deprecated(TimeZoneInfo.get_sorted_time_zone_names, 'GetSortedTimeZoneNames')806 # end backward compatibility807 808 797 def utcnow(): 809 798 """ 810 799 Return the UTC time now with timezone awareness as enabled … … def resolveMUITimeZone(spec): 860 849 spec should be of the format @path,-stringID[;comment] 861 850 see http://msdn2.microsoft.com/en-us/library/ms725481.aspx for details 862 851 """ 863 pattern = re.compile( '@(?P<dllname>.*),-(?P<index>\d+)(?:;(?P<comment>.*))?')852 pattern = re.compile(r'@(?P<dllname>.*),-(?P<index>\d+)(?:;(?P<comment>.*))?') 864 853 matcher = pattern.match(spec) 865 854 assert matcher, 'Could not parse MUI spec' 866 855 -
win32/Lib/winnt.py
diff --git a/win32/Lib/winnt.py b/win32/Lib/winnt.py index 15584efa..021a32b1 100644
a b PROCESS_CREATE_PROCESS = (128) 194 194 PROCESS_SET_QUOTA = (256) 195 195 PROCESS_SET_INFORMATION = (512) 196 196 PROCESS_QUERY_INFORMATION = (1024) 197 PROCESS_SUSPEND_RESUME = (2048) 198 PROCESS_QUERY_LIMITED_INFORMATION = (4096) 199 PROCESS_SET_LIMITED_INFORMATION = (8192) 197 200 MAXIMUM_PROCESSORS = 32 198 201 THREAD_TERMINATE = (1) 199 202 THREAD_SUSPEND_RESUME = (2) … … THREAD_QUERY_INFORMATION = (64) 204 207 THREAD_SET_THREAD_TOKEN = (128) 205 208 THREAD_IMPERSONATE = (256) 206 209 THREAD_DIRECT_IMPERSONATION = (512) 210 THREAD_SET_LIMITED_INFORMATION = (1024) 211 THREAD_QUERY_LIMITED_INFORMATION = (2048) 212 THREAD_RESUME = (4096) 207 213 JOB_OBJECT_ASSIGN_PROCESS = (1) 208 214 JOB_OBJECT_SET_ATTRIBUTES = (2) 209 215 JOB_OBJECT_QUERY = (4)
Note:
See TracBrowser
for help on using the repository browser.