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.
...bytes Read up to n bytes from the object and return them. Fewer than n bytes may be returned if the operating system call returns fewer than n bytes. If 0 bytes are returned, this indicates end of file. If the object is in non-blocking mode and no bytes are available, the call returns None. .readinto(b: bytes) -> int Read up to len(b) bytes from the object and stores them in b, returning the number of bytes read. Like .read, fewer than len(b) bytes may be read, and 0 indicates end of fi...
...bytes) </ul> <li />These RPMs are built from the python.org .spec file: <ul> <li /><a href="/ftp/python/2.3/rpms/redhat-9/python2.3-2.3-5pydotorg.i386.rpm">python2.3-2.3-5pydotorg.i386.rpm</a> (Red Hat 9 base RPM, 7495111 bytes) <li /><a href="/ftp/python/2.3/rpms/redhat-9/python2.3-devel-2.3-5pydotorg.i386.rpm">python2.3-devel-2.3-5pydotorg.i386.rpm</a> (Red Hat 9 development RPM, 659999 bytes) <li /><a href=&qu...
...bytes) Binaries for Fedora Core 3 (and similar): python2.4-2.4.1-1pydotorg.i386.rpm (Fedora Core 1 base RPM, 7982737 bytes) python2.4-devel-2.4.1-1pydotorg.i386.rpm (Fedora Core 1 development RPM, 712318 bytes) python2.4-docs-2.4.1-1pydotorg.i386.rpm (Fedora Core 1 HTML documentation RPM, 2102107 bytes) python2.4-tkinter-2.4.1-1pydotorg.i386.rpm (Fedora Core 1 Tk GUI RPM, 285917 bytes) python2.4-tools-2.4.1-1pydotorg.i386.rpm (Fedora Core 1 tools RPM, 756602 bytes) HTTP doesn't work f...
...bytes) <b>Redhat 7.3</b> 414340f193bf0c0d20bd9846bdd075d4 <a href="/ftp/python/2.2.1/rpms/rh7.3/python2-2.2.1-1.i386.rpm">python2-2.2.1-2.i386.rpm</a> (5670565 bytes) 5eeffb528beb2e3e668e46fbd5665598 <a href="/ftp/python/2.2.1/rpms/rh7.3/python2-devel-2.2.1-1.i386.rpm">python2-devel-2.2.1-2.i386.rpm</a> (1926741 bytes) 35d220cf9fa530d93092cb1848dfb574 <a href="/ftp/python/2.2.1/rpms/rh7.3/python2-docs-2.2.1-1.i386.rpm">pytho...
...bytes, taking care of all of the magic that needs to happen to those bytes to be eventually sent across the wire. The primary feature of a transport is sending bytes to a protocol and receiving bytes from the underlying protocol. Writing to the transport is done using the write and write_sequence methods. The latter method is a performance optimization, to allow software to take advantage of specific capabilities in some transport mechanisms. Specifically, this allows transports to use writev i...
...bytes can be fed into the object using its update() method, and the hash value can be obtained at any time by calling the object's digest() method. Although the parameter is called 'string', hashing objects operate on 8-bit data only. Both 'key' and 'string' must be a bytes-like object (bytes, bytearray...). A hashing object may support one-dimensional, contiguous buffers as argument, too. Text (unicode) is no longer supported in Python 3.x. Python 2.x implementations may take ASCII-only unicode...
...bytes) </ul> <li /><b>Binaries for Fedora Core 1 (and similar):</b> <ul> <li /><a href="/ftp/python/2.3.3/rpms/fedora-1/python2.3-2.3.3-2pydotorg.i386.rpm">python2.3-2.3.3-2pydotorg.i386.rpm</a> (Fedora Core 1 base RPM, 6072688 bytes) <li /><a href="/ftp/python/2.3.3/rpms/fedora-1/python2.3-devel-2.3.3-2pydotorg.i386.rpm">python2.3-devel-2.3.3-2pydotorg.i386.rpm</a> (Fedora Core 1 development RPM, 676969 bytes...
...bytes, memoryview and datetime classes. It currently implements FNV for unsigned char *. The function is moved to Python/pyhash.c and modified to use the hash function through PyHash_Func.hash(). The function signature is altered to take a const void * as first argument. _Py_HashBytes also takes care of special cases: it maps zero length input to 0 and return value of -1 to -2. bytes_hash() (Objects/bytesobject.c) bytes_hash uses _Py_HashBytes to provide the tp_hash slot function for bytes obj...
...bytes, down from 6378540 bytes for a wide Unicode build, and down from 3694694 bytes for a narrow Unicode build (all on a 32-bit system). This reduction came from the prevalence of ASCII strings in this application; out of 36,000 strings (with 1,310,000 chars), 35713 where ASCII strings (with 1,300,000 chars). The sources for these strings where not further analysed; many of them likely originate from identifiers in the library, and string constants in Django's source code. In comparison to Pyth...
...bytes) </ul> <li /><b>Binaries for Fedora Core 3 (and similar):</b> <ul> <li /><a href="/ftp/python/2.3.5/rpms/fedora-3/python2.3-2.3.5-4pydotorg.i386.rpm">python2.3-2.3.5-4pydotorg.i386.rpm</a> (Fedora Core 3 base RPM, 6684310 bytes) <li /><a href="/ftp/python/2.3.5/rpms/fedora-3/python2.3-devel-2.3.5-4pydotorg.i386.rpm">python2.3-devel-2.3.5-4pydotorg.i386.rpm</a> (Fedora Core 3 development RPM, 673584 bytes...
...bytes) <b>Redhat 7.2</b> 1105dc6589cb0f5101656436f2ecd92a <a href="/ftp/python/2.1.3/rpms/rh7.2/python2.1-2.1.3-1.i386.rpm">python2.1-2.1.3-1.i386.rpm</a> (4534523 bytes) e347802263023e03888b3e4d9544e3b0 <a href="/ftp/python/2.1.3/rpms/rh7.2/python2.1-devel-2.1.3-1.i386.rpm">python2.1-devel-2.1.3-1.i386.rpm</a> (1392206 bytes) d84e912987e82490ff2229c82733c8c4 <a href="/ftp/python/2.1.3/rpms/rh7.2/python2.1-tkinter-2.1.3-1.i386.rpm&q...
...bytes type, but critically, no automatic coercion between bytes and unicode strings is provided. The closest the language gets to implicit coercion are a few text-based APIs that assume a default encoding (usually UTF-8) if no encoding is explicitly stated. Thus, the core interpreter, its I/O libraries, module names, etc. are clear in their distinction between unicode strings and bytes. Python 3's unicode support even extends to the filesystem, so that non-ASCII file names are natively supporte...
...bytes) IO class that requires text to be passed encoded with utf-8, which will be decoded to utf-16-le and passed to the Windows APIs. Similarly, bytes read from the class will be provided by the operating system as utf-16-le and converted into utf-8 when returned to Python. The use of an ASCII compatible encoding is required to maintain compatibility with code that bypasses the TextIOWrapper and directly writes ASCII bytes to the standard streams (for example, Twisted's process_stdinreader.py)....
...bytes, signature) ddb7401e711354ca83b7842b733825a3 Python-2.5.tar.bz2 (9357099 bytes, signature) 33fffe927e4a84aa728d7a47165b2059 python-2.5.msi (10695680 bytes, signature) c9ebc47dfab4fdc78d895ed6ab715db0 python-2.5.amd64.msi (10889216 bytes, signature) dec95012739692625939e3ec6572fa5f python-2.5.ia64.msi (12986368 bytes, signature) 9ea85494251357970d83a023658fddc7 python-2.5-macosx.dmg (18749464 bytes, signature) d8bfc10c7fd6505271ef5c755999c7cc Python25.chm (4160038 bytes, signature) The sig...
...bytes, signature) 70084ffa561660f07de466c2c8c4842d Python-2.5.1.tar.bz2 (9383651 bytes, signature) a1d1a9c07bc4c78bd8fa05dd3efec87f python-2.5.1.msi (10970624 bytes, signature) 5cf96e05ad6721f90cdd9da146981640 python-2.5.1.amd64.msi (10983936 bytes, signature) 75347f7637a998765701088261bdd5cd python-2.5.1.ia64.msi (13201920 bytes, signature) 59796329bc160a3a1e2abc01bf30bb50 python-2.5.1-macosx.dmg (18719946 bytes, signature) ee652cd776cf930a0a40ff64c436f0b1 Python25.chm (4176034 bytes, signature...
...bytes, signature) afb5451049eda91fbde10bd5a4b7fadc Python-2.5.2.tar.bz2 (9806423 bytes, signature) d71e45968fdc4e206bb69fbf4cb82b2d python-2.5.2.msi (11294720 bytes, signature) d44a5741d54eefd690298e118b0f815a python-2.5.2.amd64.msi (11301888 bytes, signature) 86a5c0b141c52d1d7dc31ec5a1f3ab7c python-2.5.2.ia64.msi (13523456 bytes, signature) f72ba5ba35bf631eec94870e8ebeba61 python-2.5.2-macosx.dmg (19200390 bytes, signature) 4c2f7e124287525a93849b0b53893bf0 Python25.chm (4178494 bytes, signature...
...bytes, signature) 655a0e63c00bbf1277092ea5c58e9b34 Python-2.5.3.tar.bz2 (9821271 bytes, signature) 5566b7420b12c53d1f2bba3b27a4c3a9 python-2.5.3.msi (11323904 bytes, signature) 887b2cfbbfec3d1966f8d63f206cf0d2 python-2.5.3.amd64.msi (11337728 bytes, signature) 99ce6ee0e871824e324cd98f0b795aa0 python-2.5.3.ia64.msi (13568512 bytes, signature) 924bb2ef0cfd932aab4f3f018a722bef python-2.5.3-macosx.dmg (11323904 bytes, signature) ad881bc4e6755c57cbf5fa1cdd594369 Python25.chm (4182160 bytes, signature...
...bytes, signature) 394a5f56a5ce811fb0f023197ec0833e Python-2.5.4.tar.bz2 (9821313 bytes, signature) b4bbaf5a24f7f0f5389706d768b4d210 python-2.5.4.msi (11323392 bytes, signature) b1e1e2a43324b0b6ddaff101ecbd8913 python-2.5.4.amd64.msi (11340800 bytes, signature) 1acf900a3daf3f99d1a5511c2df98853 python-2.5.4.ia64.msi (13567488 bytes, signature) d8bd62fd175f5f9e9f4573e31096747e python-2.5.4-macosx.dmg (19277129 bytes, signature) 46d82531cfb9384d19d1bb4c9bbcfbab Python25.chm (4182312 bytes, signature...
Version: None
Released: Feb. 21, 2008
Python 2.5.2 was released on February 21st, 2008. This is the second bugfix release of Python 2.5. Python 2.5 is now in bugfix-only mode; no new features are being added. According to the release notes, over 100 bugs and patches have been addressed since Python 2.5.1, many …
View Release Notes
Released: Sept. 19, 2006
Python 2.5 was released on September 19th 2006. There's a bunch of places you can look for more information on what's new in this release -- see the "What's New" section further down this page. This is a final release, and should be suitable for production use. …