#27753: Cleanups when no supported version of Django supports Python 2 anymore --------------------------------------+------------------------------------ Reporter: Aymeric Augustin | Owner: (none) Type: Cleanup/optimization | Status: new Component: Utilities | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------------+------------------------------------
Comment (by Tim Graham): [https://github.com/django/django/pull/10938 PR] for favoring`force_str()`, `smart_str()`, and `SafeString` over `force_text()`, `smart_text()`, and `SafeText`. It also deprecates the former functions. No deprecation for `SafeText` because it seems more trouble than it's worth right now (deprecation warnings in `__init__()` and `__isinstance__()`?). -- Ticket URL: <https://code.djangoproject.com/ticket/27753#comment:21> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.6cf0c5ee7e3dbb989e225c6983119a8d%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.