Skip to content

handle no-member false positive for generators #7505

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

clavedeluna
Copy link
Contributor

Type of Changes

Type
βœ“ πŸ› Bug fix
✨ New feature
πŸ”¨ Refactoring
πŸ“œ Docs

Description

A false positive for when a generator called internal enter / exit methods was reported. This PR handles this case in the same way other outlier cases are handled, by adding code to detect this is a generator.

Closes #2567


cm = context_manager()
cm.__enter__()
cm.__exit__(None, None, None)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no corresponding .txt file because no pylint errors or warnings should be in the output.

@coveralls
Copy link

coveralls commented Sep 20, 2022

Pull Request Test Coverage Report for Build 3091981057

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.0005%) to 95.327%

Totals Coverage Status
Change from base Build 3091695124: 0.0005%
Covered Lines: 17073
Relevant Lines: 17910

πŸ’› - Coveralls

@github-actions
Copy link
Contributor

πŸ€– Effect of this PR on checked open source code: πŸ€–

Effect on django:
The following messages are now emitted:

  1. arguments-differ:
    Number of parameters was 2 in 'BaseModelAdmin.has_add_permission' and is now 3 in overriding 'InlineModelAdmin.has_add_permission' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/admin/options.py#L2464
  2. arguments-renamed:
    Parameter 'admin_obj' has been renamed to 'inline_obj' in overriding 'InlineModelAdminChecks.check' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/admin/checks.py#L1232
  3. arguments-differ:
    Number of parameters was 9 in 'Collector.collect' and is now 5 in overriding 'NestedObjects.collect' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/admin/utils.py#L175
  4. arguments-differ:
    Number of parameters was 5 in 'ForeignObject.contribute_to_class' and is now 4 in overriding 'GenericRelation.contribute_to_class' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/contenttypes/fields.py#L471
  5. arguments-renamed:
    Parameter 'related_alias' has been renamed to 'remote_alias' in overriding 'GenericRelation.get_extra_restriction' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/contenttypes/fields.py#L514
  6. arguments-differ:
    Variadics removed in overriding 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/contenttypes/management/commands/remove_stale_contenttypes.py#L34
  7. arguments-differ:
    Number of parameters was 1 in 'BaseExpression.convert_value' and is now 4 in overriding 'Extent.convert_value' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/aggregates.py#L72
  8. arguments-differ:
    Number of parameters was 1 in 'BaseExpression.convert_value' and is now 4 in overriding 'Extent3D.convert_value' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/aggregates.py#L83
  9. arguments-differ:
    Number of parameters was 4 in 'Field.contribute_to_class' and is now 4 in overriding 'GeometryField.contribute_to_class' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/fields.py#L293
  10. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'GeometryField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/fields.py#L303
  11. arguments-differ:
    Number of parameters was 4 in 'Field.contribute_to_class' and is now 4 in overriding 'RasterField.contribute_to_class' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/fields.py#L416
  12. arguments-renamed:
    Parameter 'lookup_name' has been renamed to 'name' in overriding 'RasterField.get_transform' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/fields.py#L424
  13. arguments-differ:
    Number of parameters was 5 in 'GeoFuncMixin.as_sql' and is now 4 in overriding 'Area.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/functions.py#L160
  14. arguments-differ:
    Number of parameters was 5 in 'GeoFuncMixin.as_sql' and is now 4 in overriding 'Length.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/functions.py#L399
  15. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 3 in overriding 'RasterBandTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/lookups.py#L10
  16. arguments-differ:
    Variadics removed in overriding 'RasterBandTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/lookups.py#L10
  17. arguments-differ:
    Number of parameters was 3 in 'BaseSpatialOperations.convert_extent' and is now 2 in overriding 'OracleOperations.convert_extent' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/backends/oracle/operations.py#L136
  18. arguments-differ:
    Number of parameters was 3 in 'BaseSpatialOperations.convert_extent' and is now 2 in overriding 'PostGISOperations.convert_extent' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/backends/postgis/operations.py#L207
  19. arguments-differ:
    Number of parameters was 3 in 'BaseSpatialOperations.convert_extent3d' and is now 2 in overriding 'PostGISOperations.convert_extent3d' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/backends/postgis/operations.py#L220
  20. arguments-renamed:
    Parameter 'value' has been renamed to 'dist_val' in overriding 'PostGISOperations.get_distance' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/backends/postgis/operations.py#L256
  21. arguments-renamed:
    Parameter 'model' has been renamed to 'table' in overriding 'PostGISSchemaEditor._alter_column_type_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/backends/postgis/schema.py#L53
  22. arguments-differ:
    Number of parameters was 3 in 'BaseSpatialOperations.convert_extent' and is now 2 in overriding 'SpatiaLiteOperations.convert_extent' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/backends/spatialite/operations.py#L101
  23. arguments-differ:
    Number of parameters was 3 in 'DatabaseSchemaEditor.delete_model' and is now 3 in overriding 'SpatialiteSchemaEditor.delete_model' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/backends/spatialite/schema.py#L91
  24. arguments-renamed:
    Parameter 'item' has been renamed to 'obj' in overriding 'KMLSitemap.location' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/sitemaps/kml.py#L66
  25. arguments-differ:
    Number of parameters was 5 in 'ModelBackend.authenticate' and is now 3 in overriding 'RemoteUserBackend.authenticate' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/auth/backends.py#L187
  26. arguments-differ:
    Variadics removed in overriding 'RemoteUserBackend.authenticate' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/auth/backends.py#L187
  27. arguments-differ:
    Number of parameters was 5 in 'ModelAdmin.get_form' and is now 4 in overriding 'UserAdmin.get_form' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/auth/admin.py#L90
  28. arguments-differ:
    Number of parameters was 4 in 'Lookup.process_lhs' and is now 3 in overriding 'SearchLookup.process_lhs' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/lookups.py#L50
  29. arguments-renamed:
    Parameter 'compiler' has been renamed to 'qn' in overriding 'SearchVectorExact.process_rhs' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/search.py#L20
  30. arguments-renamed:
    Parameter 'compiler' has been renamed to 'qn' in overriding 'SearchVectorExact.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/search.py#L27
  31. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 5 in overriding 'SearchVector.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/search.py#L111
  32. arguments-differ:
    Variadics removed in overriding 'SearchVector.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/search.py#L111
  33. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 5 in overriding 'SearchQuery.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/search.py#L212
  34. arguments-differ:
    Variadics removed in overriding 'SearchQuery.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/search.py#L212
  35. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 5 in overriding 'SearchHeadline.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/search.py#L308
  36. arguments-differ:
    Variadics removed in overriding 'SearchHeadline.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/search.py#L308
  37. arguments-renamed:
    Parameter 'lookup_name' has been renamed to 'name' in overriding 'HStoreField.get_transform' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/hstore.py#L24
  38. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'HStoreField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/hstore.py#L48
  39. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 3 in overriding 'KeyTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/hstore.py#L88
  40. arguments-differ:
    Variadics removed in overriding 'KeyTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/hstore.py#L88
  41. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'RangeField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/ranges.py#L126
  42. arguments-differ:
    Number of parameters was 4 in 'Lookup.process_lhs' and is now 3 in overriding 'RangeContainedBy.process_lhs' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/ranges.py#L270
  43. arguments-renamed:
    Parameter 'lookup_name' has been renamed to 'name' in overriding 'ArrayField.get_transform' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/array.py#L174
  44. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'ArrayField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/array.py#L227
  45. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 3 in overriding 'ArrayLenTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/array.py#L285
  46. arguments-differ:
    Variadics removed in overriding 'ArrayLenTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/array.py#L285
  47. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 3 in overriding 'IndexTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/array.py#L317
  48. arguments-differ:
    Variadics removed in overriding 'IndexTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/array.py#L317
  49. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 3 in overriding 'SliceTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/array.py#L341
  50. arguments-differ:
    Variadics removed in overriding 'SliceTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/array.py#L341
  51. arguments-renamed:
    Parameter 'data_list' has been renamed to 'values' in overriding 'BaseRangeField.compress' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/forms/ranges.py#L75
  52. arguments-differ:
    Variadics removed in overriding 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/sessions/management/commands/clearsessions.py#L13
  53. arguments-renamed:
    Parameter 'label' has been renamed to 'path' in overriding 'Command.handle_label' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/staticfiles/management/commands/findstatic.py#L20
  54. arguments-differ:
    Variadics removed in overriding 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/staticfiles/management/commands/collectstatic.py#L170
  55. arguments-renamed:
    Parameter 'o' has been renamed to 'obj' in overriding 'MessageEncoder.default' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/messages/storage/cookie.py#L18
  56. arguments-differ:
    Number of parameters was 3 in 'JSONDecoder.decode' and is now 3 in overriding 'MessageDecoder.decode' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/messages/storage/cookie.py#L45
  57. arguments-renamed:
    Parameter 'secure' has been renamed to 'follow' in overriding 'Client.get' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/client.py#L836
  58. arguments-renamed:
    Parameter 'secure' has been renamed to 'follow' in overriding 'Client.post' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/client.py#L844
  59. arguments-renamed:
    Parameter 'secure' has been renamed to 'follow' in overriding 'Client.head' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/client.py#L864
  60. arguments-renamed:
    Parameter 'secure' has been renamed to 'follow' in overriding 'Client.options' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/client.py#L872
  61. arguments-renamed:
    Parameter 'secure' has been renamed to 'follow' in overriding 'Client.put' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/client.py#L892
  62. arguments-renamed:
    Parameter 'secure' has been renamed to 'follow' in overriding 'Client.patch' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/client.py#L912
  63. arguments-renamed:
    Parameter 'secure' has been renamed to 'follow' in overriding 'Client.delete' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/client.py#L932
  64. arguments-renamed:
    Parameter 'secure' has been renamed to 'data' in overriding 'Client.trace' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/client.py#L952
  65. arguments-differ:
    Variadics removed in overriding 'SimpleTestCase.call' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/testcases.py#L377
  66. arguments-differ:
    Number of parameters was 3 in 'TestSuite.run' and is now 2 in overriding 'ParallelTestSuite.run' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/runner.py#L483
  67. arguments-renamed:
    Parameter 'signed_value' has been renamed to 'value' in overriding 'TimestampSigner.unsign' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/signing.py#L265
  68. arguments-renamed:
    Parameter 'email_messages' has been renamed to 'messages' in overriding 'EmailBackend.send_messages' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/mail/backends/locmem.py#L24
  69. arguments-differ:
    Number of parameters was 3 in 'BaseCommand.handle' and is now 5 in overriding 'TemplateCommand.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/templates.py#L86
  70. arguments-differ:
    Variadics removed in overriding 'TemplateCommand.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/templates.py#L86
  71. arguments-differ:
    Variadics removed in overriding 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/sqlflush.py#L25
  72. arguments-differ:
    Variadics removed in overriding 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/shell.py#L114
  73. arguments-differ:
    Variadics removed in overriding 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/flush.py#L31
  74. arguments-differ:
    Variadics removed in overriding 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/compilemessages.py#L72
  75. arguments-differ:
    Variadics removed in overriding 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/squashmigrations.py#L62
  76. arguments-differ:
    Number of parameters was 5 in 'TemplateCommand.handle' and is now 2 in overriding 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/startapp.py#L11
  77. arguments-differ:
    Variadics removed in overriding 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/inspectdb.py#L44
  78. arguments-differ:
    Number of parameters was 3 in 'ZipFile.read' and is now 1 in overriding 'SingleZipReader.read' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/loaddata.py#L427
  79. arguments-differ:
    Variadics removed in overriding 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/dbshell.py#L27
  80. arguments-differ:
    Number of parameters was 5 in 'TemplateCommand.handle' and is now 2 in overriding 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/startproject.py#L14
  81. arguments-differ:
    Variadics removed in overriding 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/diffsettings.py#L45
  82. arguments-renamed:
    Parameter 'settings' has been renamed to 'databases' in overriding 'ConnectionHandler.configure_settings' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/utils.py#L147
  83. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 4 in overriding 'Aggregate.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/aggregates.py#L103
  84. arguments-renamed:
    Parameter 'exprs' has been renamed to 'new_exprs' in overriding 'Lookup.set_source_expressions' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/lookups.py#L74
  85. arguments-renamed:
    Parameter 'compiler' has been renamed to 'qn' in overriding 'IExact.process_rhs' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/lookups.py#L365
  86. arguments-renamed:
    Parameter 'compiler' has been renamed to 'qn' in overriding 'PatternLookup.process_rhs' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/lookups.py#L512
  87. arguments-renamed:
    Parameter 'change_map' has been renamed to 'relabels' in overriding 'Col.relabeled_clone' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/expressions.py#L1117
  88. arguments-renamed:
    Parameter 'change_map' has been renamed to 'relabels' in overriding 'Ref.relabeled_clone' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/expressions.py#L1161
  89. arguments-differ:
    Number of parameters was 2 in 'BaseExpression.get_group_by_cols' and is now 1 in overriding 'OrderByList.get_group_by_cols' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/expressions.py#L1214
  90. arguments-differ:
    Number of parameters was 6 in 'Subquery.as_sql' and is now 5 in overriding 'Exists.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/expressions.py#L1512
  91. arguments-differ:
    Variadics removed in overriding 'OrderBy.asc' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/expressions.py#L1635
  92. arguments-differ:
    Variadics removed in overriding 'OrderBy.desc' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/expressions.py#L1638
  93. arguments-differ:
    Variadics removed in overriding 'Window.as_sqlite' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/expressions.py#L1728
  94. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'RelatedField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/related.py#L463
  95. arguments-differ:
    Number of parameters was 5 in 'RelatedField.contribute_to_class' and is now 4 in overriding 'ManyToManyField.contribute_to_class' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/related.py#L1882
  96. arguments-differ:
    Number of parameters was 4 in 'Field.contribute_to_class' and is now 4 in overriding 'FileField.contribute_to_class' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/files.py#L319
  97. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'FileField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/files.py#L348
  98. arguments-renamed:
    Parameter 'lookup_name' has been renamed to 'name' in overriding 'JSONField.get_transform' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/json.py#L100
  99. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'JSONField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/json.py#L120
  100. arguments-differ:
    Variadics removed in overriding 'KeyTransform.as_sqlite' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/json.py#L356
  101. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'BooleanField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L1094
  102. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'CharField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L1201
  103. arguments-differ:
    Number of parameters was 4 in 'Field.contribute_to_class' and is now 4 in overriding 'DateField.contribute_to_class' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L1412
  104. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'DateField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L1444
  105. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'DecimalField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L1733
  106. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'DurationField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L1800
  107. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'FilePathField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L1894
  108. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'FloatField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L1944
  109. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'IntegerField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L2040
  110. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'GenericIPAddressField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L2187
  111. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'TextField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L2387
  112. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'TimeField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L2515
  113. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overriding 'UUIDField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L2659
  114. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 4 in overriding 'Cast.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/functions/comparison.py#L17
  115. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 4 in overriding 'Collate.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/functions/comparison.py#L117
  116. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 4 in overriding 'JSONObject.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/functions/comparison.py#L153
  117. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 3 in overriding 'Extract.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/functions/datetime.py#L53
  118. arguments-differ:
    Variadics removed in overriding 'Extract.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/functions/datetime.py#L53
  119. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 3 in overriding 'TruncBase.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/functions/datetime.py#L245
  120. arguments-differ:
    Variadics removed in overriding 'TruncBase.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/functions/datetime.py#L245
  121. arguments-differ:
    Number of parameters was 1 in 'BaseExpression.convert_value' and is now 4 in overriding 'TruncBase.convert_value' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/functions/datetime.py#L327
  122. arguments-differ:
    Number of parameters was 3 in 'SQLCompiler.as_sql' and is now 1 in overriding 'SQLInsertCompiler.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/sql/compiler.py#L1676
  123. arguments-differ:
    Number of parameters was 4 in 'SQLCompiler.execute_sql' and is now 2 in overriding 'SQLInsertCompiler.execute_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/sql/compiler.py#L1756
  124. arguments-differ:
    Number of parameters was 3 in 'SQLCompiler.as_sql' and is now 1 in overriding 'SQLDeleteCompiler.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/sql/compiler.py#L1833
  125. arguments-differ:
    Number of parameters was 3 in 'SQLCompiler.as_sql' and is now 1 in overriding 'SQLUpdateCompiler.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/sql/compiler.py#L1856
  126. arguments-differ:
    Number of parameters was 4 in 'SQLCompiler.execute_sql' and is now 2 in overriding 'SQLUpdateCompiler.execute_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/sql/compiler.py#L1921
  127. arguments-differ:
    Number of parameters was 2 in 'SQLCompiler.pre_sql_setup' and is now 1 in overriding 'SQLUpdateCompiler.pre_sql_setup' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/sql/compiler.py#L1942
  128. arguments-differ:
    Number of parameters was 3 in 'SQLCompiler.as_sql' and is now 1 in overriding 'SQLAggregateCompiler.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/sql/compiler.py#L2007
  129. arguments-renamed:
    Parameter 'value' has been renamed to 'data' in overriding 'FileField.to_python' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/forms/fields.py#L636
  130. arguments-renamed:
    Parameter 'value' has been renamed to 'data' in overriding 'FileField.clean' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/forms/fields.py#L659
  131. arguments-differ:
    Number of parameters was 4 in 'datetime.combine' and is now 3 in overriding 'datetime.combine' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/utils/datetime_safe.py#L35
  132. arguments-renamed:
    Parameter 'data' has been renamed to 'd' in overriding 'MLStripper.handle_data' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/utils/html.py#L147
  133. arguments-differ:
    Number of parameters was 1 in 'BaseArchive.extract' and is now 2 in overriding 'TarArchive.extract' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/utils/archive.py#L169
  134. arguments-differ:
    Number of parameters was 1 in 'BaseArchive.extract' and is now 2 in overriding 'ZipArchive.extract' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/utils/archive.py#L212

