Opened 11 years ago
Last modified 9 months ago
#23919 closed Cleanup/optimization
Cleanups for when we drop Python 2 compatibility — at Version 3
| 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 (last modified by )
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_backportsdjango.utils.2to3_fixesdjango.utils.lru_cachedjango.utils.html_parser.use_workarounddjango.utils.decorators.ContextDecoratordjango.utils.six- Change
inspect.getargspec()(deprecated since 3.0) toinspect.getfullargspec() @python_2_unicode_compatiblefrom __future__ import unicode_literals- Lots of workarounds in
django.http.cookie str()stuff for environment variables, e.g. 0bfb53866199f366ed140d49938fd185e5898156
Change History (3)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
| Description: | modified (diff) |
|---|
comment:3 by , 11 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.
Various
nonlocalworkarounds (example).