]>
granicus.if.org Git - python/log
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
Ned Deily [Mon, 4 Nov 2013 04:08:53 +0000 (20:08 -0800)]
Issue #15392: Install idlelib/idle_test.
Zachary Ware [Mon, 4 Nov 2013 03:51:42 +0000 (21:51 -0600)]
Null merge 3.3
Zachary Ware [Mon, 4 Nov 2013 03:48:54 +0000 (21:48 -0600)]
Issue #19391: Clean up PCbuild/readme.txt
R David Murray [Mon, 4 Nov 2013 00:54:05 +0000 (19:54 -0500)]
#18678: Correct names of spwd struct members.
The old names (sp_nam and sp_pwd) are kept for backward compatibility. Since
this is a long standing bug that hasn't caused any real-world problems, I'm
not backporting it. However, it is worth fixing because the corrected names
match the documentation, and more importantly now match the C struct, just
like the other struct members.
Patch by Vajrasky Kok.
Ned Deily [Sun, 3 Nov 2013 23:34:37 +0000 (15:34 -0800)]
Issue #18702 null merge
Serhiy Storchaka [Sun, 3 Nov 2013 19:31:38 +0000 (21:31 +0200)]
Issue #18702: All skipped tests now reported as skipped.
Serhiy Storchaka [Sun, 3 Nov 2013 19:31:18 +0000 (21:31 +0200)]
Issue #18702: All skipped tests now reported as skipped.
Tim Golden [Sun, 3 Nov 2013 18:27:40 +0000 (18:27 +0000)]
Merge
Tim Golden [Sun, 3 Nov 2013 18:27:07 +0000 (18:27 +0000)]
Merge
Tim Golden [Sun, 3 Nov 2013 18:25:51 +0000 (18:25 +0000)]
Issue #10197: Indicate availability of subprocess.get[status]output on Windows and add a note about the effects of universal newlines
Tim Golden [Sun, 3 Nov 2013 18:24:50 +0000 (18:24 +0000)]
Issue #10197: Indicate availability of subprocess.get[status]output on Windows and add a note about the effects of universal newlines
R David Murray [Sun, 3 Nov 2013 18:22:17 +0000 (13:22 -0500)]
Merge #19411: Clarify that b2a_hex/hexlify returns a bytes object.
R David Murray [Sun, 3 Nov 2013 18:21:38 +0000 (13:21 -0500)]
#19411: Clarify that b2a_hex/hexlify returns a bytes object.
Initial patch by Vajrasky Kok.
R David Murray [Sun, 3 Nov 2013 17:23:51 +0000 (12:23 -0500)]
Merge #19485: clarify get_param example.
R David Murray [Sun, 3 Nov 2013 17:23:23 +0000 (12:23 -0500)]
#19485: clarify get_param example.
Patch by Vajrasky Kok.
Serhiy Storchaka [Sun, 3 Nov 2013 16:25:17 +0000 (18:25 +0200)]
Issue #19085: Fixed pixels rounding for last Tk patchlevels.
Serhiy Storchaka [Sun, 3 Nov 2013 16:24:31 +0000 (18:24 +0200)]
Issue #19085: Fixed pixels rounding for last Tk patchlevels.
Tim Golden [Sun, 3 Nov 2013 14:22:14 +0000 (14:22 +0000)]
Issue #10197: merge 3.3
Tim Golden [Sun, 3 Nov 2013 14:21:29 +0000 (14:21 +0000)]
Issue #10197: merge heads
Tim Golden [Sun, 3 Nov 2013 14:20:23 +0000 (14:20 +0000)]
Issue #10197: merge heads
Tim Golden [Sun, 3 Nov 2013 12:55:51 +0000 (12:55 +0000)]
Issue #10197 Rework subprocess.get[status]output to use subprocess functionality and thus to work on Windows. Patch by Nick Coghlan.
Tim Golden [Sun, 3 Nov 2013 12:53:17 +0000 (12:53 +0000)]
Issue #10197 Rework subprocess.get[status]output to use subprocess functionality and thus to work on Windows. Patch by Nick Coghlan.
Victor Stinner [Sun, 3 Nov 2013 12:53:12 +0000 (13:53 +0100)]
Issue #19424: Fix a compiler warning on comparing signed/unsigned size_t
Patch written by Zachary Ware.
Serhiy Storchaka [Sun, 3 Nov 2013 12:34:25 +0000 (14:34 +0200)]
Issue #6157: Fixed tkinter.Text.debug(). tkinter.Text.bbox() now raises
TypeError instead of TclError on wrong number of arguments. Original patch
by Guilherme Polo.
Serhiy Storchaka [Sun, 3 Nov 2013 12:29:35 +0000 (14:29 +0200)]
Issue #6157: Fixed tkinter.Text.debug(). Original patch by Guilherme Polo.
Serhiy Storchaka [Sun, 3 Nov 2013 12:15:00 +0000 (14:15 +0200)]
Issue #6160: The bbox() method of tkinter.Spinbox now returns a tuple of
integers instead of a string. Based on patch by Guilherme Polo.
Serhiy Storchaka [Sun, 3 Nov 2013 12:13:34 +0000 (14:13 +0200)]
Issue #6160: The bbox() method of tkinter.Spinbox now returns a tuple of
integers instead of a string. Based on patch by Guilherme Polo.
Tim Golden [Sun, 3 Nov 2013 11:59:28 +0000 (11:59 +0000)]
Issue #19464 Null merge with 3.3
Tim Golden [Sun, 3 Nov 2013 11:58:02 +0000 (11:58 +0000)]
Issue #19464 Suppress compiler warnings during clean. Patch by Zachary Ware.
Nick Coghlan [Sun, 3 Nov 2013 07:00:51 +0000 (17:00 +1000)]
Close #19403: make contextlib.redirect_stdout reentrant
Nick Coghlan [Sun, 3 Nov 2013 06:54:46 +0000 (16:54 +1000)]
Close #19439: execute embedding tests on Windows
Patch by Zachary Ware
Nick Coghlan [Sun, 3 Nov 2013 06:41:46 +0000 (16:41 +1000)]
Issue #4331: Added functools.partialmethod
Initial patch by Alon Horev
Tim Peters [Sat, 2 Nov 2013 18:21:28 +0000 (13:21 -0500)]
Mercurial: ignore precompiled header files on Windows.
Richard Oudkerk [Sat, 2 Nov 2013 17:08:01 +0000 (17:08 +0000)]
Merge.
Richard Oudkerk [Sat, 2 Nov 2013 17:05:07 +0000 (17:05 +0000)]
Issue #19478: Make choice of semaphore prefix more flexible.
Jason R. Coombs [Sat, 2 Nov 2013 17:04:51 +0000 (13:04 -0400)]
Merge with 3.3 for Issue #19286.
Jason R. Coombs [Sat, 2 Nov 2013 17:01:46 +0000 (13:01 -0400)]
Merge with 3.2 for Issue #19286.
Jason R. Coombs [Sat, 2 Nov 2013 17:00:01 +0000 (13:00 -0400)]
Update NEWS for
265d369ad3b9 .
Serhiy Storchaka [Sat, 2 Nov 2013 16:53:39 +0000 (18:53 +0200)]
Null merge
Serhiy Storchaka [Sat, 2 Nov 2013 16:53:19 +0000 (18:53 +0200)]
Merge heads
Serhiy Storchaka [Sat, 2 Nov 2013 16:53:06 +0000 (18:53 +0200)]
Merge heads
Serhiy Storchaka [Sat, 2 Nov 2013 16:51:30 +0000 (18:51 +0200)]
Null merge
Serhiy Storchaka [Sat, 2 Nov 2013 16:50:42 +0000 (18:50 +0200)]
Issue #19085: Fixed some Tkinter tests on Windows.
Richard Oudkerk [Sat, 2 Nov 2013 16:47:08 +0000 (16:47 +0000)]
Merge.
Richard Oudkerk [Sat, 2 Nov 2013 16:46:32 +0000 (16:46 +0000)]
Relax timeout test.
Richard Oudkerk [Sat, 2 Nov 2013 16:38:58 +0000 (16:38 +0000)]
Relax test for process return code on Windows.
Ezio Melotti [Sat, 2 Nov 2013 15:50:02 +0000 (17:50 +0200)]
Merge test_htmlparser changes from 3.3.
Ezio Melotti [Sat, 2 Nov 2013 15:49:08 +0000 (17:49 +0200)]
Use unittest.main() in test_htmlparser.
Ezio Melotti [Sat, 2 Nov 2013 15:08:24 +0000 (17:08 +0200)]
#15114: The html.parser module now raises a DeprecationWarning when the strict argument of HTMLParser or the HTMLParser.error method are used.
Jason R. Coombs [Sat, 2 Nov 2013 15:07:35 +0000 (11:07 -0400)]
Issue #19286: [distutils] Only match files in build_py.find_data_files.
Jason R. Coombs [Sat, 2 Nov 2013 15:29:33 +0000 (11:29 -0400)]
Issue #19286: Adding test demonstrating the failure when a directory is found in the package_data globs.