Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
...memoryview Updating memoryview with the new item retrieval methods is outside the scope of this PEP. References [1]Initial March 2014 discussion thread on python-ideas (https://mail.python.org/pipermail/python-ideas/2014-March/027295.html) [2]Guido's initial feedback in that thread (https://mail.python.org/pipermail/python-ideas/2014-March/027376.html) [3]Issue proposing moving zero-initialised sequences to a dedicated API (http://bugs.python.org/issue20895) [4]Issue proposi...
...memoryview is a bytes view on another object (PyMemory) The old type named buffer is so similar to the new type memoryview, introduce by PEP 3118, that it is redundant. The rest of this PEP doesn't discuss the functionality of memoryview; it is just mentioned here to justify getting rid of the old buffer type. (An earlier version of this PEP proposed buffer as the new name for PyBytes; in the end this name was deemed to confusing given the many other uses of the word buffer.) While eventually ...
...memoryview objects (as well as a couple others such as pathlib's path objects). %c will accept an integer between 0 and 255, and insert a byte of the given value. Braces-formatting for bytes and bytearray supports the following features: All the kinds of argument lookup supported by str.format() (explicit positional lookup, auto-incremented positional lookup, keyword lookup, attribute lookup, etc.) Insertion of binary data when no modifier or layout is specified (e.g. {}, {0}, {name}). This h...
Version: None
Released: July 3, 2010
Note: A bugfix release, 2.7.13, is currently available. Its use is recommended. Python 2.7.0 was released on July 3rd, 2010. Python 2.7 is scheduled to be the last major version in the 2.x series before it moves into an extended maintenance period. This release contains many of the features …
View Release Notes
...memoryview object from 3.x Set literals Set and dictionary comprehensions Dictionary views New syntax for nested with statements The sysconfig module See these resources for further information: What's new in 2.7? Change log for this release. Online Documentation Report bugs at http://bugs.python.org. Help fund Python and its community. Download This is a production release. Please report any bugs you encounter. We currently support these formats for download: Gzipped source tar ball (2.7...
Released: Nov. 26, 2014
Python 2.7.9rc1 is the first release candidate for the next bugfix version of the Python 2.7 series. Python 2.7.9 will include several significant changes unprecedented in a "bugfix" release: The entirety of Python 3.4's ssl module has been backported for Python 2.7.9. See PEP 466 for justification. HTTPS certificate validation …
Released: Nov. 27, 2010
Note: A newer bugfix release, 2.7.2, is currently available. Its use is recommended. Python 2.7.1 was released on November 27th, 2010. The Python 2.7 series is scheduled to be the last major version in the 2.x series before 2.x moves into an extended maintenance period. This release contains many …
...MemoryView(PyObject *obj) Return a memory-view object from an object that defines the buffer interface. A memory-view object is an extended buffer object that could replace the buffer object (but doesn't have to as that could be kept as a simple 1-d memory-view object). Its C-structure is typedef struct { PyObject_HEAD PyObject *base; Py_buffer view; } PyMemoryViewObject; This is functionally similar to the current buffer object except a reference to base is kept and the memory v...
Released: June 11, 2011
Note: A newer bugfix release, 2.7.3, is currently available. Its use is recommended over Python 2.7.2. Python 2.7.2 was released on June 11th, 2011. The Python 2.7 series is scheduled to be the last major version in the 2.x series before 2.x moves into an extended maintenance period. The …
Released: Nov. 10, 2013
Note: Python 2.7.6 has been superseded by Python 2.7.8. Python 2.7.6 was released on November 10, 2013. This is a 2.7 series bugfix release. Most importantly, it resolves an issue that caused the interactive prompt to crash on OS X 10.9. It also includes numerous bugfixes over 2.7.5. Download …
Released: April 6, 2013
Note: A newer bugfix release, 2.7.5, is currently available. Its use is recommended over previous versions of 2.7. Python 2.7.4 was released on April 6, 2013. This is a 2.7 series bugfix release. It includes hundreds of bugfixes over 2.7.3. About the 2.7 release series Among the features and …
...memoryview object from 3.x Set literals Set and dictionary comprehensions Dictionary views New syntax for nested with statements The sysconfig module Resources What's new in 2.7? Complete change log for this release. Online Documentation Report bugs at http://bugs.python.org. Help fund Python and its community. Download This is a production release. Please report any bugs you encounter. We currently support these formats for download: XZ compressed source tar ball (2.7.4) (sig) Gzipped...
...memoryview object from 3.x Set literals Set and dictionary comprehensions Dictionary views New syntax for nested with statements The sysconfig module [1](1, 2) The binaries for AMD64 will also work on processors that implement the Intel 64 architecture (formerly EM64T), i.e. the architecture that Microsoft calls x64, and AMD called x86-64 before calling it AMD64. They will not work on Intel Itanium Processors (formerly IA-64). [2](1, 2) There is important information about IDLE, Tkinter...
...memoryview object from 3.x Set literals Set and dictionary comprehensions Dictionary views New syntax for nested with statements The sysconfig module Binary installer support for OS X 10.4 and 10.3.9 to be discontinued Python 2.7.7 is the last release for which binary installers will be released on python.org that support Mac OS X 10.3.9 (Panther) and 10.4.x (Tiger) systems. For Python 2.7.7 only, we are providing three OS X binary installers: the unchanged 10.6+ 64-bit/32-bit format, the de...
Released: May 12, 2013
Note: A newer bugfix release, 2.7.6, is currently available. Its use is recommended over previous versions of 2.7. Python 2.7.5 was released on May 15, 2013. This is a 2.7 series bugfix release. It contains several regression fixes to 2.7.4. Modules with regressions fixed include zipfile, gzip, …
Released: May 17, 2014
Note: Python 2.7.7 has been superseded by Python 2.7.8 Python 2.7.7 was released on May 31, 2014. This is a regularly scheduled 2.7 series bugfix and includes numerous bugfixes over 2.7.6. Download This is a production release. Please report any bugs you encounter. We currently support these formats for download: …
Released: June 1, 2014
...memoryview object from 3.x Set literals Set and dictionary comprehensions Dictionary views New syntax for nested with statements The sysconfig module Resources What's new in 2.7? Complete change log for this release. Online Documentation Report bugs at http://bugs.python.org. Help fund Python and its community. Download This is a production release. Please report any bugs you encounter. We currently support these formats for download: XZ compressed source tar ball (2.7.5) (sig) Gzipped...