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.
...dynamic nature made it simple to execute the Python code Cog found, and its flexibility made it possible to execute it in a properly-constructed environment to get the desired semantics. Much of Cog's code is concerned with getting indentation correct: I wanted the author to be able to organize his generator code to look good in the host file, and produce generated code that looked good as well, without worrying about fiddly whitespace issues. Python's OS-level integration let me execute shell c...
...dynamic nature. E.g. for the expression "a+b" it will have to generate a call to PyNumber_Add(a, b) because it can't know the types of a and b without a *lot* (and a mean a LOT) of type inferencing effort.] Later, Mike writes: Okay, trying to debug this weird stack corruption thing, I thought along the lines of: 1) Stacks should only be corrupted if an object is decref'd which shouldn't be, or an object is created without a reference to begin with? No -- corrupt stac...
Version: None
Released: April 6, 2013
Note: A newer security-fix release, 3.2.6, is currently available. Its use is recommended. Python 3.2.4 was released on April 7th, 2013. This is the final 3.2 series bugfix release. New features of the 3.2 series, compared to 3.1 Python 3.2 is a continuation of the efforts to improve and …
View Release Notes
Released: May 15, 2013
Note: A newer security-fix release, 3.2.6, is currently available. Its use is recommended. Python 3.2.5 was released on May 15th, 2013. This release fixes a few regressions found in Python 3.2.4, and is planned to be the final 3.2 series bugfix release. New features of the 3.2 series, compared …
Released: July 9, 2011
Note: A newer security-fix release, 3.2.6, is currently available. Its use is recommended. Python 3.2.1 was released on July 10th, 2011. Python 3.2 is a continuation of the efforts to improve and stabilize the Python 3.x line. Since the final release of Python 2.7, the 2.x line will only …
Released: Sept. 3, 2011
Note: A newer security-fix release, 3.2.6, is currently available. Its use is recommended. Python 3.2.2 was released on September 4th, 2011. It mainly fixes a regression in the urllib.request module that prevented opening many HTTP resources correctly with Python 3.2.1. Python 3.2 is a continuation of the efforts to …
Released: April 10, 2012
Note: A newer security-fix release, 3.2.6, is currently available. Its use is recommended. Python 3.2.3 was released on April 10, 2012. It includes fixes for several reported security issues: issue 13703 (CVE-2012-1150, hash collision denial of service), issue 14234 (CVE-2012-0876, Expat hash collision denial of service), issue 14001 (CVE-2012-0845, …
Released: Feb. 20, 2011
Note: A newer security-fix release, 3.2.6, is currently available. Its use is recommended. Python 3.2 was released on February 20th, 2011. Python 3.2 is a continuation of the efforts to improve and stabilize the Python 3.x line. Since the final release of Python 2.7, the 2.x line will only …
...dynamic libraries PEP 3148, a new futures library for concurrent programming PEP 384, a stable ABI for extension modules PEP 391, dictionary-based logging configuration an overhauled GIL implementation that reduces contention an extended email package that handles bytes messages a much improved ssl module with support for SSL contexts and certificate hostname matching a sysconfig module to access configuration information additions to the shutil module, among them archive file support many enhan...
...dynamic scope rules mean that it is first looked up (unsuccessfully) in the current module's global dictionary, and then in the dictionary of built-in function (where it is found). Worse, unsuccessful dictionary lookups are (on average) a bit slower than successful ones, because of the way the hash chaining works. The second reason why f3() is faster than f1() is that the call to chr(item), as executed by the bytecode interpreter, is probably a bit slower than when executed by th...
...dynamically reload modules allow us to turn very fast cycles during development. The current codebase is about 30K lines of code, written over the last year or so. I do a lot of the prototypes, mockups, etc., but Christian has implemented most of the current codebase himself. The productivity that Python provides over the "mainstream" languages is profound. We've also found the application stack to be very robust. As our flagship application, ProjectPipe is mission critical. If it prov...
...dynamic as Python, it's hard to say whether TypeError is a "program error", a "runtime error" or an "environmental error", so we decided to leave it undecided. It could be argued that NameError and AttributeError should be derived from LookupError, but this is questionable and depends entirely on the application. Exception Class Definitions The Python class definitions for the standard exceptions are imported from the standard module "exceptions". You can't change this file thinki...
...programming of Python, we feel that your extensive use of Python over the past 6 years might be of some use to the PSF. M. van Löwis asked if they were aware that support can also be shown by donating. Sponsor membership is not required to support the PSF, and members are expected to come to member meetings. But the PSF home page has clearly distinct "donation" & "sponsor membership" links, and S. Deibel reported that he had sent email to CCP Games stating that Sponsor...
...dynamically-loaded extension modules on Reliant UNIX. Changes for the benefit of SunOS 4.1.4 (really!). mmapmodule.c: Don't define MS_SYNC to be zero when it is undefined. Added missing prototypes in posixmodule.c. Improved support for HP-UX build. Threads should now be correctly configured (on HP-UX 10.20 and 11.00). Fix largefile support on older NetBSD systems and OpenBSD by adding define for TELL64. Tools and other miscellany ftpmirror: Call to main...
...dynamically) makes it difficult to debug the parser. Since the parsers silently support ambiguous grammars, it might be difficult to find the cause of a syntax error. The documentation primarily consists of the IPC7 paper, and a few examples. BisonGen Fourthought Inc has developed the BisonGen framework to implement parsers for their 4Suite package [Fou01]. The parser is defined using an XML syntax. Until recently, the build process of a BisonGen parser was as follows: BisonG...
If you didn't find what you need, try your search in the Python language documentation.