The following messages are no longer emitted:

  1. arguments-differ:
    Number of parameters was 2 in 'BaseModelAdmin.has_add_permission' and is now 3 in overridden 'InlineModelAdmin.has_add_permission' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/admin/options.py#L2464
  2. arguments-renamed:
    Parameter 'admin_obj' has been renamed to 'inline_obj' in overridden 'InlineModelAdminChecks.check' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/admin/checks.py#L1232
  3. arguments-differ:
    Number of parameters was 9 in 'Collector.collect' and is now 5 in overridden 'NestedObjects.collect' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/admin/utils.py#L175
  4. arguments-differ:
    Number of parameters was 5 in 'ForeignObject.contribute_to_class' and is now 4 in overridden 'GenericRelation.contribute_to_class' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/contenttypes/fields.py#L471
  5. arguments-renamed:
    Parameter 'related_alias' has been renamed to 'remote_alias' in overridden 'GenericRelation.get_extra_restriction' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/contenttypes/fields.py#L514
  6. arguments-differ:
    Variadics removed in overridden 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/contenttypes/management/commands/remove_stale_contenttypes.py#L34
  7. arguments-differ:
    Number of parameters was 1 in 'BaseExpression.convert_value' and is now 4 in overridden 'Extent.convert_value' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/aggregates.py#L72
  8. arguments-differ:
    Number of parameters was 1 in 'BaseExpression.convert_value' and is now 4 in overridden 'Extent3D.convert_value' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/aggregates.py#L83
  9. arguments-differ:
    Number of parameters was 4 in 'Field.contribute_to_class' and is now 4 in overridden 'GeometryField.contribute_to_class' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/fields.py#L293
  10. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'GeometryField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/fields.py#L303
  11. arguments-differ:
    Number of parameters was 4 in 'Field.contribute_to_class' and is now 4 in overridden 'RasterField.contribute_to_class' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/fields.py#L416
  12. arguments-renamed:
    Parameter 'lookup_name' has been renamed to 'name' in overridden 'RasterField.get_transform' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/fields.py#L424
  13. arguments-differ:
    Number of parameters was 5 in 'GeoFuncMixin.as_sql' and is now 4 in overridden 'Area.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/functions.py#L160
  14. arguments-differ:
    Number of parameters was 5 in 'GeoFuncMixin.as_sql' and is now 4 in overridden 'Length.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/functions.py#L399
  15. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 3 in overridden 'RasterBandTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/lookups.py#L10
  16. arguments-differ:
    Variadics removed in overridden 'RasterBandTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/models/lookups.py#L10
  17. arguments-differ:
    Number of parameters was 3 in 'BaseSpatialOperations.convert_extent' and is now 2 in overridden 'OracleOperations.convert_extent' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/backends/oracle/operations.py#L136
  18. arguments-differ:
    Number of parameters was 3 in 'BaseSpatialOperations.convert_extent' and is now 2 in overridden 'PostGISOperations.convert_extent' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/backends/postgis/operations.py#L207
  19. arguments-differ:
    Number of parameters was 3 in 'BaseSpatialOperations.convert_extent3d' and is now 2 in overridden 'PostGISOperations.convert_extent3d' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/backends/postgis/operations.py#L220
  20. arguments-renamed:
    Parameter 'value' has been renamed to 'dist_val' in overridden 'PostGISOperations.get_distance' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/backends/postgis/operations.py#L256
  21. arguments-renamed:
    Parameter 'model' has been renamed to 'table' in overridden 'PostGISSchemaEditor._alter_column_type_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/backends/postgis/schema.py#L53
  22. arguments-differ:
    Number of parameters was 3 in 'BaseSpatialOperations.convert_extent' and is now 2 in overridden 'SpatiaLiteOperations.convert_extent' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/backends/spatialite/operations.py#L101
  23. arguments-differ:
    Number of parameters was 3 in 'DatabaseSchemaEditor.delete_model' and is now 3 in overridden 'SpatialiteSchemaEditor.delete_model' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/db/backends/spatialite/schema.py#L91
  24. arguments-renamed:
    Parameter 'item' has been renamed to 'obj' in overridden 'KMLSitemap.location' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/gis/sitemaps/kml.py#L66
  25. arguments-differ:
    Number of parameters was 5 in 'ModelBackend.authenticate' and is now 3 in overridden 'RemoteUserBackend.authenticate' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/auth/backends.py#L187
  26. arguments-differ:
    Variadics removed in overridden 'RemoteUserBackend.authenticate' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/auth/backends.py#L187
  27. arguments-differ:
    Number of parameters was 5 in 'ModelAdmin.get_form' and is now 4 in overridden 'UserAdmin.get_form' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/auth/admin.py#L90
  28. arguments-differ:
    Number of parameters was 4 in 'Lookup.process_lhs' and is now 3 in overridden 'SearchLookup.process_lhs' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/lookups.py#L50
  29. arguments-renamed:
    Parameter 'compiler' has been renamed to 'qn' in overridden 'SearchVectorExact.process_rhs' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/search.py#L20
  30. arguments-renamed:
    Parameter 'compiler' has been renamed to 'qn' in overridden 'SearchVectorExact.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/search.py#L27
  31. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 5 in overridden 'SearchVector.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/search.py#L111
  32. arguments-differ:
    Variadics removed in overridden 'SearchVector.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/search.py#L111
  33. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 5 in overridden 'SearchQuery.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/search.py#L212
  34. arguments-differ:
    Variadics removed in overridden 'SearchQuery.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/search.py#L212
  35. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 5 in overridden 'SearchHeadline.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/search.py#L308
  36. arguments-differ:
    Variadics removed in overridden 'SearchHeadline.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/search.py#L308
  37. arguments-renamed:
    Parameter 'lookup_name' has been renamed to 'name' in overridden 'HStoreField.get_transform' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/hstore.py#L24
  38. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'HStoreField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/hstore.py#L48
  39. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 3 in overridden 'KeyTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/hstore.py#L88
  40. arguments-differ:
    Variadics removed in overridden 'KeyTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/hstore.py#L88
  41. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'RangeField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/ranges.py#L126
  42. arguments-differ:
    Number of parameters was 4 in 'Lookup.process_lhs' and is now 3 in overridden 'RangeContainedBy.process_lhs' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/ranges.py#L270
  43. arguments-renamed:
    Parameter 'lookup_name' has been renamed to 'name' in overridden 'ArrayField.get_transform' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/array.py#L174
  44. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'ArrayField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/array.py#L227
  45. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 3 in overridden 'ArrayLenTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/array.py#L285
  46. arguments-differ:
    Variadics removed in overridden 'ArrayLenTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/array.py#L285
  47. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 3 in overridden 'IndexTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/array.py#L317
  48. arguments-differ:
    Variadics removed in overridden 'IndexTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/array.py#L317
  49. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 3 in overridden 'SliceTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/array.py#L341
  50. arguments-differ:
    Variadics removed in overridden 'SliceTransform.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/fields/array.py#L341
  51. arguments-renamed:
    Parameter 'data_list' has been renamed to 'values' in overridden 'BaseRangeField.compress' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/postgres/forms/ranges.py#L75
  52. arguments-differ:
    Variadics removed in overridden 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/sessions/management/commands/clearsessions.py#L13
  53. arguments-renamed:
    Parameter 'label' has been renamed to 'path' in overridden 'Command.handle_label' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/staticfiles/management/commands/findstatic.py#L20
  54. arguments-differ:
    Variadics removed in overridden 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/staticfiles/management/commands/collectstatic.py#L170
  55. arguments-renamed:
    Parameter 'o' has been renamed to 'obj' in overridden 'MessageEncoder.default' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/messages/storage/cookie.py#L18
  56. arguments-differ:
    Number of parameters was 3 in 'JSONDecoder.decode' and is now 3 in overridden 'MessageDecoder.decode' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/contrib/messages/storage/cookie.py#L45
  57. arguments-renamed:
    Parameter 'secure' has been renamed to 'follow' in overridden 'Client.get' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/client.py#L836
  58. arguments-renamed:
    Parameter 'secure' has been renamed to 'follow' in overridden 'Client.post' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/client.py#L844
  59. arguments-renamed:
    Parameter 'secure' has been renamed to 'follow' in overridden 'Client.head' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/client.py#L864
  60. arguments-renamed:
    Parameter 'secure' has been renamed to 'follow' in overridden 'Client.options' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/client.py#L872
  61. arguments-renamed:
    Parameter 'secure' has been renamed to 'follow' in overridden 'Client.put' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/client.py#L892
  62. arguments-renamed:
    Parameter 'secure' has been renamed to 'follow' in overridden 'Client.patch' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/client.py#L912
  63. arguments-renamed:
    Parameter 'secure' has been renamed to 'follow' in overridden 'Client.delete' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/client.py#L932
  64. arguments-renamed:
    Parameter 'secure' has been renamed to 'data' in overridden 'Client.trace' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/client.py#L952
  65. arguments-differ:
    Variadics removed in overridden 'SimpleTestCase.call' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/testcases.py#L377
  66. arguments-differ:
    Number of parameters was 3 in 'TestSuite.run' and is now 2 in overridden 'ParallelTestSuite.run' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/test/runner.py#L483
  67. arguments-renamed:
    Parameter 'signed_value' has been renamed to 'value' in overridden 'TimestampSigner.unsign' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/signing.py#L265
  68. arguments-renamed:
    Parameter 'email_messages' has been renamed to 'messages' in overridden 'EmailBackend.send_messages' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/mail/backends/locmem.py#L24
  69. arguments-differ:
    Number of parameters was 3 in 'BaseCommand.handle' and is now 5 in overridden 'TemplateCommand.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/templates.py#L86
  70. arguments-differ:
    Variadics removed in overridden 'TemplateCommand.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/templates.py#L86
  71. arguments-differ:
    Variadics removed in overridden 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/sqlflush.py#L25
  72. arguments-differ:
    Variadics removed in overridden 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/shell.py#L114
  73. arguments-differ:
    Variadics removed in overridden 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/flush.py#L31
  74. arguments-differ:
    Variadics removed in overridden 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/compilemessages.py#L72
  75. arguments-differ:
    Variadics removed in overridden 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/squashmigrations.py#L62
  76. arguments-differ:
    Number of parameters was 5 in 'TemplateCommand.handle' and is now 2 in overridden 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/startapp.py#L11
  77. arguments-differ:
    Variadics removed in overridden 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/inspectdb.py#L44
  78. arguments-differ:
    Number of parameters was 3 in 'ZipFile.read' and is now 1 in overridden 'SingleZipReader.read' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/loaddata.py#L427
  79. arguments-differ:
    Variadics removed in overridden 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/dbshell.py#L27
  80. arguments-differ:
    Number of parameters was 5 in 'TemplateCommand.handle' and is now 2 in overridden 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/startproject.py#L14
  81. arguments-differ:
    Variadics removed in overridden 'Command.handle' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/core/management/commands/diffsettings.py#L45
  82. arguments-renamed:
    Parameter 'settings' has been renamed to 'databases' in overridden 'ConnectionHandler.configure_settings' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/utils.py#L147
  83. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 4 in overridden 'Aggregate.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/aggregates.py#L103
  84. arguments-renamed:
    Parameter 'exprs' has been renamed to 'new_exprs' in overridden 'Lookup.set_source_expressions' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/lookups.py#L74
  85. arguments-renamed:
    Parameter 'compiler' has been renamed to 'qn' in overridden 'IExact.process_rhs' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/lookups.py#L365
  86. arguments-renamed:
    Parameter 'compiler' has been renamed to 'qn' in overridden 'PatternLookup.process_rhs' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/lookups.py#L512
  87. arguments-renamed:
    Parameter 'change_map' has been renamed to 'relabels' in overridden 'Col.relabeled_clone' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/expressions.py#L1117
  88. arguments-renamed:
    Parameter 'change_map' has been renamed to 'relabels' in overridden 'Ref.relabeled_clone' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/expressions.py#L1161
  89. arguments-differ:
    Number of parameters was 2 in 'BaseExpression.get_group_by_cols' and is now 1 in overridden 'OrderByList.get_group_by_cols' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/expressions.py#L1214
  90. arguments-differ:
    Number of parameters was 6 in 'Subquery.as_sql' and is now 5 in overridden 'Exists.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/expressions.py#L1512
  91. arguments-differ:
    Variadics removed in overridden 'OrderBy.asc' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/expressions.py#L1635
  92. arguments-differ:
    Variadics removed in overridden 'OrderBy.desc' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/expressions.py#L1638
  93. arguments-differ:
    Variadics removed in overridden 'Window.as_sqlite' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/expressions.py#L1728
  94. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'RelatedField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/related.py#L463
  95. arguments-differ:
    Number of parameters was 5 in 'RelatedField.contribute_to_class' and is now 4 in overridden 'ManyToManyField.contribute_to_class' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/related.py#L1882
  96. arguments-differ:
    Number of parameters was 4 in 'Field.contribute_to_class' and is now 4 in overridden 'FileField.contribute_to_class' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/files.py#L319
  97. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'FileField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/files.py#L348
  98. arguments-renamed:
    Parameter 'lookup_name' has been renamed to 'name' in overridden 'JSONField.get_transform' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/json.py#L100
  99. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'JSONField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/json.py#L120
  100. arguments-differ:
    Variadics removed in overridden 'KeyTransform.as_sqlite' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/json.py#L356
  101. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'BooleanField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L1094
  102. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'CharField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L1201
  103. arguments-differ:
    Number of parameters was 4 in 'Field.contribute_to_class' and is now 4 in overridden 'DateField.contribute_to_class' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L1412
  104. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'DateField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L1444
  105. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'DecimalField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L1733
  106. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'DurationField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L1800
  107. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'FilePathField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L1894
  108. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'FloatField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L1944
  109. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'IntegerField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L2040
  110. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'GenericIPAddressField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L2187
  111. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'TextField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L2387
  112. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'TimeField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L2515
  113. arguments-differ:
    Number of parameters was 4 in 'Field.formfield' and is now 2 in overridden 'UUIDField.formfield' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/fields/__init__.py#L2659
  114. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 4 in overridden 'Cast.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/functions/comparison.py#L17
  115. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 4 in overridden 'Collate.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/functions/comparison.py#L117
  116. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 4 in overridden 'JSONObject.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/functions/comparison.py#L153
  117. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 3 in overridden 'Extract.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/functions/datetime.py#L53
  118. arguments-differ:
    Variadics removed in overridden 'Extract.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/functions/datetime.py#L53
  119. arguments-differ:
    Number of parameters was 7 in 'Func.as_sql' and is now 3 in overridden 'TruncBase.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/functions/datetime.py#L245
  120. arguments-differ:
    Variadics removed in overridden 'TruncBase.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/functions/datetime.py#L245
  121. arguments-differ:
    Number of parameters was 1 in 'BaseExpression.convert_value' and is now 4 in overridden 'TruncBase.convert_value' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/functions/datetime.py#L327
  122. arguments-differ:
    Number of parameters was 3 in 'SQLCompiler.as_sql' and is now 1 in overridden 'SQLInsertCompiler.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/sql/compiler.py#L1676
  123. arguments-differ:
    Number of parameters was 4 in 'SQLCompiler.execute_sql' and is now 2 in overridden 'SQLInsertCompiler.execute_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/sql/compiler.py#L1756
  124. arguments-differ:
    Number of parameters was 3 in 'SQLCompiler.as_sql' and is now 1 in overridden 'SQLDeleteCompiler.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/sql/compiler.py#L1833
  125. arguments-differ:
    Number of parameters was 3 in 'SQLCompiler.as_sql' and is now 1 in overridden 'SQLUpdateCompiler.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/sql/compiler.py#L1856
  126. arguments-differ:
    Number of parameters was 4 in 'SQLCompiler.execute_sql' and is now 2 in overridden 'SQLUpdateCompiler.execute_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/sql/compiler.py#L1921
  127. arguments-differ:
    Number of parameters was 2 in 'SQLCompiler.pre_sql_setup' and is now 1 in overridden 'SQLUpdateCompiler.pre_sql_setup' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/sql/compiler.py#L1942
  128. arguments-differ:
    Number of parameters was 3 in 'SQLCompiler.as_sql' and is now 1 in overridden 'SQLAggregateCompiler.as_sql' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/db/models/sql/compiler.py#L2007
  129. arguments-renamed:
    Parameter 'value' has been renamed to 'data' in overridden 'FileField.to_python' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/forms/fields.py#L636
  130. arguments-renamed:
    Parameter 'value' has been renamed to 'data' in overridden 'FileField.clean' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/forms/fields.py#L659
  131. arguments-differ:
    Number of parameters was 4 in 'datetime.combine' and is now 3 in overridden 'datetime.combine' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/utils/datetime_safe.py#L35
  132. arguments-renamed:
    Parameter 'data' has been renamed to 'd' in overridden 'MLStripper.handle_data' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/utils/html.py#L147
  133. arguments-differ:
    Number of parameters was 1 in 'BaseArchive.extract' and is now 2 in overridden 'TarArchive.extract' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/utils/archive.py#L169
  134. arguments-differ:
    Number of parameters was 1 in 'BaseArchive.extract' and is now 2 in overridden 'ZipArchive.extract' method
    https://github.com/django/django/blob/cfe3008123ed7c9e3f3a4d51d4a22f9d96634e33/django/utils/archive.py#L212

