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.
Version: None
Released: March 11, 2008
Python 2.3 is now well and truly in bugfix-only mode; no new features are being added, and only security critical bugs have been fixed. This release addresses a number of cases interpreter …
View Release Notes
PEP 295 -- Interpretation of multiline string constants PEP:295 Title:Interpretation of multiline string constants Author:yozh at mx1.ru (Stepan Koltsov) Status:Rejected Type:Standards Track Created:22-Jul-2002 Python-Version:3.0 Post-History: Contents Abstract Rationale Implementation Alternatives Copyright Abstract This PEP describes an interpretation of multiline string constants for Python. It suggests stripping spaces after newlines and stripping a newline if it is fi...
PEP 615 -- Support for the IANA Time Zone Database in the Standard Library PEP:615 Title:Support for the IANA Time Zone Database in the Standard Library Author:Paul Ganssle <paul at ganssle.io> Discussions-To:https://discuss.python.org/t/3468 Status:Accepted Type:Standards Track Created:22-Feb-2020 Python-Version:3.9 Post-History:25-Feb-2020, 29-Mar-2020 Replaces:431 Contents Abstract Motivation Proposal The zoneinfo.ZoneInfo class Constructors Behavior during data upd...
...compilation warning in Python 3.10 and then forbid their use after that. Motivation The use of return, break and continue within a finally suite leads to behaviour which is not at all obvious. Consider the following function: def foo(): try: foo() finally: return This will return cleanly (without an exception) even though it has infinite recursion and raises an exception within the try. The reason is that the return within the finally will silently cancel any except...
Python 2.3.2 Python 2.3.2 Note: See Python 2.3.5 for a patch release release which supersedes earlier releases of 2.3. Important: This release is vulnerable to the problem described in security advisory PSF-2006-001 "Buffer overrun in repr() of unicode strings in wide unicode builds (UCS-4)". This fix is included in Python 2.4.4 and Python 2.5. If you need to remain with Python 2.3, there's a patch available from the security advisory page. Important: ...
Python 2.3.3 Python 2.3.3 Note: See Python 2.3.5 for a patch release release which supersedes earlier releases of 2.3. Important: This release is vulnerable to the problem described in security advisory PSF-2006-001 "Buffer overrun in repr() of unicode strings in wide unicode builds (UCS-4)". This fix is included in Python 2.4.4 and Python 2.5. If you need to remain with Python 2.3, there's a patch available from the security advisory page. Important: ...
Python 2.3.4 Python 2.3.4 Note: See Python 2.3.5 for a patch release which supersedes earlier releases of 2.3. Important: This release is vulnerable to the problem described in security advisory PSF-2006-001 "Buffer overrun in repr() of unicode strings in wide unicode builds (UCS-4)". This fix is included in Python 2.4.4 and Python 2.5. If you need to remain with Python 2.3, there's a patch available from the security advisory page. Important: 2.3.5 in...
Python 2.3.6 Release Python 2.3.6 We are pleased to announce the release of Python 2.3.6 (FINAL), a bugfix release of Python 2.3, on November 1, 2006. Important: 2.3.6 includes a security fix (PSF-2006-001) for the repr() of unicode strings in wide unicode builds (UCS-4) Python 2.3 is now well and truly in bugfix-only mode; no new features are being added, and only security critical bugs have been fixed. There are 3 bugs fixed in this release - a problem with the email package's handling of...
Python 2.3.7 Release Python 2.3.7 We are pleased to announce Python 2.3.7 (final), a bugfix release of Python 2.3, on March 11, 2008. Important: 2.3.7 is a source-only release. If you need a binary release of 2.3, use 2.3.5. If you need the fixes that are included in this release, use 2.5.2 or later. Python 2.3 is now well and truly in bugfix-only mode; no new features are being added, and only security critical bugs have been fixed. This release addresses a number of cases interpreter migh...
Released: Nov. 1, 2006
Python 2.3 is now well and truly in bugfix-only mode; no new features are being added, and only security critical bugs have been fixed. There are 3 bugs fixed in this release - a problem with the …
...compilation step, the edit-test-debug cycle is incredibly fast. Debugging Python programs is easy: a bug or bad input will never cause a segmentation fault. Instead, when the interpreter discovers an error, it raises an exception. When the program doesn't catch the exception, the interpreter prints a stack trace. A source level debugger allows inspection of local and global variables, evaluation of arbitrary expressions, setting breakpoints, stepping through the code a line at a time, ...
...compilation. func_new_impl function.__new__ (code,) Detect dynamic creation of function objects. This only occurs for direct instantiation, and is not raised for normal compilation. _ctypes.dlopen, _ctypes.LoadLibrary ctypes.dlopen (module_or_path,) Detect when native modules are used. _ctypes._FuncPtr ctypes.dlsym (lib_object, name) Collect information about specific symbols retrieved from native modules. _ctypes._CData ctypes.cdata (ptr_as_int,) Detect when code is accessing arbitrary memo...
PEP 238 -- Changing the Division Operator PEP:238 Title:Changing the Division Operator Author:moshez at zadka.site.co.il (Moshe Zadka), guido at python.org (Guido van Rossum) Status:Final Type:Standards Track Created:11-Mar-2001 Python-Version:2.2 Post-History:16-Mar-2001, 26-Jul-2001, 27-Jul-2001 Contents Abstract Motivation Variations Alternatives API Changes Command Line Option Semantics of Floor Division Semantics of True Division The Future Division Statement Open Issues ...
...compilation to bytecode ast_transformer() method Prototype: def ast_transformer(self, tree, context): ... return tree Parameters: tree: an AST tree context: an object with a filename attribute (str) It must return an AST tree. It can modify the AST tree in place, or create a new AST tree. The AST transformer is called after the creation of the AST by the parser and before the compilation to bytecode. New attributes may be added to context in the future. Changes In short, add: -...
PEP 516 -- Build system abstraction for pip/conda etc PEP:516 Title:Build system abstraction for pip/conda etc Author:Robert Collins <rbtcollins at hp.com>, Nathaniel Smith <njs at pobox.com> BDFL-Delegate:Nick Coghlan <ncoghlan at gmail.com> Discussions-To:distutils-sig at python.org Status:Rejected Type:Standards Track Created:26-Oct-2015 Resolution:https://mail.python.org/pipermail/distutils-sig/2017-May/030517.html Contents Abstract PEP Rejection Motivat...
...compilation of core against CoreServices and CoreFoundation on OS X. Involved removing PyMac_GetAppletScriptFile() which has no known users. Thanks Bob Ippolito. C API The PyRange_New() function is deprecated. What's New in Python 2.4 beta 2? Release date: 03-NOV-2004 License The Python Software Foundation changed the license under which Python is released, to remove Python version numbers. There were no other changes to the license. So, for example, wherever the license for Python ...
...compilation error involving socklen_t. The PC configuration is slightly friendlier to non-Microsoft compilers.
Comparing Python to Other Languages Comparing Python to Other Languages Disclaimer: This essay was written sometime in 1997. It shows its age. It is retained here merely as a historical artifact. --Guido van Rossum Python is often compared to other interpreted languages such as Java, JavaScript, Perl, Tcl, or Smalltalk. Comparisons to C++, Common Lisp and Scheme can also be enlightening. In this section I will briefly compare Python to each of these languages. These comparison...
Python 2.3.5 Python 2.3.5 We're happy to announce the release of Python 2.3.5 (final) on Feb 8th, 2005. This is a bug-fix release for Python 2.3. There have been around 50 bugs fixed since 2.3.4 - in the Python interpreter, the standard library and also in the build process - see the release notes for details. Important: This release is vulnerable to the problem described in security advisory PSF-2006-001 "Buffer overrun in repr() of unicode strings in wide unicode ...
PEP 304 -- Controlling Generation of Bytecode Files PEP:304 Title:Controlling Generation of Bytecode Files Author:Skip Montanaro Status:Withdrawn Type:Standards Track Created:22-Jan-2003 Post-History:27-Jan-2003, 31-Jan-2003, 17-Jun-2005 Contents Historical Note Abstract Proposal Glossary Locating bytecode files Writing bytecode files Defining augmented directories Fixing the location of the bytecode base Rationale Alternatives Issues Examples Implementation References Copyri...