| Age | Commit message (Collapse) | Author |
|
|
|
overridden.
|
|
when nulls_first/nulls_last=False is passed.
Per deprecation timeline.
|
|
Per deprecation timeline.
This also removes "django/forms/default.html" and
"django/forms/formsets/default.html" templates.
|
|
deprecation timeline.
|
|
deprecation timeline.
|
|
name to SimpleTestCase.assertFormError()/assertFormSetError().
Per deprecation timeline.
|
|
|
|
Per deprecation timeline.
|
|
RemoteUserBackend.configure_user() subclasses.
Per deprecation timeline.
|
|
filters.
Per deprecation timeline.
|
|
after prefetch_related().
Per deprecation timeline.
|
|
|
|
SimpleTestCase.assertFormError()/assertFormsetErrors().
Per deprecation timeline.
|
|
|
|
django.utils.functional.cached_property().
Per deprecation timeline.
|
|
deprecation timeline.
|
|
|
|
ErrorDict/ErrorList.
Per deprecation timeline.
|
|
|
|
|
|
Per deprecation timeline.
|
|
|
|
|
|
Per deprecation timeline.
|
|
DiscoverRunner.build_suite()/run_tests().
Per deprecation timeline.
|
|
Per deprecation timeline.
|
|
Per deprecation timeline.
|
|
timeline.
|
|
|
|
|
|
|
|
Forward port of 6fef789e456204752ec6b77b41740d67553fdd6f from stable/4.2.x.
|
|
with psycopg version 3.
Thanks Guillaume Andreu Sabater for the report.
Co-authored-by: Florian Apolloner <apollo13@users.noreply.github.com>
|
|
|
|
in assertRedirects().
Bug in 67da22f08e05018ea968fcacbac9ac37ea925d85.
|
|
obj_description(object oid) without a catalog name is deprecated since
there is no guarantee that OIDs are unique across different system
catalogs.
Thanks Tim Graham for the report.
|
|
|
|
|
|
Plural value must be an integer.
Regression in 8d67e16493c903adc9d049141028bc0fff43f8c8.
|
|
|
|
Co-authored-by: Ondřej Böhm <ondrej.bohm@firma.seznam.cz>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
|
|
Thanks Paolo Melchiorre, Carlton Gibson, and Mariusz Felisiak for
reviews.
|
|
PostgreSQLSHAMixin.as_postgresql() methods.
|
|
Regression in b7b28c7c189615543218e81319473888bc46d831.
Refs #31377.
Thanks Shai Berger for the report and reviews.
test_aggregation_subquery_annotation_values_collision() has been
updated as queries that are explicitly grouped by a subquery should
always be grouped by it and not its outer columns even if its alias
collides with referenced table columns. This was not possible to
accomplish at the time 10866a10 landed because we didn't have compiler
level handling of colliding aliases.
|
|
This prevents random errors with partially initialized modules.
|
|
The current implementation of LimitedStream is slow because .read()
performs an extra copy into a buffer and .readline() performs two
extra copies. The stream being wrapped is already typically a BytesIO
object so this is unnecessary.
This implementation has largely been untouched for 12 years and,
inspired by a simpler implementation in werkzeug, it was possible to
achieve the following performance improvement:
LimitedStream.read() (single line):
Mean +- std dev: [bench_limitedstream-main] 286 ns +- 6 ns
-> [bench_limitedstream-patch] 227 ns +- 6 ns: 1.26x faster
LimitedStream.readline() (single line):
Mean +- std dev: [bench_limitedstream-main] 507 ns +- 11 ns
-> [bench_limitedstream-patch] 232 ns +- 8 ns: 2.18x faster
LimitedStream.read(8192) (single line):
Mean +- std dev: [bench_limitedstream-main] 360 ns +- 8 ns
-> [bench_limitedstream-patch] 297 ns +- 6 ns: 1.21x faster
LimitedStream.readline(8192) (single line):
Mean +- std dev: [bench_limitedstream-main] 602 ns +- 10 ns
-> [bench_limitedstream-patch] 305 ns +- 10 ns: 1.98x faster
LimitedStream.read() (multiple lines):
Mean +- std dev: [bench_limitedstream-main] 290 ns +- 5 ns
-> [bench_limitedstream-patch] 236 ns +- 6 ns: 1.23x faster
LimitedStream.readline() (multiple lines):
Mean +- std dev: [bench_limitedstream-main] 517 ns +- 19 ns
-> [bench_limitedstream-patch] 239 ns +- 7 ns: 2.16x faster
LimitedStream.read(8192) (multiple lines):
Mean +- std dev: [bench_limitedstream-main] 363 ns +- 8 ns
-> [bench_limitedstream-patch] 311 ns +- 11 ns: 1.17x faster
LimitedStream.readline(8192) (multiple lines):
Mean +- std dev: [bench_limitedstream-main] 601 ns +- 12 ns
-> [bench_limitedstream-patch] 308 ns +- 7 ns: 1.95x faster
Geometric mean: 1.59x faster
|
|
FakePayload is a wrapper around io.BytesIO and is expected to
masquerade as though it is a file-like object. For that reason it makes
sense that it should inherit the correct signatures from io.BytesIO
methods.
Crucially an implementation of .readline() is added which will be
necessary for this to behave more like the expected file-like objects as
LimitedStream will be changed to defer to the wrapped stream object
rather than rolling its own implementation for improved performance.
It should be safe to adjust these signatures because FakePayload is
only used internally within test client helpers, is undocumented, and
thus private.
|
|
interval longer than 1 month.
Regression in 8d67e16493c903adc9d049141028bc0fff43f8c8.
|
|
mysqlclient 1.4.3 is the first release to support Python 3.8.
|