summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* create NameConstant AST class for None, True, and False literals (closes #16619)Benjamin Peterson2012-12-065-56/+107
|
* Issue #15627: This is simply an update to the name of a new method recently ↵Eric Snow2012-12-051-8/+8
| | | | | | added to importlib.abc.SourceLoader.
* Issue #16455: On FreeBSD and Solaris, if the locale is C, theVictor Stinner2012-12-041-23/+217
| | | | | | | ASCII/surrogateescape codec is now used, instead of the locale encoding, to decode the command line arguments. This change fixes inconsistencies with os.fsencode() and os.fsdecode() because these operating systems announces an ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice.
* Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.hChristian Heimes2012-12-021-0/+3
|\
| * Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.hChristian Heimes2012-12-021-0/+3
| |\
| | * Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.hChristian Heimes2012-12-021-0/+3
| | |
* | | Issue #16546: merge fix from 3.3Mark Dickinson2012-11-254-23/+25
|\ \ \ | |/ /
| * | Issue #16546: make ast.YieldFrom argument mandatory.Mark Dickinson2012-11-254-23/+25
| | |
* | | #16306: merge with 3.3.Ezio Melotti2012-11-231-1/+1
|\ \ \ | |/ /
| * | #16306: merge with 3.2.Ezio Melotti2012-11-231-1/+1
| |\ \ | | |/
| | * #16306: report only the first unknown option and add more tests. Patch by ↵Ezio Melotti2012-11-231-1/+1
| | | | | | | | | | | | Serhiy Storchaka.
| | * Remove unused variabile "plain" in builtin_exec.Ezio Melotti2012-11-211-2/+0
| | |
* | | - Issue #16514: Fix regression causing a traceback when sys.path[0] is NoneBarry Warsaw2012-11-201-63/+67
|\ \ \ | |/ / | | | | | | (actually, any non-string or non-bytes type).
| * | - Issue #16514: Fix regression causing a traceback when sys.path[0] is NoneBarry Warsaw2012-11-201-63/+67
| | | | | | | | | | | | (actually, any non-string or non-bytes type).
* | | RISCOS support has been removed a long time ago. Remove last remains in ↵Christian Heimes2012-11-181-10/+0
| | | | | | | | | | | | sys.flags code. #16501 can be closed, too.
* | | Regen importlib.hBrett Cannon2012-11-181-2170/+2173
| | |
* | | Issue #15627: Add the compile_source() method toBrett Cannon2012-11-181-2327/+2347
| | | | | | | | | | | | | | | | | | | | | importlib.abc.SourceLoader. This provides an easy hook into the import system to allow for source transformations, AST optimizations, etc.
* | | #16306: merge with 3.3.Ezio Melotti2012-11-181-5/+5
|\ \ \ | |/ /
| * | #16306: merge with 3.2.Ezio Melotti2012-11-181-5/+5
| |\ \ | | |/
| | * #16306: Fix multiple error messages when unknown command line parameters ↵Ezio Melotti2012-11-181-5/+5
| | | | | | | | | | | | where passed to the interpreter. Patch by Hieu Nguyen.
* | | Issue #15894: Document why we don't worry about re-acquiring theBrett Cannon2012-11-161-2/+5
| | | | | | | | | | | | global import lock after forking.
* | | Issue #16416: Fix error handling in _Py_wchar2char() _Py_char2wchar() functionsVictor Stinner2012-11-121-11/+16
| | |
* | | merge headsBenjamin Peterson2012-11-121-2/+45
|\ \ \
| * | | Issue #16416: OS data are now always encoded/decoded to/fromVictor Stinner2012-11-121-2/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no locale environment variable is set), to avoid inconsistencies with os.fsencode() and os.fsdecode() functions which are already using UTF-8/surrogateescape.
* | | | merge 3.3 (sort of)Benjamin Peterson2012-11-121-1532/+1532
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | recompile importlib.hBenjamin Peterson2012-11-121-1543/+1543
| | |
* | | Merge 3.3.Stefan Krah2012-11-121-0/+1
|\ \ \ | |/ /
| * | Issue #15835: Define PATH_MAX on HP-UX.Stefan Krah2012-11-121-0/+1
| | |
* | | Issue #15001: fix segfault on "del sys.module['__main__']"Hynek Schlawack2012-11-071-6/+6
|\ \ \ | |/ / | | | | | | Patch by Victor Stinner.
| * | Issue #15001: fix segfault on "del sys.module['__main__']"Hynek Schlawack2012-11-071-6/+6
| |\ \ | | |/ | | | | | | Patch by Victor Stinner.
| | * Issue #15001: fix segfault on "del sys.module['__main__']"Hynek Schlawack2012-11-071-6/+6
| | | | | | | | | | | | Patch by Victor Stinner.
| | * #5057: the peepholer no longer optimizes subscription on unicode literals ↵Ezio Melotti2012-11-041-18/+7
| | | | | | | | | | | | (e.g. u"foo"[0]) in order to produce compatible pyc files between narrow and wide builds.
* | | Issue #5765: Merge from 3.3Nick Coghlan2012-11-042-31/+75
|\ \ \ | |/ /
| * | Issue #5765: Apply a hard recursion limit in the compilerNick Coghlan2012-11-042-29/+73
| | | | | | | | | | | | | | | | | | | | | Previously, excessive nesting in expressions would blow the stack and segfault the interpreter. Now, a hard limit based on the configured recursion limit and a hardcoded scaling factor is applied.
* | | #16336: merge with 3.3.Ezio Melotti2012-11-031-4/+4
|\ \ \ | |/ /
| * | #16336: merge with 3.2.Ezio Melotti2012-11-031-4/+4
| |\ \ | | |/
| | * #16336: fix input checking in the surrogatepass error handler. Patch by ↵Ezio Melotti2012-11-031-4/+4
| | | | | | | | | | | | Serhiy Storchaka.
* | | Issue #7317: Display full tracebacks when an error occurs asynchronously.Andrew Svetlov2012-11-031-7/+8
| | | | | | | | | | | | Patch by Alon Horev with update by Alexey Kachayev.
* | | Merge issue #16218: Support non ascii characters in python launcher.Andrew Svetlov2012-11-011-2/+7
|\ \ \ | |/ / | | | | | | Patch by Serhiy Storchaka.
| * | Issue #16218: Support non ascii characters in python launcher.Andrew Svetlov2012-11-011-2/+7
| | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | point errors related to nonlocals and globals to the statement declaring ↵Benjamin Peterson2012-11-011-8/+49
| | | | | | | | | | | | them (closes #10189)
* | | merge 3.3Benjamin Peterson2012-10-311-2/+6
|\ \ \ | |/ /
| * | check return value of _PyUnicode_AsStringBenjamin Peterson2012-10-311-2/+6
| | |
* | | initialize map/filter/zip in _PyBuiltin_Init rather than the catch-all functionBenjamin Peterson2012-10-311-0/+6
| | |
* | | Issue #16330: Use surrogate-related macrosVictor Stinner2012-10-302-4/+4
| | | | | | | | | | | | Patch written by Serhiy Storchaka.
* | | merge with 3.3Philip Jenvey2012-10-271-3/+4
|\ \ \ | |/ /
| * | merge with 3.2Philip Jenvey2012-10-271-3/+4
| |\ \ | | |/
| | * bounds check for bad data (thanks amaury)Philip Jenvey2012-10-271-3/+4
| | |
| | * Fix compilation on WindowsNick Coghlan2012-10-201-1/+1
| | |
| | * Issue #6074: Forward port Windows read-only source file fix from 2.7Nick Coghlan2012-10-191-0/+6
| | |