Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge 3.2: Issue #13703 plus some related test suite fixes. | Georg Brandl | 2012-02-21 | 1 | -72/+36 | |
|\ | ||||||
| * | Merge branch 3.2 | Petri Lehtinen | 2012-02-02 | 1 | -72/+36 | |
| |\ | | | | | | | | | | Closes #13402. | |||||
| | * | 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-29 | 1 | -1/+1 | |
| | | | ||||||
| | * | #13054: sys.maxunicode is now always 0x10FFFF. | Ezio Melotti | 2011-09-29 | 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. | |||||
| | * | | 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 | -96/+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 | |
| | | |\ \ | ||||||
| | | * | | | Issue #8914: fix various warnings from the Clang static analyzer v254. | Brett Cannon | 2011-02-22 | 1 | -2/+1 | |
| | | | | | | ||||||
* | | | | | | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵ | Georg Brandl | 2012-02-20 | 1 | -192/+503 | |
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| * | | | | | 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 | -190/+501 | |
| |\ \ \ \ \ | | | |_|_|/ | | |/| | | | ||||||
| | * | | | | sys.getfilesystemencoding() raises a RuntimeError if initfsencoding() was not | Victor Stinner | 2011-03-31 | 1 | -2/+3 | |
| | |/ / / | | | | | | | | | | | | | | | | called yet: detect bootstrap (startup) issues earlier. | |||||
| | * | | | #11515: Merge with 3.1. | Ezio Melotti | 2011-03-15 | 1 | -1/+1 | |
| | |\ \ \ | | | |_|/ | | |/| | | ||||||
| | * | | | Merge build identification to 3.2 branch. | Georg Brandl | 2011-03-06 | 1 | -188/+498 | |
| | |\ \ \ | | | |/ / | | |/| / | | | |/ | ||||||
| | | * | Fix count of flag fields. Being one short caused the 'quiet' option not to ↵ | Raymond Hettinger | 2011-01-05 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | print. | |||||
| | | * | Add sys.flags.quiet attribute for the new -q option, as noted missing by ↵ | Georg Brandl | 2010-12-28 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | | Eric in #1772833. | |||||
| | | * | Issue #10601: sys.displayhook uses 'backslashreplace' error handler on | Victor Stinner | 2010-12-04 | 1 | -2/+76 | |
| | | | | | | | | | | | | | | | | UnicodeEncodeError. | |||||
| | | * | Remove redundant includes of headers that are already included by Python.h. | Georg Brandl | 2010-11-30 | 1 | -1/+0 | |
| | | | | ||||||
| | | * | Include structseq.h in Python.h, and remove now-redundant includes in ↵ | Georg Brandl | 2010-11-30 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | individual sources. | |||||
| | | * | sys_update_path(): update sys.path even if argc==0 | Victor Stinner | 2010-10-25 | 1 | -2/+0 | |
| | | | | ||||||
| | | * | follow up to #9778: define and use an unsigned hash type | Benjamin Peterson | 2010-10-23 | 1 | -1/+1 | |
| | | | | ||||||
| | | * | Issue #10089: Add support for arbitrary -X options on the command-line. | Antoine Pitrou | 2010-10-21 | 1 | -0/+60 | |
| | | | | | | | | | | | | | | | | They can be retrieved through a new attribute `sys._xoptions`. | |||||
| | | * | make hashes always the size of pointers; introduce Py_hash_t #9778 | Benjamin Peterson | 2010-10-17 | 1 | -1/+1 | |
| | | | | ||||||
| | | * | First (uncontroversial) part of issue 9807. | Barry Warsaw | 2010-10-16 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Expose the build flags to Python as sys.abiflags * Shared library libpythonX.Y<abiflags>.so * python-config --abiflags * Make two distutils tests that failed with --enable-shared (even before this patch) succeed. * Fix a few small style issues. | |||||
| | | * | _Py_wrealpath() requires the size of the output buffer | Victor Stinner | 2010-10-07 | 1 | -1/+1 | |
| | | | | ||||||
| | | * | Create fileutils.c/.h | Victor Stinner | 2010-10-07 | 1 | -28/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * _Py_fopen() and _Py_stat() come from Python/import.c * (_Py)_wrealpath() comes from Python/sysmodule.c * _Py_char2wchar(), _Py_wchar2char() and _Py_wfopen() come from Modules/main.c * (_Py)_wstat(), (_Py)_wgetcwd(), _Py_wreadlink() come from Modules/getpath.c | |||||
| | | * | _wrealpath() and _Py_wreadlink() support surrogates (PEP 383) | Victor Stinner | 2010-10-07 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | Use _Py_wchar2char() to support surrogate characters in the input path. | |||||
| | | * | Create a subfunction for PySys_SetArgvEx() | Victor Stinner | 2010-10-06 | 1 | -78/+94 | |
| | | | | | | | | | | | | | | | | Create sys_update_path() static function. Do nothing if argc==0. | |||||
| | | * | Issue #9632: Remove sys.setfilesystemencoding() function: use PYTHONFSENCODING | Victor Stinner | 2010-09-10 | 1 | -21/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | environment variable to set the filesystem encoding at Python startup. sys.setfilesystemencoding() creates inconsistencies because it is unable to reencode all filenames in all objects. | |||||
| | | * | Issue #9549: sys.setdefaultencoding() and PyUnicode_SetDefaultEncoding() | Antoine Pitrou | 2010-09-01 | 1 | -20/+0 | |
| | | | | | | | | | | | | | | | | | | | | are now removed, since their effect was inexistent in 3.x (the default encoding is hardcoded to utf-8 and cannot be changed). | |||||
| | | * | Issue #8202: Set sys.argv[0] to -m rather than -c while searching for the ↵ | Nick Coghlan | 2010-08-17 | 1 | -3/+7 | |
| | | | | | | | | | | | | | | | | module to execute. Also updates all the cmd_line_script tests to validate the setting of sys.path[0] and the current working directory | |||||
| | | * | Issue #9599: Create PySys_FormatStdout() and PySys_FormatStderr() | Victor Stinner | 2010-08-16 | 1 | -15/+67 | |
| | | | | | | | | | | | | | | | | | | | | Write a message formatted by PyUnicode_FromFormatV() to sys.stdout and sys.stderr. | |||||
| | | * | - sysmodule.c (get_hash_info): Define as static function. | Matthias Klose | 2010-07-06 | 1 | -1/+1 | |
| | | | | ||||||
| | | * | sys_pyfile_write() does nothing if file is NULL | Victor Stinner | 2010-06-08 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| | | * | Issue #8848: U / U# formats of Py_BuildValue() are just alias to s / s# | Victor Stinner | 2010-06-07 | 1 | -1/+1 | |
| | | | | ||||||
| | | * | Issue #8188: Introduce a new scheme for computing hashes of numbers | Mark Dickinson | 2010-05-23 | 1 | -0/+56 | |
| | | | | | | | | | | | | | | | | | | | | | | | | (instances of int, float, complex, decimal.Decimal and fractions.Fraction) that makes it easy to maintain the invariant that hash(x) == hash(y) whenever x and y have equal value. | |||||
| | | * | Merged revisions 81398 via svnmerge from | Antoine Pitrou | 2010-05-21 | 1 | -2/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81398 | antoine.pitrou | 2010-05-21 19:12:38 +0200 (ven., 21 mai 2010) | 6 lines Issue #5753: A new C API function, :cfunc:`PySys_SetArgvEx`, allows 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>`_. ........ | |||||
| | | * | Issue #8589: Decode PYTHONWARNINGS environment variable with the file system | Victor Stinner | 2010-05-19 | 1 | -8/+13 | |
| | | | | | | | | | | | | | | | | | | | | encoding and surrogateespace error handler instead of the locale encoding to be consistent with os.environ. Add PySys_AddWarnOptionUnicode() function. | |||||
| | | * | Recorded merge of revisions 81029 via svnmerge from | Antoine Pitrou | 2010-05-09 | 1 | -985/+985 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........ | |||||
| | | * | Issue #8124: PySys_WriteStdout() and PySys_WriteStderr() don't execute | Victor Stinner | 2010-04-23 | 1 | -2/+45 | |
| | | | | | | | | | | | | | | | | | | | | indirectly Python signal handlers anymore because mywrite() ignores exceptions (KeyboardInterrupt). | |||||
| | | * | Merged revisions 78620 via svnmerge from | Florent Xicluna | 2010-03-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78620 | florent.xicluna | 2010-03-03 12:49:53 +0100 (mer, 03 mar 2010) | 2 lines Revert a nonexistent docstring typo, r42805. ........ |