A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-August/091426.html below:

[Python-Dev] deprecated methods on array objects

[Python-Dev] deprecated methods on array objects [Python-Dev] deprecated methods on array objectsJake McGuire mcguire at google.com
Thu Aug 27 23:15:16 CEST 2009
The python documentation says that the read() and write() methods on array
objects have been deprecated since 1.5.1.  I assume this is because their
semantics are almost the exact opposite of read() and write() on a file-like
object; array.read() reads data from a file into the array and array.write()
writes data from the array to a file.
This causes fatal confusion in code that checks for the existence of read()
and write() to determine whether an object is file-like.  Code such as
httplib.

What is the timeline for removing these methods from array?  It has been 11
years now.

-jake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20090827/285b8972/attachment.htm>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4