Effect on flask:
The following messages are now emitted:

  1. arguments-renamed:
    Parameter 'cmd_name' has been renamed to 'name' in overriding 'FlaskGroup.get_command' method
    https://github.com/pallets/flask/blob/0d8c8ba71bc6362e6ea9af08146dc97e1a0a8abc/src/flas...

This comment was truncated because GitHub allows only 65536 characters in a comment.

This comment was generated for commit 8412d63

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for the fix. (Another possibility would be to make astroid understands decorator better but this is a lot harder to do). I'm going to wait for Daniel's opinion before merging.

Copy link
Collaborator

@DanielNoord DanielNoord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should indeed be fixed in astroid.

Specifically by changing GeneratorModel which gets used by bases.Generator here:
https://github.com/PyCQA/astroid/blob/849d043f3e3cd63881ba919ccba4e6a726947d22/astroid/bases.py#L606

You can find astroid.interpreter.objectmodel.GeneratorModel here:
https://github.com/PyCQA/astroid/blob/849d043f3e3cd63881ba919ccba4e6a726947d22/astroid/interpreter/objectmodel.py#L601

We would need to add attr___enter__ and attr___exit__. It should be relatively straightforward to do so. We only need to make sure that we get the typing and arguments that can be passed to these methods correctly.
The signature of these methods can be found here:
https://docs.python.org/3/reference/datamodel.html#object.__enter__

@clavedeluna
Copy link
Contributor Author

This should indeed be fixed in astroid.

happy to do it. I've followed your instructions and started this draft PR but I'm hoping you can help me fill in the methods as I'm not too sure what they should be....

@DanielNoord
Copy link
Collaborator

Closing as this should be fixed in astroid with pylint-dev/astroid#1810.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False positive no-member with @contextmanager decorated generators
4 participants