Age | Commit message (Collapse) | Author |
|
See #6023
|
|
Let's just use "no error message" as "module is available" instead of
saving the same information in a bool and in an optional string.
See #6023
|
|
While we use dataclasses for its base class (interceptors.Request), it
causes more problems than it solves here.
See #6023
|
|
See #6023
|
|
See #6023
|
|
See #6023
|
|
For some reason, some issues were only uncovered by mypy after switching
from attrs to dataclasses.
See #6023
|
|
See #6023
|
|
See #6023
|
|
See #6023
|
|
See #6023
|
|
See #6023
|
|
Update dependencies
|
|
We know that QApplication.instance() will always be non-None for
practical purposes, but the stubs now (correctly) declare it as
Optional.
See https://github.com/stlehmann/PyQt5-stubs/pull/126
|
|
|
|
|
|
See #5551
|
|
|
|
Closes #5555
|
|
Fix brew installation instructions
|
|
|
|
|
|
It has some subtle typing differences compared to 3.6.1, see e.g.
https://docs.python.org/3/library/typing.html#typing.NamedTuple
Also, we can't easily test it, it's unlikely to be in use anywhere
anyways, and various dependencies already dropped support for it or are
going to (e.g. PyQt 6).
See #4800
|
|
See #5395
|
|
See https://github.com/actions/virtual-environments/issues/841
|
|
|
|
See #6010
This reverts commit 0810b3e7b99316861bf9e34c694136c30e1a2266.
|
|
|
|
Before, the first line of a `code` element within a `pre` element had indentation/padding applied to it, creating the illusion that the line started with a space. Now, all the lines in `code` elements horizontally align.
|
|
|
|
Before, the first line of a `code` element within a `pre` element had indentation/padding applied to it, creating the illusion that the line started with a space. Now, all the lines in `code` elements horizontally align.
|
|
|
|
Python 3.6 gets some of those "wrong":
https://bugs.python.org/issue1043134
This has been fixed in Python 3.7:
https://github.com/python/cpython/pull/14375
The override dict has been generated by copying the types_map from the
current git master:
https://github.com/python/cpython/blob/v3.10.0a3/Lib/mimetypes.py#L414-L547
And then running the following with Python 3.6:
import mimetypes
reverse = {}
for ext, mimetype in types_map.items():
if mimetype not in reverse:
reverse[mimetype] = ext
assert reverse['text/plain'] == '.txt'
for mimetype, ext in reverse.items():
got = mimetypes.guess_extension(mimetype)
if got != ext:
print(f' "{mimetype}": "{ext}", # not {got}')
|
|
Argh. I should've known Python can do this, but I didn't notice (or
forget?) and wrote code - some 140 lines of it - which only was in this
repository for a couple of hours.
Oh well, good riddance, code which was replaced by a simple
"mimetypes.guess_type(url.toString())". May you be resurrected if we
ever need a proper data: URL parser at a later point.
I guess some lessons have to be learned the hard way...
|
|
|
|
With QtWebEngine, downloading a data: URL seems to give us the raw data:
URL as filename, similar to #1214 / #1321 but for QtWebEngine.
With QtWebKit, the logic is now also improved so that we get a proper
extension rather than a "binary blob" filename.
See #1099
|
|
|
|
This makes the callers a bit simpler because they don't need to take
care of falling back themselves.
|
|
|
|
If we use the "webengineview" fixture and access
QWebEngineProfile.defaultProfile(), it could happen that the profile
outlives the page. In that case, we get a warning on pytest shutdown:
Release of profile requested but WebEnginePage still not deleted. Expect troubles !
Thus, let's make sure the page is cleaned up earlier.
|
|
|
|
See https://github.com/stlehmann/PyQt5-stubs/pull/126
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This makes sure we don't use a stale qute_pylint version in CI.
|
|
userscript Nextcloud bookmark URL check fix
|