Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #5753: A new C API function, :cfunc:`PySys_SetArgvEx`, allows | Antoine Pitrou | 2010-05-21 | 1 | -5/+33 |
| | | | | | | embedders of the interpreter to set sys.argv without also modifying sys.path. This helps fix `CVE-2008-5983 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983>`_. | ||||
* | Fix description for Py_GetPath(); it sounded like it always returned sys.path. | Georg Brandl | 2010-01-07 | 1 | -8/+9 |
| | |||||
* | #7388: "python".capitalize() in the Doc | Ezio Melotti | 2009-12-19 | 1 | -2/+2 |
| | |||||
* | #7521: remove Py_GetBuildNumber(), which was removed in favor of ↵ | Georg Brandl | 2009-12-19 | 1 | -9/+0 |
| | | | | Py_GetBuildInfo(). | ||||
* | Fix issue #1590864, multiple threads and fork() can cause deadlocks, by | Thomas Wouters | 2009-09-16 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | | | | | | acquiring the import lock around fork() calls. This prevents other threads from having that lock while the fork happens, and is the recommended way of dealing with such issues. There are two other locks we care about, the GIL and the Thread Local Storage lock. The GIL is obviously held when calling Python functions like os.fork(), and the TLS lock is explicitly reallocated instead, while also deleting now-orphaned TLS data. This only fixes calls to os.fork(), not extension modules or embedding programs calling C's fork() directly. Solving that requires a new set of API functions, and possibly a rewrite of the Python/thread_*.c mess. Add a warning explaining the problem to the documentation in the mean time. This also changes behaviour a little on AIX. Before, AIX (but only AIX) was getting the import lock reallocated, seemingly to avoid this very same problem. This is not the right approach, because the import lock is a re-entrant one, and reallocating would do the wrong thing when forking while holding the import lock. Will backport to 2.6, minus the tiny AIX behaviour change. | ||||
* | Py_SetPythonHome uses static storage #6913 | Benjamin Peterson | 2009-09-15 | 1 | -0/+4 |
| | |||||
* | #5840: dont claim we dont support TLS. | Georg Brandl | 2009-04-27 | 1 | -4/+3 |
| | |||||
* | Rewrite a sentence to be more in line with the rest of the documentation with | Jeroen Ruigrok van der Werven | 2009-04-25 | 1 | -7/+7 |
| | | | | regard to person and audience. | ||||
* | #5298: clarify docs about GIL by using more consistent wording. | Georg Brandl | 2009-04-05 | 1 | -78/+79 |
| | |||||
* | Fix 'the the' duplication | Andrew M. Kuchling | 2009-04-03 | 1 | -1/+1 |
| | |||||
* | #5486: typos. | Georg Brandl | 2009-03-13 | 1 | -1/+1 |
| | |||||
* | #5015: document PythonHome API functions. | Georg Brandl | 2009-02-05 | 1 | -0/+14 |
| | |||||
* | #5144: document that PySys_SetArgv prepends the script directory (or the ↵ | Georg Brandl | 2009-02-05 | 1 | -7/+11 |
| | | | | empty string) to sys.path. | ||||
* | Fix call signature and markup. | Georg Brandl | 2009-01-13 | 1 | -3/+3 |
| | |||||
* | Issue 4293: Make Py_AddPendingCall() thread safe | Kristján Valur Jónsson | 2009-01-09 | 1 | -0/+44 |
| | | | | Add test cases and documentation | ||||
* | Remove trailing whitespace. | Georg Brandl | 2009-01-03 | 1 | -2/+2 |
| | |||||
* | PyGILState_Acquire -> PyGILState_Ensure | Benjamin Peterson | 2008-10-10 | 1 | -3/+3 |
| | |||||
* | Some cleanup in the docs. | Georg Brandl | 2007-12-29 | 1 | -3/+3 |
| | |||||
* | Add documentation for PySys_* functions. | Georg Brandl | 2007-12-02 | 1 | -2/+0 |
| | | | | Written by Charlie Shepherd for GHOP. Also fixes #1245. | ||||
* | Document PyEval_* functions from ceval.c. | Georg Brandl | 2007-12-01 | 1 | -0/+48 |
| | | | | Credits to Michael Sloan from GHOP. | ||||
* | Move the 2.6 reST doc tree in place. | Georg Brandl | 2007-08-15 | 1 | -0/+936 |