Kovid Goyal
32523e852c
Fix test failing on windows
2020-08-22 18:48:01 +05:30
Kovid Goyal
21d4127197
Fix contention test on windows
2020-08-22 18:48:01 +05:30
Kovid Goyal
fa9b0a7e97
Make the max time for the contention test 20s
2020-08-22 18:48:01 +05:30
Kovid Goyal
4a7d673585
Fix translation of pywintypes.error on py3
2020-08-22 18:48:00 +05:30
Kovid Goyal
11fa71adf6
Remove more __future__ imports
2020-08-22 18:48:00 +05:30
Kovid Goyal
729540cebf
Fix share_open() in py3 on windows
2020-08-22 18:48:00 +05:30
Kovid Goyal
0410b0c4fb
Fix failing test
2020-08-22 18:48:00 +05:30
Kovid Goyal
72ab050346
Forgot to change tarball url for unix
2020-08-22 18:48:00 +05:30
Kovid Goyal
9f57d6ce52
Fix logging in the server for py3
2020-08-22 18:48:00 +05:30
Kovid Goyal
f884aa1307
Add pychm to CI deps
2020-08-22 18:48:00 +05:30
Kovid Goyal
817c7663d4
Make the built py3 sw available for CI
2020-08-22 18:48:00 +05:30
Kovid Goyal
605857e276
Only report unhandled errors if excepthook is the default
2020-08-22 18:48:00 +05:30
Kovid Goyal
1c13f9634c
Restore reporting of unhandled exceptions during GUI application startup on windows
...
Not as nice as it was previously since errors importing the site module
will not be reported, but the python API provides no hooks for this in
Py_RunMain
2020-08-22 18:48:00 +05:30
Kovid Goyal
007b6d06ed
...
2020-08-22 18:47:59 +05:30
Kovid Goyal
eb60be9186
Py_RunMain does not call exit()
2020-08-22 18:47:59 +05:30
Kovid Goyal
8fc745c7fb
Use an at exit handler to restore console state
...
Py_Main() does not return if an unhandled SystemExit is raised
2020-08-22 18:47:59 +05:30
Kovid Goyal
55713682f2
Clean up logging to use python3 printing as well
2020-08-22 18:47:59 +05:30
Kovid Goyal
e9ff40031f
Get rid of prints()
...
Not needed in python3
2020-08-22 18:47:59 +05:30
Kovid Goyal
6e774c6831
Simplify windows terminal handling code
...
We rely on the fact that python 3 now knows how to write unicode to
windows consoles. And we setup the console to understand ANSI escape
codes
2020-08-22 18:47:59 +05:30
Kovid Goyal
df70399661
Allow using ANSI escape codes on windows when writing to the console
2020-08-22 18:47:59 +05:30
Kovid Goyal
bd80269072
Dont redirect stdoutstderr to NUL if it is a tty
2020-08-22 18:47:59 +05:30
Kovid Goyal
a982b67af0
py3: fix incorrect import of c_wchar_p from wintypes
2020-08-22 18:47:59 +05:30
Kovid Goyal
d880ea2a9c
py3 compat for the recycle bin process
2020-08-22 18:47:59 +05:30
Kovid Goyal
860bcf0088
HRESULT has moved from wintypes in python 3.8
2020-08-22 18:47:58 +05:30
Kovid Goyal
f615b44ace
Update pillow to version that builds with python 3.8
2020-08-22 18:47:58 +05:30
Kovid Goyal
b2efbafc18
Get rid of narrow build codepaths
2020-08-22 18:47:58 +05:30
Kovid Goyal
e52848671a
Copy in python3.dll as PyQt links against it instead of python38.dll
2020-08-22 18:47:58 +05:30
Kovid Goyal
6adbf803aa
...
2020-08-22 18:47:58 +05:30
Kovid Goyal
2a0084c1ff
Fix failing winutil test
2020-08-22 18:47:58 +05:30
Kovid Goyal
dfb5b72eca
Ensure no __pycache__ is added to pylib.zip
2020-08-22 18:47:58 +05:30
Kovid Goyal
488fe5198b
Add proper paths in windows frozen build
2020-08-22 18:47:58 +05:30
Kovid Goyal
8c7c3c9061
Work on windows python3 build
2020-08-22 18:47:58 +05:30
Kovid Goyal
b5f0ab48ac
Various compilation fixed for windows extensions on python3
2020-08-22 18:47:57 +05:30
Kovid Goyal
89f0d92d2e
Get rid of msstdint.h
...
Not needed with VS 2017 and conflicts with default stdint.h which is
pulled in by python 3
2020-08-22 18:47:57 +05:30
Kovid Goyal
04aedf8411
Switch to pycryptodome as pycrypto is un-maintained
2020-08-22 18:47:57 +05:30
Kovid Goyal
319b2b375f
Need updated pywin32 for python 3.8
2020-08-22 18:47:57 +05:30
Kovid Goyal
9588afa4d5
Get python3 and webengine building on windows
2020-08-22 18:47:57 +05:30
Kovid Goyal
b2b4540505
Allow subprocess to use posix_spawn()
...
This is both faster and needed on macOS where one cannot use fork()
when using Qt.
2020-08-22 18:47:57 +05:30
Kovid Goyal
379d1ddfd4
Write to buffer
2020-08-22 18:47:57 +05:30
Kovid Goyal
55214540fd
Dont remove v3 port from PyQt
2020-08-22 18:47:57 +05:30
Kovid Goyal
baf0685ceb
De-vendor pychm
2020-08-22 18:47:57 +05:30
Kovid Goyal
411da596b4
The Apple build is working
2020-08-22 18:47:57 +05:30
Kovid Goyal
066ff4127b
Remove useless if branch
2020-08-22 18:47:56 +05:30
Kovid Goyal
2c8454e014
Make code used to launch interpreter re-useable
2020-08-22 18:47:56 +05:30
Kovid Goyal
01b0fba8ad
Auto fix excess blank lines
2020-08-22 18:47:56 +05:30
Kovid Goyal
4f47385bd5
Add the lzma dependency
2020-08-22 18:47:56 +05:30
Kovid Goyal
a2731553d4
Remove some more referefences to the old lzma
2020-08-22 18:47:56 +05:30
Kovid Goyal
113b14e376
Drop the custom lzma module
...
Use the builtin one from the python stdlib
2020-08-22 18:47:56 +05:30
Kovid Goyal
ceb558f447
Add sgmllib ported to python 3 for feedparser
2020-08-22 18:47:56 +05:30
Kovid Goyal
ec167b7ac7
Get the linux frozen build working with py3
2020-08-22 18:47:56 +05:30