]>
granicus.if.org Git - python/log
Andrew Kuchling [Sun, 10 Nov 2013 18:43:47 +0000 (13:43 -0500)]
Ignore two constructed directories in Tools/unicode
Serhiy Storchaka [Sat, 9 Nov 2013 21:15:52 +0000 (23:15 +0200)]
Issue #
1575020 : Fixed support of 24-bit wave files on big-endian platforms.
Serhiy Storchaka [Sat, 9 Nov 2013 21:12:06 +0000 (23:12 +0200)]
Issue #
1575020 : Fixed support of 24-bit wave files on big-endian platforms.
Serhiy Storchaka [Sat, 9 Nov 2013 19:17:37 +0000 (21:17 +0200)]
Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.11 (issue #19085).
Serhiy Storchaka [Sat, 9 Nov 2013 19:16:19 +0000 (21:16 +0200)]
Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.11 (issue #19085).
Stefan Krah [Fri, 8 Nov 2013 20:08:46 +0000 (21:08 +0100)]
Null merge.
Stefan Krah [Fri, 8 Nov 2013 19:37:01 +0000 (20:37 +0100)]
Merge.
Brett Cannon [Fri, 8 Nov 2013 19:27:42 +0000 (14:27 -0500)]
remove dead import
Brett Cannon [Fri, 8 Nov 2013 19:25:37 +0000 (14:25 -0500)]
Issue #16803: test.test_importlib.source now tests frozen and source code
Stefan Krah [Fri, 8 Nov 2013 19:18:09 +0000 (20:18 +0100)]
Valgrind: suppress false positive in _PyOS_GetOpt (getopt.c:84) (Invalid read
of size 8: wcscmp (wcscmp.S:464))
Stefan Krah [Fri, 8 Nov 2013 19:18:09 +0000 (20:18 +0100)]
Valgrind: suppress false positive in _PyOS_GetOpt (getopt.c:84) (Invalid read
of size 8: wcscmp (wcscmp.S:464))
Charles-François Natali [Fri, 8 Nov 2013 18:56:59 +0000 (19:56 +0100)]
Issue #18923: Update subprocess to use the new selectors module.
Brett Cannon [Fri, 8 Nov 2013 18:35:34 +0000 (13:35 -0500)]
Simplify test.test_importlib.__main__
Brett Cannon [Fri, 8 Nov 2013 18:34:59 +0000 (13:34 -0500)]
Issue #16803: test.test_importlib.import_ now tests frozen and source code
Stefan Krah [Fri, 8 Nov 2013 17:05:02 +0000 (18:05 +0100)]
Move PyErr_NoMemory() closer to the failure.
Stefan Krah [Fri, 8 Nov 2013 17:05:02 +0000 (18:05 +0100)]
Move PyErr_NoMemory() closer to the failure.
Stefan Krah [Fri, 8 Nov 2013 16:48:58 +0000 (17:48 +0100)]
Change style to match the surrounding code (no early returns).
Stefan Krah [Fri, 8 Nov 2013 16:48:58 +0000 (17:48 +0100)]
Change style to match the surrounding code (no early returns).
Brett Cannon [Fri, 8 Nov 2013 16:10:41 +0000 (11:10 -0500)]
Issue #16803: test.test_importlib.frozen now runs both frozen and source code
Victor Stinner [Fri, 8 Nov 2013 13:07:11 +0000 (14:07 +0100)]
Issue #19512, #19526: Exclude the new _PyDict_DelItemId() function from the
stable ABI
Victor Stinner [Thu, 7 Nov 2013 23:50:58 +0000 (00:50 +0100)]
Issue #19437: Fix datetime_subtract(), handle new_delta() failure
Victor Stinner [Thu, 7 Nov 2013 23:29:41 +0000 (00:29 +0100)]
Issue #19437: Fix _io._IOBase.close(), handle _PyObject_SetAttrId() failure
Victor Stinner [Thu, 7 Nov 2013 22:56:10 +0000 (23:56 +0100)]
Issue #19437: Fix fsconvert_strdup(), raise a MemoryError on PyMem_Malloc()
failure
Victor Stinner [Thu, 7 Nov 2013 22:12:23 +0000 (23:12 +0100)]
_Py_normalize_encoding(): explain how the value 6 was computed
Victor Stinner [Thu, 7 Nov 2013 22:07:29 +0000 (23:07 +0100)]
Issue #19512, #19515: remove shared identifiers, move identifiers where they
are used.
Move also _Py_IDENTIFIER() defintions to the top in modified files to remove
identifiers duplicated in the same file.
Victor Stinner [Thu, 7 Nov 2013 21:22:39 +0000 (22:22 +0100)]
frameobject.c: Use an identifer instead of creating explicitly an interned
string for "__builtins__" literal string
Victor Stinner [Thu, 7 Nov 2013 21:05:48 +0000 (22:05 +0100)]
C API doc: try to group concrete objects
Victor Stinner [Thu, 7 Nov 2013 20:50:55 +0000 (21:50 +0100)]
Issue #19514: Add Andrei Dorian Duma to Misc/ACKS for changeset
4a09cc62419b
Victor Stinner [Thu, 7 Nov 2013 12:33:36 +0000 (13:33 +0100)]
Fix _Py_normalize_encoding(): ensure that buffer is big enough to store "utf-8"
if the input string is NULL
Martin v. Löwis [Thu, 7 Nov 2013 17:46:53 +0000 (18:46 +0100)]
Issue #19514: Deduplicate some _Py_IDENTIFIER declarations.
Patch by Andrei Dorian Duma.
Guido van Rossum [Thu, 7 Nov 2013 17:25:36 +0000 (09:25 -0800)]
Remove redundant test_selectors.py from test_asyncio.
Ezio Melotti [Thu, 7 Nov 2013 17:18:34 +0000 (19:18 +0200)]
#17080: improve error message of float/complex when the wrong type is passed.
Guido van Rossum [Thu, 7 Nov 2013 16:39:28 +0000 (08:39 -0800)]
Optimize BaseSelector.modify(). Patch by Arnaud Faure.
Ezio Melotti [Thu, 7 Nov 2013 16:35:27 +0000 (18:35 +0200)]
#19480: merge with 3.3.
Ezio Melotti [Thu, 7 Nov 2013 16:33:24 +0000 (18:33 +0200)]
#19480: HTMLParser now accepts all valid start-tag names as defined by the HTML5 standard.
R David Murray [Thu, 7 Nov 2013 15:51:41 +0000 (10:51 -0500)]
Merge #18985: Improve fcntl documentation.
R David Murray [Thu, 7 Nov 2013 15:51:07 +0000 (10:51 -0500)]
#18985: Improve fcntl documentation.
Original patch by Vajrasky Kok, further improved (I hope) by me.
Victor Stinner [Thu, 7 Nov 2013 11:37:56 +0000 (12:37 +0100)]
print_error_text() doesn't encode the filename anymore
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 [Thu, 7 Nov 2013 04:25:50 +0000 (20:25 -0800)]
asyncio: Add close() back to Unix selector event loop, to remove all signal handlers. Should fix buildbot issues.
Victor Stinner [Wed, 6 Nov 2013 23:53:56 +0000 (00:53 +0100)]
remove an outdated comment
The comment is meaningless since changeset
4e985a96a612 .
Victor Stinner [Wed, 6 Nov 2013 23:43:05 +0000 (00:43 +0100)]
Issue #19512: Use the new _PyId_builtins identifier
Victor Stinner [Wed, 6 Nov 2013 23:46:04 +0000 (00:46 +0100)]
Issue #19512: add _PyUnicode_CompareWithId() function
_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 [Wed, 6 Nov 2013 23:12:30 +0000 (00:12 +0100)]
print_exception(): don't encode the module name to UTF-8
Replace _PyUnicode_AsString()+strcmp() with PyUnicode_CompareWithASCIIString().
Victor Stinner [Wed, 6 Nov 2013 23:01:51 +0000 (00:01 +0100)]
Issue #19512: builtin print() function uses an identifier instead of literal
string "flush" to call the flush method
Victor Stinner [Wed, 6 Nov 2013 22:52:55 +0000 (23:52 +0100)]
Issue #19512: _count_elements() of _collections reuses PyId_get identifier
instead of literal "get" string
Victor Stinner [Wed, 6 Nov 2013 22:50:10 +0000 (23:50 +0100)]
Issue #19512: fileio_init() reuses PyId_name identifier instead of "name"
literal string
Victor Stinner [Wed, 6 Nov 2013 21:46:51 +0000 (22:46 +0100)]
Issue #19512: __build_class() builtin now uses an identifier for the "metaclass" string
Victor Stinner [Wed, 6 Nov 2013 21:41:44 +0000 (22:41 +0100)]
Issue #19512: add some common identifiers to only create common strings once,
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 [Wed, 6 Nov 2013 21:40:41 +0000 (22:40 +0100)]
Issue #19512: pickle now uses an identifier to only create the Unicode string
"modules" once
Victor Stinner [Wed, 6 Nov 2013 21:38:37 +0000 (22:38 +0100)]
Issue #19512: PRINT_EXPR bytecode now uses an identifier to get sys.displayhook
to only create the "displayhook" string once
Victor Stinner [Wed, 6 Nov 2013 21:36:40 +0000 (22:36 +0100)]
Issue #19512: Add _PySys_GetObjectId() and _PySys_SetObjectId() functions
Victor Stinner [Wed, 6 Nov 2013 18:03:11 +0000 (19:03 +0100)]
Issue #19512: eval() and exec() now use an identifier for "__builtins__" string
Victor Stinner [Wed, 6 Nov 2013 17:59:18 +0000 (18:59 +0100)]
Issue #19512: type_abstractmethods() and type_set_abstractmethods() now use an
identifier for the "__abstractmethods__" string
Victor Stinner [Wed, 6 Nov 2013 17:58:22 +0000 (18:58 +0100)]
Issue #19512: Add a new _PyDict_DelItemId() function, similar to
PyDict_DelItemString() but using an identifier for the key
Victor Stinner [Wed, 6 Nov 2013 17:57:29 +0000 (18:57 +0100)]
Issue #19512: Py_ReprEnter() and Py_ReprLeave() now use an identifier for the
"Py_Repr" dictionary key
Victor Stinner [Wed, 6 Nov 2013 17:41:07 +0000 (18:41 +0100)]
Issue #19512: Add PyRun_InteractiveOneObject() function
Only decode the filename once. PyRun_InteractiveOneObject() uses an identifier
for "<string>" string, so the byte string is only decoded once.
Victor Stinner [Wed, 6 Nov 2013 17:28:21 +0000 (18:28 +0100)]
Issue #19512: _print_total_refs() now uses an identifier to get "showrefcount"
key from sys._xoptions
Victor Stinner [Wed, 6 Nov 2013 17:27:13 +0000 (18:27 +0100)]
Issue #19512: sys_displayhook() now uses an identifier for "builtins"
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 [Wed, 6 Nov 2013 16:25:17 +0000 (17:25 +0100)]
Issue #18582: fix memory leak in pbkdf2 code
Nick Coghlan [Wed, 6 Nov 2013 12:17:39 +0000 (22:17 +1000)]
Remove incorrect comment from dis tests
Nick Coghlan [Wed, 6 Nov 2013 12:12:07 +0000 (22:12 +1000)]
Fix typo in updated dis docs
Nick Coghlan [Wed, 6 Nov 2013 12:08:36 +0000 (22:08 +1000)]
Close #19378: address flaws in the new dis module APIs
- 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 [Wed, 6 Nov 2013 03:55:46 +0000 (21:55 -0600)]
#19439: Update PCbuild/readme.txt with new sub-project
Victor Stinner [Wed, 6 Nov 2013 00:48:45 +0000 (01:48 +0100)]
doc: fix typo
Serhiy Storchaka [Tue, 5 Nov 2013 20:02:17 +0000 (22:02 +0200)]
Revert wrong change in previous commit (issue #19085).
Serhiy Storchaka [Tue, 5 Nov 2013 20:01:46 +0000 (22:01 +0200)]
Revert wrong change in previous commit (issue #19085).
Serhiy Storchaka [Tue, 5 Nov 2013 19:06:05 +0000 (21:06 +0200)]
Fix test_insertwidth Tkinter tests on Tk 8.5 with patchlevel >= 8.5.12 (issue #19085).
Serhiy Storchaka [Tue, 5 Nov 2013 19:05:10 +0000 (21:05 +0200)]
Fix test_insertwidth Tkinter tests on Tk 8.5 with patchlevel >= 8.5.12 (issue #19085).
Serhiy Storchaka [Tue, 5 Nov 2013 18:18:17 +0000 (20:18 +0200)]
Fix typo in tkinter tests (issue #19085).
Serhiy Storchaka [Tue, 5 Nov 2013 18:17:50 +0000 (20:17 +0200)]
Fix typo in tkinter tests (issue #19085).
Victor Stinner [Tue, 5 Nov 2013 17:07:34 +0000 (18:07 +0100)]
Issue #19437: Fix compiler_class(), handle compiler_lookup_arg() failure
Victor Stinner [Tue, 5 Nov 2013 14:10:19 +0000 (15:10 +0100)]
Issue #19437: Fix _threading.RLock constructor (rlock_new), call
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())
Victor Stinner [Tue, 5 Nov 2013 13:50:30 +0000 (14:50 +0100)]
Issue #19437: Fix pysqlite_cursor_iternext() of sqlite3, when the row factory
fails, don't consume the row (restore it) and fail immediatly (don't call
pysqlite_step())
Victor Stinner [Tue, 5 Nov 2013 13:46:13 +0000 (14:46 +0100)]
Issue #19437: Fix pysqlite_connection_call() of sqlite3, return NULL when
PyList_Append() fails
Victor Stinner [Tue, 5 Nov 2013 13:30:11 +0000 (14:30 +0100)]
Issue #19437: Fix pysqlite_cursor_iternext() of sqlite3, handle
_pysqlite_fetch_one_row() failure
Tim Golden [Tue, 5 Nov 2013 12:57:25 +0000 (12:57 +0000)]
Issue #10197 Tweak docs for subprocess.getstatusoutput and align the documentation, the module docstring, and the function docstring.
Ned Deily [Tue, 5 Nov 2013 10:50:49 +0000 (02:50 -0800)]
Issue #15663: merge build-installer.py changes
Ned Deily [Tue, 5 Nov 2013 10:44:17 +0000 (02:44 -0800)]
Issue #15663: Revert OS X installer built-in Tcl/Tk support for 3.3.3.
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.
Vinay Sajip [Tue, 5 Nov 2013 10:03:20 +0000 (10:03 +0000)]
Closes #18345: Merged documentation update from 3.3.
Vinay Sajip [Tue, 5 Nov 2013 10:02:21 +0000 (10:02 +0000)]
Issue #18345: Added cookbook example illustrating handler customisation.
Terry Jan Reedy [Tue, 5 Nov 2013 02:44:17 +0000 (21:44 -0500)]
Merge with 3.3
Terry Jan Reedy [Tue, 5 Nov 2013 02:43:26 +0000 (21:43 -0500)]
Issue #19397: test_pydoc now works with -S (help not added to builtins).
Patch by Serhiy Storchaka and Vajrasky Kok.
Guido van Rossum [Mon, 4 Nov 2013 23:50:46 +0000 (15:50 -0800)]
asyncio: Refactor SIGCHLD handling. By Anthony Baire.
Guido van Rossum [Mon, 4 Nov 2013 21:18:19 +0000 (13:18 -0800)]
asyncio: Locks improvements by Arnaud Faure: better repr(), change Conditio\
n structure.
Serhiy Storchaka [Mon, 4 Nov 2013 21:06:51 +0000 (23:06 +0200)]
Issue #19085: Fix running test_ttk_textonly on displayless host.
Serhiy Storchaka [Mon, 4 Nov 2013 21:05:37 +0000 (23:05 +0200)]
Issue #19085: Fix running test_ttk_textonly on displayless host.
Serhiy Storchaka [Mon, 4 Nov 2013 20:11:43 +0000 (22:11 +0200)]
Issue #19085: Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.12.
Serhiy Storchaka [Mon, 4 Nov 2013 20:11:12 +0000 (22:11 +0200)]
Issue #19085: Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.12.
Nick Coghlan [Mon, 4 Nov 2013 13:32:16 +0000 (23:32 +1000)]
Fix functools.partialmethod docs and __all__
Victor Stinner [Mon, 4 Nov 2013 10:28:26 +0000 (11:28 +0100)]
Issue #19424: PyUnicode_CompareWithASCIIString() normalizes memcmp() result
to -1, 0, 1
Victor Stinner [Mon, 4 Nov 2013 10:27:14 +0000 (11:27 +0100)]
Issue #16286: remove duplicated identity check from unicode_compare()
Move the test to PyUnicode_Compare()
Victor Stinner [Mon, 4 Nov 2013 10:23:05 +0000 (11:23 +0100)]
Issue #16286: optimize PyUnicode_RichCompare() for identical strings (same
pointer) for any operator, not only Py_EQ and Py_NE.
Code of bytes_richcompare() and PyUnicode_RichCompare() is now closer.
Victor Stinner [Mon, 4 Nov 2013 10:08:10 +0000 (11:08 +0100)]
Issue #16286: write a new subfunction bytes_compare_eq()
* cleanup bytes_richcompare()
* PyUnicode_RichCompare(): replace a test with a XOR
Georg Brandl [Mon, 4 Nov 2013 06:46:23 +0000 (07:46 +0100)]
merge with 3.3
Georg Brandl [Mon, 4 Nov 2013 06:46:02 +0000 (07:46 +0100)]
null-merge 3.2 backouts
Georg Brandl [Mon, 4 Nov 2013 06:44:29 +0000 (07:44 +0100)]
Georg Brandl [Mon, 4 Nov 2013 06:43:41 +0000 (07:43 +0100)]
Georg Brandl [Mon, 4 Nov 2013 06:43:32 +0000 (07:43 +0100)]
Georg Brandl [Mon, 4 Nov 2013 06:30:50 +0000 (07:30 +0100)]
Note that examples are sorted only for convenience.
Ned Deily [Mon, 4 Nov 2013 04:09:51 +0000 (20:09 -0800)]
Issue #15392: merge from 3.3