summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | Merge fix from #6074 from 3.3Nick Coghlan2012-10-191-1876/+1877
|\ \ \ | |/ /
| * | Issue #6074: Apply an appropriate fix for importlib based importsNick Coghlan2012-10-191-1884/+1885
| | |
* | | Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unifiedChristian Heimes2012-10-171-15/+8
| | | | | | | | | | | | endianess detection and handling.
* | | Merge issue #15833: don't raise an exception if importlib can't writeTrent Nelson2012-10-161-1833/+1840
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | byte-compiled files. This fixes a regression introduced by 3.3. Patch by Charles-François Natali.
| * | Issue #15833: don't raise an exception if importlib can't write byte-compiledTrent Nelson2012-10-161-1839/+1845
| | | | | | | | | | | | | | | | | | files. This fixes a regression introduced by 3.3. Patch by Charles-François Natali.
* | | move more variable declarations to the top of blocksBenjamin Peterson2012-10-121-3/+4
| | |
* | | move declaration to top of blockBenjamin Peterson2012-10-121-1/+1
| | |
* | | ceval cleanupBenjamin Peterson2012-10-121-1012/+1088
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Make many variables local to the opcode; Kill u, v, w, and x. - Force every opcode to end with DISPATCH or jump to error handling. - Simplify error handling. - Check error statuses in more places. Closes #16191.
* | | Remove uses of % with str.format.Brett Cannon2012-10-121-3746/+3748
| | |
* | | Merge fix for issue #15111.Brett Cannon2012-10-101-460/+464
|\ \ \ | |/ /
| * | Closes issue #15111: Calling __import__ with a module specified inBrett Cannon2012-10-101-467/+471
| | | | | | | | | | | | | | | fromlist which causes its own ImportError (e.g. the module tries to import a non-existent module) should have that exception propagate.
* | | add some missing DISPATCH()Benjamin Peterson2012-10-101-9/+16
| | |
* | | Closes #16135: Removal of OS/2 supportJesus Cea2012-10-051-108/+102
| | |
* | | #16135: Removal of OS/2 support (I)Jesus Cea2012-10-045-329/+0
| | |
* | | Close #15766: Catch exceptions while raising the ImportError in ↵Victor Stinner2012-10-011-7/+18
| | | | | | | | | | | | imp.load_dynamic()
* | | Issue #15609: Optimize str%args for integer argumentVictor Stinner2012-10-011-1/+2
|/ / | | | | | | | | | | | | | | | | | | - Use _PyLong_FormatWriter() instead of formatlong() when possible, to avoid a temporary buffer - Enable the fast path when width is smaller or equals to the length, and when the precision is bigger or equals to the length - Add unit tests! - formatlong() uses PyUnicode_Resize() instead of _PyUnicode_FromASCII() to resize the output string
* | Add some comments.Brett Cannon2012-09-281-3476/+3475
| |
* | don't depend on __debug__ because it's baked in at freeze time (issue #16046)Benjamin Peterson2012-09-251-4221/+4230
| |
* | Issue #15144: Fix possible integer overflow when handling pointers as ↵Antoine Pitrou2012-09-201-5/+3
| | | | | | | | | | | | integer values, by using Py_uintptr_t instead of size_t. Patch by Serhiy Storchaka.
* | Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to ↵Christian Heimes2012-09-121-1/+3
|\ \ | |/ | | | | decref 'k' in too many error cases.
| * Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to ↵Christian Heimes2012-09-121-1/+3
| | | | | | | | decref 'k' in too many error cases.