Opened 6 years ago

Closed 6 years ago

Last modified 4 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 Changed 6 years ago by Josh Schneier

Has patch: set

comment:2 Changed 6 years ago by Simon Charette

Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization

comment:3 Changed 6 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In a1b2c1d7:

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

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

In 7c66aaa2:

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

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