[issue39795] multiprocessing creates duplicates of .pyc files

2020-02-29 Thread Ivan Bykov
New submission from Ivan Bykov : multiprocessing module creates duplicates of .pyc files in __pycache__ dirs because subprocess._args_from_interpreter_flags() ignores "-X pycache_prefix=PATH" option. -- components: Library (Lib) messages: 362974 nosy: ivb priority: norma

[issue38525] Strange reversed dict behavior

2019-10-19 Thread Ivan Bykov
New submission from Ivan Bykov : Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>

[issue25561] unstable result of time.monotonic

2015-11-05 Thread Ivan Bykov
New submission from Ivan Bykov: Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. >>> import platform >>> platform.win32_ver

[issue24390] Python 3.4.3 64 bits is not high dpi aware

2015-06-09 Thread Ivan Bykov
Ivan Bykov added the comment: Python 3.5.0b2 (v3.5.0b2:7a088af5615b, May 31 2015, 06:22:19) [MSC v.1900 64 bit (AMD64)] on win32 Type copyright, credits or license() for more information. import ctypes ctypes.windll.user32.GetSystemMetrics(1) 1067 #must be 1600 #Python 3.5 also affected

[issue24390] Python 3.4.3 64 bits is not high dpi aware

2015-06-09 Thread Ivan Bykov
Ivan Bykov added the comment: SetProcessDpiAwareness not available for Windows 7. For Windows 7 available SetProcessDPIAware, but: Note SetProcessDPIAware is subject to a possible *race* *condition* if a DLL caches dpi settings during initialization. For this reason, it is recommended

[issue24390] Python 3.4.3 64 bits is not high dpi aware

2015-06-08 Thread Ivan Bykov
Ivan Bykov added the comment: https://msdn.microsoft.com/en-us/library/windows/desktop/dn469266(v=vs.85).aspx#declaring_dpi_awareness assembly xmlns=urn:schemas-microsoft-com:asm.v1 manifestVersion=1.0 xmlns:asmv3=urn:schemas-microsoft-com:asm.v3 asmv3:application asmv3:windowsSettings

[issue24390] Python 3.4.3 64 bits is not high dpi aware

2015-06-06 Thread Ivan Bykov
New submission from Ivan Bykov: Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)] on win32 Type copyright, credits or license() for more information. SM_CYSCREEN = 1 from ctypes import windll GetSystemMetrics = windll.user32.GetSystemMetrics

[issue16738] Comparisons difference: bytes with bytes, str with str

2012-12-20 Thread Ivan Bykov
New submission from Ivan Bykov: Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (Intel)] on win32 Type help, copyright, credits or license for more information. b = b't' b[0] in [b] False u = 't' u[0] in [u] True -- messages: 177817 nosy: ivb priority

[issue6090] zipfile DeprecationWarning Python 2.6.2

2009-05-22 Thread Ivan Bykov
New submission from Ivan Bykov ivan.by...@gmail.com: Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32 IDLE 2.6.2 import zipfile new = zipfile.ZipFile('C:\\x', 'w', zipfile.ZIP_DEFLATED) zi = zipfile.ZipInfo('test',(1,2,3,4,5,6)) new.writestr(zi