summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Optimize BaseSelector.modify(). Patch by Arnaud Faure.Guido van Rossum2013-11-072-3/+16
|
* #19480: merge with 3.3.Ezio Melotti2013-11-073-13/+28
|\
| * #19480: HTMLParser now accepts all valid start-tag names as defined by the ↵Ezio Melotti2013-11-073-13/+28
| | | | | | | | HTML5 standard.
* | Merge #18985: Improve fcntl documentation.R David Murray2013-11-072-16/+21
|\ \ | |/
| * #18985: Improve fcntl documentation.R David Murray2013-11-072-16/+21
| | | | | | | | Original patch by Vajrasky Kok, further improved (I hope) by me.
* | print_error_text() doesn't encode the filename anymoreVictor Stinner2013-11-071-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 Rossum2013-11-072-0/+21
| | | | | | | | handlers. Should fix buildbot issues.
* | remove an outdated commentVictor Stinner2013-11-061-1/+0
| | | | | | | | The comment is meaningless since changeset 4e985a96a612.
* | Issue #19512: Use the new _PyId_builtins identifierVictor Stinner2013-11-063-4/+8
| |
* | Issue #19512: add _PyUnicode_CompareWithId() functionVictor Stinner2013-11-066-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-8Victor Stinner2013-11-061-3/+2
| | | | | | | | Replace _PyUnicode_AsString()+strcmp() with PyUnicode_CompareWithASCIIString().
* | Issue #19512: builtin print() function uses an identifier instead of literalVictor Stinner2013-11-061-1/+2
| | | | | | | | string "flush" to call the flush method
* | Issue #19512: _count_elements() of _collections reuses PyId_get identifierVictor Stinner2013-11-061-1/+1
| | | | | | | | instead of literal "get" string
* | Issue #19512: fileio_init() reuses PyId_name identifier instead of "name"Victor Stinner2013-11-061-2/+3
| | | | | | | | literal string
* | Issue #19512: __build_class() builtin now uses an identifier for the ↵Victor Stinner2013-11-061-2/+3
| | | | | | | | "metaclass" string
* | Issue #19512: add some common identifiers to only create common strings once,Victor Stinner2013-11-0613-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 stringVictor Stinner2013-11-061-2/+4
| | | | | | | | "modules" once
* | Issue #19512: PRINT_EXPR bytecode now uses an identifier to get sys.displayhookVictor Stinner2013-11-061-1/+2
| | | | | | | | to only create the "displayhook" string once
* | Issue #19512: Add _PySys_GetObjectId() and _PySys_SetObjectId() functionsVictor Stinner2013-11-062-0/+28
| |
* | Issue #19512: eval() and exec() now use an identifier for "__builtins__" stringVictor Stinner2013-11-061-6/+7
| |
* | Issue #19512: type_abstractmethods() and type_set_abstractmethods() now use anVictor Stinner2013-11-061-5/+10
| | | | | | | | identifier for the "__abstractmethods__" string
* | Issue #19512: Add a new _PyDict_DelItemId() function, similar toVictor Stinner2013-11-062-0/+10
| | | | | | | | PyDict_DelItemString() but using an identifier for the key
* | Issue #19512: Py_ReprEnter() and Py_ReprLeave() now use an identifier for theVictor Stinner2013-11-061-4/+4
| | | | | | | | "Py_Repr" dictionary key
* | Issue #19512: Add PyRun_InteractiveOneObject() functionVictor Stinner2013-11-062-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 Stinner2013-11-061-6/+4
| | | | | | | | key from sys._xoptions
* | Issue #19512: sys_displayhook() now uses an identifier for "builtins"Victor Stinner2013-11-061-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 codeChristian Heimes2013-11-061-0/+1
| |
* | Remove incorrect comment from dis testsNick Coghlan2013-11-061-1/+0
| |
* | Fix typo in updated dis docsNick Coghlan2013-11-061-1/+1
| |
* | Close #19378: address flaws in the new dis module APIsNick Coghlan2013-11-065-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-projectZachary Ware2013-11-061-0/+3
| |
* | doc: fix typoVictor Stinner2013-11-061-1/+1
| |
* | Revert wrong change in previous commit (issue #19085).Serhiy Storchaka2013-11-051-1/+1
|\ \ | |/
| * Revert wrong change in previous commit (issue #19085).Serhiy Storchaka2013-11-051-1/+1
| |
* | Fix test_insertwidth Tkinter tests on Tk 8.5 with patchlevel >= 8.5.12 ↵Serhiy Storchaka2013-11-051-4/+4
|\ \ | |/ | | | | (issue #19085).
| * Fix test_insertwidth Tkinter tests on Tk 8.5 with patchlevel >= 8.5.12 ↵Serhiy Storchaka2013-11-051-4/+4
| | | | | | | | (issue #19085).
* | Fix typo in tkinter tests (issue #19085).Serhiy Storchaka2013-11-051-1/+1
|\ \ | |/
| * Fix typo in tkinter tests (issue #19085).Serhiy Storchaka2013-11-051-1/+1
| |
* | Issue #19437: Fix compiler_class(), handle compiler_lookup_arg() failureVictor Stinner2013-11-051-0/+4
| |
* | Issue #19437: Fix _threading.RLock constructor (rlock_new), callVictor Stinner2013-11-051-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 factoryVictor Stinner2013-11-051-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 whenVictor Stinner2013-11-051-17/+13
| | | | | | | | PyList_Append() fails
* | Issue #19437: Fix pysqlite_cursor_iternext() of sqlite3, handleVictor Stinner2013-11-051-0/+6
| | | | | | | | _pysqlite_fetch_one_row() failure
* | Issue #10197 Tweak docs for subprocess.getstatusoutput and align the ↵Tim Golden2013-11-052-14/+18
| | | | | | | | documentation, the module docstring, and the function docstring.
* | Issue #15663: merge build-installer.py changesNed Deily2013-11-051-5/+5
|\ \ | |/
| * Issue #15663: Revert OS X installer built-in Tcl/Tk support for 3.3.3.Ned Deily2013-11-055-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 Sajip2013-11-051-0/+135
|\ \ | |/
| * Issue #18345: Added cookbook example illustrating handler customisation.Vinay Sajip2013-11-051-0/+135
| |
* | Merge with 3.3Terry Jan Reedy2013-11-051-1/+1
|\ \ | |/
| * Issue #19397: test_pydoc now works with -S (help not added to builtins).Terry Jan Reedy2013-11-051-1/+1
| | | | | | | | Patch by Serhiy Storchaka and Vajrasky Kok.