Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#28137 closed Cleanup/optimization (fixed)

Deprecate HttpRequest.xreadlines

Reported by: Josh Schneier Owned by: nobody
Component: HTTP handling Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


xreadlines was part of the file-like object API introduced in Python 2.1 and then deprecated in Python 2.3 with the introduction of generators before being removed in Python 3. Deprecation and change-over is straightforward and consistent with the current state of file-like objects. Probably this should have been done when Python 2.x support was dropped.

Change History (4)

comment:1 by Josh Schneier, 7 years ago

Has patch: set

comment:2 by Simon Charette, 7 years ago

Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization

comment:3 by Tim Graham <timograham@…>, 7 years ago

Resolution: fixed
Status: newclosed

In a1b2c1d7:

Fixed #28137 -- Deprecated HttpRequest.xreadlines().

comment:4 by Tim Graham <timograham@…>, 5 years ago

In 7c66aaa2:

Refs #28137 -- Removed HttpRequest.xreadlines() per deprecation timeline.

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