Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'. | Christian Heimes | 2013-11-20 | 1 | -2/+18 |
| | | | | Python now uses SipHash24 on all major platforms. | ||||
* | (Merge 3.3) sysmodule.c: fix sys_update_path(), use Py_ARRAY_LENGTH() to get | Victor Stinner | 2013-11-15 | 1 | -1/+1 |
|\ | | | | | | | | | | | the size of the fullpath buffer, not PATH_MAX. fullpath is declared using MAXPATHLEN or MAX_PATH depending on the OS, and PATH_MAX is not declared on IRIX. | ||||
| * | sysmodule.c: fix sys_update_path(), use Py_ARRAY_LENGTH() to get the size of | Victor Stinner | 2013-11-15 | 1 | -1/+1 |
| | | | | | | | | | | the fullpath buffer, not PATH_MAX. fullpath is declared using MAXPATHLEN or MAX_PATH depending on the OS, and PATH_MAX is not declared on IRIX. | ||||
* | | Issue #19512, #19515: remove shared identifiers, move identifiers where they | Victor Stinner | 2013-11-07 | 1 | -14/+17 |
| | | | | | | | | | | | | | | are used. Move also _Py_IDENTIFIER() defintions to the top in modified files to remove identifiers duplicated in the same file. | ||||
* | | Issue #19512: add some common identifiers to only create common strings once, | Victor Stinner | 2013-11-06 | 1 | -11/+11 |
| | | | | | | | | | | | | | | instead of creating temporary Unicode string objects Add also more identifiers in pythonrun.c to avoid temporary Unicode string objets for the interactive interpreter. | ||||
* | | Issue #19512: Add _PySys_GetObjectId() and _PySys_SetObjectId() functions | Victor Stinner | 2013-11-06 | 1 | -0/+25 |
| | | |||||
* | | Issue #19512: sys_displayhook() now uses an identifier for "builtins" | Victor Stinner | 2013-11-06 | 1 | -2/+10 |
| | | | | | | | | | | | | dictionary key and only decodes "\n" string once to write a newline. So "builtins" and "\n" are only decoded once from UTF-8, at the first call. | ||||
* | | Issue #18408: Add a new PyFrame_FastToLocalsWithError() function to handle | Victor Stinner | 2013-10-29 | 1 | -2/+5 |
| | | | | | | | | | | exceptions when merging fast locals into f_locals of a frame. PyEval_GetLocals() now raises an exception and return NULL on failure. | ||||
* | | Issue #18520: fix reference leak in _PySys_Init() | Victor Stinner | 2013-10-27 | 1 | -7/+18 |
| | | |||||
* | | #18839: merge with 3.3. | Ezio Melotti | 2013-08-26 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #18839: document that sys.exit() will not accept a non-integer numeric value ↵ | Ezio Melotti | 2013-08-26 | 1 | -1/+1 |
| | | | | | | | | as exit status. | ||||
* | | Issue #16400: Add command line option for isolated mode. | Christian Heimes | 2013-08-10 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | -I Run Python in isolated mode. This also implies -E and -s. In isolated mode sys.path contains neither the script’s directory nor the user’s site-packages directory. All PYTHON* environment variables are ignored, too. Further restrictions may be imposed to prevent the user from injecting malicious code. | ||||
* | | Issue #18520: Fix _PySys_Init(), handle PyDict_SetItemString() errors | Victor Stinner | 2013-07-22 | 1 | -17/+21 |
| | | |||||
* | | Issue #18520: Add a new PyStructSequence_InitType2() function, same than | Victor Stinner | 2013-07-22 | 1 | -7/+16 |
| | | | | | | | | | | | | | | | | PyStructSequence_InitType() except that it has a return value (0 on success, -1 on error). * PyStructSequence_InitType2() now raises MemoryError on memory allocation failure * Fix also some calls to PyDict_SetItemString(): handle error | ||||
* | | Issue #15905: Fix theoretical buffer overflow in handling of sys.argv[0], | Christian Heimes | 2013-07-22 | 1 | -3/+4 |
|\ \ | |/ | | | | | prefix and exec_prefix if the operation system does not obey MAXPATHLEN. | ||||
| * | Issue #15905: Fix theoretical buffer overflow in handling of sys.argv[0], | Christian Heimes | 2013-07-22 | 1 | -3/+4 |
| | | | | | | | | prefix and exec_prefix if the operation system does not obey MAXPATHLEN. | ||||
* | | #13226: update references from ctypes/DLFCN modules to os module | Andrew Kuchling | 2013-06-21 | 1 | -2/+2 |
| | | |||||
* | | Issue #13390: New function :func:`sys.getallocatedblocks()` returns the ↵ | Antoine Pitrou | 2012-12-09 | 1 | -0/+15 |
| | | | | | | | | | | | | number of memory blocks currently allocated. Also, the ``-R`` option to regrtest uses this function to guard against memory allocation leaks. | ||||
* | | RISCOS support has been removed a long time ago. Remove last remains in ↵ | Christian Heimes | 2012-11-18 | 1 | -10/+0 |
| | | | | | | | | sys.flags code. #16501 can be closed, too. | ||||
* | | Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unified | Christian Heimes | 2012-10-17 | 1 | -15/+8 |
|/ | | | | endianess detection and handling. | ||||
* | Issue #15242: Have PyImport_GetMagicTag() return a const char * | Brett Cannon | 2012-07-09 | 1 | -14/+18 |
| | | | | | | | defined in sysmodule.c instead of straight out of a Unicode object. Thanks to Amaury Forgeot d'Arc for noticing the bug and Eric Snow for writing the patch. | ||||
* | Issue #14785: Add sys._debugmallocstats() to help debug low-level memory ↵ | David Malcolm | 2012-06-22 | 1 | -0/+23 |
| | | | | allocation issues | ||||
* | Eric Snow's implementation of PEP 421. | Barry Warsaw | 2012-06-03 | 1 | -2/+70 |
| | | | | Issue 14673: Add sys.implementation | ||||
* | Implemented PEP 405 (Python virtual environments). | Vinay Sajip | 2012-05-26 | 1 | -0/+4 |
| | |||||
* | Merge 3.2: Issue #13703 plus some related test suite fixes. | Georg Brandl | 2012-02-20 | 1 | -2/+4 |
|\ | |||||
| * | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵ | Georg Brandl | 2012-02-20 | 1 | -2/+4 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior. | ||||
| | * | Issue #13703: add a way to randomize the hash values of basic types (str, ↵ | Georg Brandl | 2012-02-20 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior. | ||||
* | | | Merge branch 3.2 | Petri Lehtinen | 2012-02-02 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | Closes #13402. | ||||
| * | | Document absoluteness of sys.executable | Petri Lehtinen | 2012-02-02 | 1 | -1/+1 |
| | | | | | | | | | | | | Closes #13402. | ||||
| * | | MERGE: Up-port changeset 5cf8f6da8743 (closes #11890) | Jesus Cea | 2011-04-20 | 1 | -56/+4 |
| |\ \ | | |/ | |||||
| | * | Up-port changeset 5cf8f6da8743 (closes #11890) | Jesus Cea | 2011-04-20 | 1 | -56/+4 |
| | | | |||||
* | | | use the static identifier api for looking up special methods | Benjamin Peterson | 2012-01-22 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | I had to move the static identifier code from unicodeobject.h to object.h in order for this to work. | ||||
* | | | Issue #13226: Update sys.setdlopenflags() docstring | Victor Stinner | 2011-10-31 | 1 | -3/+1 |
| | | | | | | | | | | | | Refer to os.RTLD_xxx constants instead of ctypes and DLFCN modules. | ||||
* | | | Port SetAttrString/HasAttrString to SetAttrId/GetAttrId. | Martin v. Löwis | 2011-10-14 | 1 | -2/+3 |
| | | | |||||
* | | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -4/+4 |
| | | | |||||
* | | | Use identifier API for PyObject_GetAttrString. | Martin v. Löwis | 2011-10-10 | 1 | -3/+6 |
| | | | |||||
* | | | Add API for static strings, primarily good for identifiers. | Martin v. Löwis | 2011-10-09 | 1 | -1/+2 |
| | | | | | | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. | ||||
* | | | Use the new Py_ARRAY_LENGTH macro | Victor Stinner | 2011-09-28 | 1 | -1/+1 |
| | | | |||||
* | | | #13054: sys.maxunicode is now always 0x10FFFF. | Ezio Melotti | 2011-09-28 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #11223: Replace threading._info() by sys.thread_info | Victor Stinner | 2011-04-30 | 1 | -9/+15 |
| | | | |||||
* | | | Merge 3.2: sys.getfilesystemencoding() raises a RuntimeError if | Victor Stinner | 2011-03-31 | 1 | -2/+3 |
|\ \ \ | |/ / | | | | | | | initfsencoding() was not called yet: detect bootstrap (startup) issues earlier. | ||||
| * | | sys.getfilesystemencoding() raises a RuntimeError if initfsencoding() was not | Victor Stinner | 2011-03-31 | 1 | -2/+3 |
| | | | | | | | | | | | | called yet: detect bootstrap (startup) issues earlier. | ||||
* | | | Remove traces of division_warning left over from Python 2 (#10998) | Éric Araujo | 2011-03-26 | 1 | -4/+2 |
| | | | |||||
* | | | #11515: Merge with 3.2. | Ezio Melotti | 2011-03-15 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | #11515: Merge with 3.1. | Ezio Melotti | 2011-03-15 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
* | | | Remove sys.subversion and svn build identification leftovers. | Georg Brandl | 2011-03-06 | 1 | -94/+0 |
| | | | |||||
* | | | Merge build identification to default branch. | Georg Brandl | 2011-03-06 | 1 | -0/+3 |
|\ \ \ | |/ / | |||||
| * | | Merge build identification to 3.2 branch. | Georg Brandl | 2011-03-06 | 1 | -0/+3 |
| |\ \ | | |/ | |||||
| | * | Commit the hg build identification patch from the pymigr repo. | Georg Brandl | 2011-03-05 | 1 | -0/+3 |
| | | | |||||
| | * | Merged revisions 81841 via svnmerge from | Victor Stinner | 2010-06-08 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81841 | victor.stinner | 2010-06-08 22:46:00 +0200 (mar., 08 juin 2010) | 6 lines sys_pyfile_write() does nothing if file is NULL mywrite() falls back to the C file object if sys_pyfile_write() returns an error. This patch fixes a segfault is Py_FatalError() is called in an early stage of Python initialization. ........ |