Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Optimize BaseSelector.modify(). Patch by Arnaud Faure. | Guido van Rossum | 2013-11-07 | 2 | -3/+16 |
| | |||||
* | #19480: merge with 3.3. | Ezio Melotti | 2013-11-07 | 3 | -13/+28 |
|\ | |||||
| * | #19480: HTMLParser now accepts all valid start-tag names as defined by the ↵ | Ezio Melotti | 2013-11-07 | 3 | -13/+28 |
| | | | | | | | | HTML5 standard. | ||||
* | | Merge #18985: Improve fcntl documentation. | R David Murray | 2013-11-07 | 2 | -16/+21 |
|\ \ | |/ | |||||
| * | #18985: Improve fcntl documentation. | R David Murray | 2013-11-07 | 2 | -16/+21 |
| | | | | | | | | Original patch by Vajrasky Kok, further improved (I hope) by me. | ||||
* | | print_error_text() doesn't encode the filename anymore | Victor Stinner | 2013-11-07 | 1 | -27/+35 |
| | | | | | | | | | | | | Use aslo PyUnicode_FromFormat() to format the line so only one call to PyFile_WriteObject() is needed. tb_displayline() of Python/traceback.c has similar implementation. | ||||
* | | asyncio: Add close() back to Unix selector event loop, to remove all signal ↵ | Guido van Rossum | 2013-11-07 | 2 | -0/+21 |
| | | | | | | | | handlers. Should fix buildbot issues. | ||||
* | | remove an outdated comment | Victor Stinner | 2013-11-06 | 1 | -1/+0 |
| | | | | | | | | The comment is meaningless since changeset 4e985a96a612. | ||||
* | | Issue #19512: Use the new _PyId_builtins identifier | Victor Stinner | 2013-11-06 | 3 | -4/+8 |
| | | |||||
* | | Issue #19512: add _PyUnicode_CompareWithId() function | Victor Stinner | 2013-11-06 | 6 | -15/+32 |
| | | | | | | | | | | | | | | _PyUnicode_CompareWithId() is faster than PyUnicode_CompareWithASCIIString() when both strings are equal and interned. Add also _PyId_builtins identifier for "builtins" common string. | ||||
* | | print_exception(): don't encode the module name to UTF-8 | Victor Stinner | 2013-11-06 | 1 | -3/+2 |
| | | | | | | | | Replace _PyUnicode_AsString()+strcmp() with PyUnicode_CompareWithASCIIString(). | ||||
* | | Issue #19512: builtin print() function uses an identifier instead of literal | Victor Stinner | 2013-11-06 | 1 | -1/+2 |
| | | | | | | | | string "flush" to call the flush method | ||||
* | | Issue #19512: _count_elements() of _collections reuses PyId_get identifier | Victor Stinner | 2013-11-06 | 1 | -1/+1 |
| | | | | | | | | instead of literal "get" string | ||||
* | | Issue #19512: fileio_init() reuses PyId_name identifier instead of "name" | Victor Stinner | 2013-11-06 | 1 | -2/+3 |
| | | | | | | | | literal string | ||||
* | | Issue #19512: __build_class() builtin now uses an identifier for the ↵ | Victor Stinner | 2013-11-06 | 1 | -2/+3 |
| | | | | | | | | "metaclass" string | ||||
* | | Issue #19512: add some common identifiers to only create common strings once, | Victor Stinner | 2013-11-06 | 13 | -49/+72 |
| | | | | | | | | | | | | | | 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: pickle now uses an identifier to only create the Unicode string | Victor Stinner | 2013-11-06 | 1 | -2/+4 |
| | | | | | | | | "modules" once | ||||
* | | Issue #19512: PRINT_EXPR bytecode now uses an identifier to get sys.displayhook | Victor Stinner | 2013-11-06 | 1 | -1/+2 |
| | | | | | | | | to only create the "displayhook" string once | ||||
* | | Issue #19512: Add _PySys_GetObjectId() and _PySys_SetObjectId() functions | Victor Stinner | 2013-11-06 | 2 | -0/+28 |
| | | |||||
* | | Issue #19512: eval() and exec() now use an identifier for "__builtins__" string | Victor Stinner | 2013-11-06 | 1 | -6/+7 |
| | | |||||
* | | Issue #19512: type_abstractmethods() and type_set_abstractmethods() now use an | Victor Stinner | 2013-11-06 | 1 | -5/+10 |
| | | | | | | | | identifier for the "__abstractmethods__" string | ||||
* | | Issue #19512: Add a new _PyDict_DelItemId() function, similar to | Victor Stinner | 2013-11-06 | 2 | -0/+10 |
| | | | | | | | | PyDict_DelItemString() but using an identifier for the key | ||||
* | | Issue #19512: Py_ReprEnter() and Py_ReprLeave() now use an identifier for the | Victor Stinner | 2013-11-06 | 1 | -4/+4 |
| | | | | | | | | "Py_Repr" dictionary key | ||||
* | | Issue #19512: Add PyRun_InteractiveOneObject() function | Victor Stinner | 2013-11-06 | 2 | -29/+86 |
| | | | | | | | | | | Only decode the filename once. PyRun_InteractiveOneObject() uses an identifier for "<string>" string, so the byte string is only decoded once. | ||||
* | | Issue #19512: _print_total_refs() now uses an identifier to get "showrefcount" | Victor Stinner | 2013-11-06 | 1 | -6/+4 |
| | | | | | | | | key from sys._xoptions | ||||
* | | 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 #18582: fix memory leak in pbkdf2 code | Christian Heimes | 2013-11-06 | 1 | -0/+1 |
| | | |||||
* | | Remove incorrect comment from dis tests | Nick Coghlan | 2013-11-06 | 1 | -1/+0 |
| | | |||||
* | | Fix typo in updated dis docs | Nick Coghlan | 2013-11-06 | 1 | -1/+1 |
| | | |||||
* | | Close #19378: address flaws in the new dis module APIs | Nick Coghlan | 2013-11-06 | 5 | -123/+168 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - confusing line_offset parameter -> first_line parameter - systematically test and fix new file parameter - remove redundant Bytecode.show_info() API - rename Bytecode.display_code() to Bytecode.dis() and have it return the multi-line string rather than printing it directly - eliminated some not-so-helpful helpers from the bytecode_helper test support module Also fixed a longstanding defect (worked around in the test suite) where lines emitted by the dis module could include trailing white space. That no longer happens, allowing the formatting tests to be simplified to use plain string comparisons. | ||||
* | | #19439: Update PCbuild/readme.txt with new sub-project | Zachary Ware | 2013-11-06 | 1 | -0/+3 |
| | | |||||
* | | doc: fix typo | Victor Stinner | 2013-11-06 | 1 | -1/+1 |
| | | |||||
* | | Revert wrong change in previous commit (issue #19085). | Serhiy Storchaka | 2013-11-05 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Revert wrong change in previous commit (issue #19085). | Serhiy Storchaka | 2013-11-05 | 1 | -1/+1 |
| | | |||||
* | | Fix test_insertwidth Tkinter tests on Tk 8.5 with patchlevel >= 8.5.12 ↵ | Serhiy Storchaka | 2013-11-05 | 1 | -4/+4 |
|\ \ | |/ | | | | | (issue #19085). | ||||
| * | Fix test_insertwidth Tkinter tests on Tk 8.5 with patchlevel >= 8.5.12 ↵ | Serhiy Storchaka | 2013-11-05 | 1 | -4/+4 |
| | | | | | | | | (issue #19085). | ||||
* | | Fix typo in tkinter tests (issue #19085). | Serhiy Storchaka | 2013-11-05 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix typo in tkinter tests (issue #19085). | Serhiy Storchaka | 2013-11-05 | 1 | -1/+1 |
| | | |||||
* | | Issue #19437: Fix compiler_class(), handle compiler_lookup_arg() failure | Victor Stinner | 2013-11-05 | 1 | -0/+4 |
| | | |||||
* | | Issue #19437: Fix _threading.RLock constructor (rlock_new), call | Victor Stinner | 2013-11-05 | 1 | -10/+14 |
| | | | | | | | | | | | | | | | | | | Py_DECREF(self) if PyThread_allocate_lock() failed instead of calling directly type->tp_free(self), to keep the chained list of objects consistent when Python is compiled in debug mode fails, don't consume the row (restore it) and fail immediatly (don't call pysqlite_step()) | ||||
* | | Issue #19437: Fix pysqlite_cursor_iternext() of sqlite3, when the row factory | Victor Stinner | 2013-11-05 | 1 | -0/+5 |
| | | | | | | | | | | fails, don't consume the row (restore it) and fail immediatly (don't call pysqlite_step()) | ||||
* | | Issue #19437: Fix pysqlite_connection_call() of sqlite3, return NULL when | Victor Stinner | 2013-11-05 | 1 | -17/+13 |
| | | | | | | | | PyList_Append() fails | ||||
* | | Issue #19437: Fix pysqlite_cursor_iternext() of sqlite3, handle | Victor Stinner | 2013-11-05 | 1 | -0/+6 |
| | | | | | | | | _pysqlite_fetch_one_row() failure | ||||
* | | Issue #10197 Tweak docs for subprocess.getstatusoutput and align the ↵ | Tim Golden | 2013-11-05 | 2 | -14/+18 |
| | | | | | | | | documentation, the module docstring, and the function docstring. | ||||
* | | Issue #15663: merge build-installer.py changes | Ned Deily | 2013-11-05 | 1 | -5/+5 |
|\ \ | |/ | |||||
| * | Issue #15663: Revert OS X installer built-in Tcl/Tk support for 3.3.3. | Ned Deily | 2013-11-05 | 5 | -52/+28 |
| | | | | | | | | | | | | | | Some third-party projects, such as matplotlib and PIL/Pillow, depended on being able to build with Tcl and Tk frameworks in /Library/Frameworks. They were unable to build with the built-in Tcl/Tk and/or execute correctly. | ||||
* | | Closes #18345: Merged documentation update from 3.3. | Vinay Sajip | 2013-11-05 | 1 | -0/+135 |
|\ \ | |/ | |||||
| * | Issue #18345: Added cookbook example illustrating handler customisation. | Vinay Sajip | 2013-11-05 | 1 | -0/+135 |
| | | |||||
* | | Merge with 3.3 | Terry Jan Reedy | 2013-11-05 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #19397: test_pydoc now works with -S (help not added to builtins). | Terry Jan Reedy | 2013-11-05 | 1 | -1/+1 |
| | | | | | | | | Patch by Serhiy Storchaka and Vajrasky Kok. |