Opened 10 years ago

Last modified 2 years ago

#23919 closed Cleanup/optimization

Cleanups for when we drop Python 2 compatibility — at Initial Version

Reported by: Tim Graham Owned by: nobody
Component: Core (Other) Version:
Severity: Normal Keywords:
Cc: cmawebsite@…, Tom Forbes Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This is a tracking ticket of things that we can remove when we drop Python 2 compatibility (in a few years or so). Please edit the description of the ticket as you come across new items.

  • django.dispatch.weakref_backports
  • django.utils.2to3_fixes
  • django.utils.lru_cache
  • django.utils.html_parser.use_workaround
  • django.utils.decorators.ContextDecorator
  • django.utils.six
  • Change inspect.getargspec() (deprecated since 3.0) to inspect.getfullargspec()
  • @python_2_unicode_compatible
  • from __future__ import unicode_literals

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top