Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 2 | -3/+2 |
| | |||||
* | Issue #15422: get rid of PyCFunction_New macro | Andrew Svetlov | 2012-12-25 | 1 | -1/+1 |
| | |||||
* | improve tracing performance when f_trace is NULL (closes #16672) | Benjamin Peterson | 2012-12-24 | 1 | -3/+4 |
| | | | | Patch by Xavier de Gaye. | ||||
* | update importlib.h | Benjamin Peterson | 2012-12-19 | 1 | -2633/+2632 |
| | |||||
* | Issue #16719: Get rid of WindowsError. Use OSError instead | Andrew Svetlov | 2012-12-19 | 1 | -3/+3 |
| | | | | Patch by Serhiy Storchaka. | ||||
* | Add sanity assertions in some import lock code (issue #15599). | Antoine Pitrou | 2012-12-18 | 1 | -0/+2 |
|\ | |||||
| * | Add sanity assertions in some import lock code (issue #15599). | Antoine Pitrou | 2012-12-18 | 1 | -0/+2 |
| | | |||||
| * | (Merge 3.2) Issue #16416: On Mac OS X, operating system data are now always | Victor Stinner | 2012-12-03 | 1 | -6/+54 |
| |\ | | | | | | | | | | | | | | | | | | | encoded/decoded to/from 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. | ||||
| | * | Issue #16416: On Mac OS X, operating system data are now always | Victor Stinner | 2012-12-03 | 1 | -6/+54 |
| | | | | | | | | | | | | | | | | | | | | | encoded/decoded to/from 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. | ||||
* | | | Issue #16706: get rid of os.error | Andrew Svetlov | 2012-12-18 | 1 | -4034/+3999 |
| | | | |||||
* | | | use error label instead of breaking eval loop (closes #16693) | Benjamin Peterson | 2012-12-15 | 1 | -3/+2 |
| | | | |||||
* | | | cleanup and fix refleaks | Benjamin Peterson | 2012-12-15 | 1 | -8/+12 |
| | | | |||||
* | | | Issue #16421: allow to load multiple modules from the same shared object. | Andrew Svetlov | 2012-12-14 | 1 | -10/+17 |
| | | | | | | | | | | | | Patch by Václav Šmilauer. | ||||
* | | | compile doesn't accept code objects | Philip Jenvey | 2012-12-13 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #13390: New function :func:`sys.getallocatedblocks()` returns the ↵ | Antoine Pitrou | 2012-12-09 | 2 | -3/+19 |
| | | | | | | | | | | | | | | | | | | number of memory blocks currently allocated. Also, the ``-R`` option to regrtest uses this function to guard against memory allocation leaks. | ||||
* | | | assert than we never try to deal with True, False, or None as a name | Benjamin Peterson | 2012-12-06 | 1 | -0/+4 |
| | | | |||||
* | | | create NameConstant AST class for None, True, and False literals (closes #16619) | Benjamin Peterson | 2012-12-06 | 5 | -56/+107 |
| | | | |||||
* | | | Issue #15627: This is simply an update to the name of a new method recently ↵ | Eric Snow | 2012-12-05 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | added to importlib.abc.SourceLoader. | ||||
* | | | Issue #16455: On FreeBSD and Solaris, if the locale is C, the | Victor Stinner | 2012-12-04 | 1 | -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.h | Christian Heimes | 2012-12-02 | 1 | -0/+3 |
|\ \ \ | |/ / | |||||
| * | | Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.h | Christian Heimes | 2012-12-02 | 1 | -0/+3 |
| |\ \ | | |/ | |||||
| | * | Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.h | Christian Heimes | 2012-12-02 | 1 | -0/+3 |
| | | | |||||
* | | | Issue #16546: merge fix from 3.3 | Mark Dickinson | 2012-11-25 | 4 | -23/+25 |
|\ \ \ | |/ / | |||||
| * | | Issue #16546: make ast.YieldFrom argument mandatory. | Mark Dickinson | 2012-11-25 | 4 | -23/+25 |
| | | | |||||
* | | | #16306: merge with 3.3. | Ezio Melotti | 2012-11-23 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | #16306: merge with 3.2. | Ezio Melotti | 2012-11-23 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | #16306: report only the first unknown option and add more tests. Patch by ↵ | Ezio Melotti | 2012-11-23 | 1 | -1/+1 |
| | | | | | | | | | | | | Serhiy Storchaka. | ||||
| | * | Remove unused variabile "plain" in builtin_exec. | Ezio Melotti | 2012-11-21 | 1 | -2/+0 |
| | | | |||||
* | | | - Issue #16514: Fix regression causing a traceback when sys.path[0] is None | Barry Warsaw | 2012-11-20 | 1 | -63/+67 |
|\ \ \ | |/ / | | | | | | | (actually, any non-string or non-bytes type). | ||||
| * | | - Issue #16514: Fix regression causing a traceback when sys.path[0] is None | Barry Warsaw | 2012-11-20 | 1 | -63/+67 |
| | | | | | | | | | | | | (actually, any non-string or non-bytes type). | ||||
* | | | 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. | ||||
* | | | Regen importlib.h | Brett Cannon | 2012-11-18 | 1 | -2170/+2173 |
| | | | |||||
* | | | Issue #15627: Add the compile_source() method to | Brett Cannon | 2012-11-18 | 1 | -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 Melotti | 2012-11-18 | 1 | -5/+5 |
|\ \ \ | |/ / | |||||
| * | | #16306: merge with 3.2. | Ezio Melotti | 2012-11-18 | 1 | -5/+5 |
| |\ \ | | |/ | |||||
| | * | #16306: Fix multiple error messages when unknown command line parameters ↵ | Ezio Melotti | 2012-11-18 | 1 | -5/+5 |
| | | | | | | | | | | | | where passed to the interpreter. Patch by Hieu Nguyen. | ||||
* | | | Issue #15894: Document why we don't worry about re-acquiring the | Brett Cannon | 2012-11-16 | 1 | -2/+5 |
| | | | | | | | | | | | | global import lock after forking. | ||||
* | | | Issue #16416: Fix error handling in _Py_wchar2char() _Py_char2wchar() functions | Victor Stinner | 2012-11-12 | 1 | -11/+16 |
| | | | |||||
* | | | merge heads | Benjamin Peterson | 2012-11-12 | 1 | -2/+45 |
|\ \ \ | |||||
| * | | | Issue #16416: OS data are now always encoded/decoded to/from | Victor Stinner | 2012-11-12 | 1 | -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 Peterson | 2012-11-12 | 1 | -1532/+1532 |
|\ \ \ \ | |/ / / |/| / / | |/ / | |||||
| * | | recompile importlib.h | Benjamin Peterson | 2012-11-12 | 1 | -1543/+1543 |
| | | | |||||
* | | | Merge 3.3. | Stefan Krah | 2012-11-12 | 1 | -0/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #15835: Define PATH_MAX on HP-UX. | Stefan Krah | 2012-11-12 | 1 | -0/+1 |
| | | | |||||
* | | | Issue #15001: fix segfault on "del sys.module['__main__']" | Hynek Schlawack | 2012-11-07 | 1 | -6/+6 |
|\ \ \ | |/ / | | | | | | | Patch by Victor Stinner. | ||||
| * | | Issue #15001: fix segfault on "del sys.module['__main__']" | Hynek Schlawack | 2012-11-07 | 1 | -6/+6 |
| |\ \ | | |/ | | | | | | | Patch by Victor Stinner. | ||||
| | * | Issue #15001: fix segfault on "del sys.module['__main__']" | Hynek Schlawack | 2012-11-07 | 1 | -6/+6 |
| | | | | | | | | | | | | Patch by Victor Stinner. | ||||
| | * | #5057: the peepholer no longer optimizes subscription on unicode literals ↵ | Ezio Melotti | 2012-11-04 | 1 | -18/+7 |
| | | | | | | | | | | | | (e.g. u"foo"[0]) in order to produce compatible pyc files between narrow and wide builds. | ||||
* | | | Issue #5765: Merge from 3.3 | Nick Coghlan | 2012-11-04 | 2 | -31/+75 |
|\ \ \ | |/ / | |||||
| * | | Issue #5765: Apply a hard recursion limit in the compiler | Nick Coghlan | 2012-11-04 | 2 | -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. |