- 07 Nov, 2013 10 commits
-
-
Martin v. Löwis authored
Patch by Andrei Dorian Duma.
-
Guido van Rossum authored
-
Ezio Melotti authored
-
Guido van Rossum authored
-
Ezio Melotti authored
-
Ezio Melotti authored
-
R David Murray authored
-
R David Murray authored
Original patch by Vajrasky Kok, further improved (I hope) by me.
-
Victor Stinner authored
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.
-
Guido van Rossum authored
asyncio: Add close() back to Unix selector event loop, to remove all signal handlers. Should fix buildbot issues.
-
- 06 Nov, 2013 25 commits
-
-
Victor Stinner authored
The comment is meaningless since changeset 4e985a96a612.
-
Victor Stinner authored
-
Victor Stinner authored
_PyUnicode_CompareWithId() is faster than PyUnicode_CompareWithASCIIString() when both strings are equal and interned. Add also _PyId_builtins identifier for "builtins" common string.
-
Victor Stinner authored
Replace _PyUnicode_AsString()+strcmp() with PyUnicode_CompareWithASCIIString().
-
Victor Stinner authored
string "flush" to call the flush method
-
Victor Stinner authored
instead of literal "get" string
-
Victor Stinner authored
literal string
-
Victor Stinner authored
-
Victor Stinner authored
instead of creating temporary Unicode string objects Add also more identifiers in pythonrun.c to avoid temporary Unicode string objets for the interactive interpreter.
-
Victor Stinner authored
"modules" once
-
Victor Stinner authored
to only create the "displayhook" string once
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
identifier for the "__abstractmethods__" string
-
Victor Stinner authored
PyDict_DelItemString() but using an identifier for the key
-
Victor Stinner authored
"Py_Repr" dictionary key
-
Victor Stinner authored
Only decode the filename once. PyRun_InteractiveOneObject() uses an identifier for "<string>" string, so the byte string is only decoded once.
-
Victor Stinner authored
key from sys._xoptions
-
Victor Stinner authored
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.
-
Christian Heimes authored
-
Nick Coghlan authored
-
Nick Coghlan authored
-
Nick Coghlan authored
- 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.
-
Zachary Ware authored
-
Victor Stinner authored
-
- 05 Nov, 2013 5 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-