]>
granicus.if.org Git - python/log
Meador Inge [Mon, 23 Jul 2012 15:22:36 +0000 (10:22 -0500)]
Issue #15402: Add a __sizeof__ method to struct.Struct.
Initial patch by Serhiy Storchaka.
Meador Inge [Mon, 23 Jul 2012 15:01:29 +0000 (10:01 -0500)]
Issue #15402: Add a __sizeof__ method to struct.Struct.
Initial patch by Serhiy Storchaka.
Meador Inge [Mon, 23 Jul 2012 14:16:53 +0000 (09:16 -0500)]
Putting the 3.2 -> default merge info in a happy place.
Raymond Hettinger [Mon, 23 Jul 2012 05:24:24 +0000 (00:24 -0500)]
Simplify the LaTeX section (only three escapes are needed for alltt)
Senthil Kumaran [Mon, 23 Jul 2012 02:32:44 +0000 (19:32 -0700)]
merge heads.
Senthil Kumaran [Mon, 23 Jul 2012 02:32:17 +0000 (19:32 -0700)]
merge heads.
Senthil Kumaran [Mon, 23 Jul 2012 02:31:36 +0000 (19:31 -0700)]
- Issue #15250: Document that filecmp.dircmp compares files shallowly. Patch contributed by Chris Jerdonek.
Senthil Kumaran [Mon, 23 Jul 2012 02:12:58 +0000 (19:12 -0700)]
- Issue #15250: Document that filecmp.dircmp compares files shallowly. Patch contributed by Chris Jerdonek.
R David Murray [Mon, 23 Jul 2012 01:53:54 +0000 (21:53 -0400)]
Merge #15232: correctly mangle From lines in MIME preamble and epilogue
R David Murray [Mon, 23 Jul 2012 01:47:53 +0000 (21:47 -0400)]
#15232: correctly mangle From lines in MIME preamble and epilogue
R David Murray [Mon, 23 Jul 2012 00:43:42 +0000 (20:43 -0400)]
Merge #15429: Fix invalid mention of types.NoneType from None docs.
R David Murray [Mon, 23 Jul 2012 00:43:13 +0000 (20:43 -0400)]
#15429: Fix invalid mention of types.NoneType from None docs.
Andrew Svetlov [Sun, 22 Jul 2012 10:56:54 +0000 (13:56 +0300)]
#15094: fix incorrectly placed #endif in _tkinter.c.
Patch by Serhiy Storchaka.
Ned Deily [Sun, 22 Jul 2012 09:56:36 +0000 (02:56 -0700)]
Issue #15184: Some config variables in test_sysconfig_module
may differ between sysconfig and distutils.sysconfig due to
compiler customizations on OS X. For now, move those vars
into a separate test and skip if the customization has taken
place in distutils. The long-term solution is to eliminate
having two sysconfig modules.
Ned Deily [Sun, 22 Jul 2012 07:46:46 +0000 (00:46 -0700)]
Issue #15188: Prevent test_ldshared_value failure due to slightly
different parsing of the Makefile by distutils.sysconfig and
sysconfig in the case when an intermediate config vars, used to
construct PY_CFLAGS or PY_LDFLAGS, has a trailing space character.
In this case, the OS X installer build script was leaving a
trailing space in the OPT and LDFLAGS config vars. The space is not
significant and it's not worth toying with the Makefile parsing.
Ned Deily [Sun, 22 Jul 2012 05:35:16 +0000 (22:35 -0700)]
Issue #15184: Fix test__remove_unsupported_archs failures on 10.6
by removing unwarranted assumptions that clang compiler chain
cannot handle ppc (the driver passes off ppc compiles to gcc).
Mock the behavior instead.
Gregory P. Smith [Sun, 22 Jul 2012 04:20:44 +0000 (21:20 -0700)]
Consistently raise a TypeError when a non str is passed to hashlib.new
regardless of which of the two implementations of new is used.
Gregory P. Smith [Sun, 22 Jul 2012 04:19:53 +0000 (21:19 -0700)]
Consistently raise a TypeError when a non str is passed to hashlib.new
regardless of which of the two implementations of new is used.
R David Murray [Sun, 22 Jul 2012 02:56:49 +0000 (22:56 -0400)]
Merge #13922: argparse no longer incorrectly strips '--' after the first one.
Patch by Jeff Knupp.
R David Murray [Sun, 22 Jul 2012 02:48:35 +0000 (22:48 -0400)]
#13922: argparse no longer incorrectly strips '--' after the first one.
Patch by Jeff Knupp.
R David Murray [Sun, 22 Jul 2012 02:28:08 +0000 (22:28 -0400)]
Merge #12353: argparse now correctly handles null argument values.
Patch by Torsten Landschoff.
R David Murray [Sun, 22 Jul 2012 02:20:11 +0000 (22:20 -0400)]
#12353: argparse now correctly handles null argument values.
Patch by Torsten Landschoff.
R David Murray [Sat, 21 Jul 2012 21:05:24 +0000 (17:05 -0400)]
Merge #14391: clarify docstring discussion of Action's 'type' argument's value.
R David Murray [Sat, 21 Jul 2012 21:04:25 +0000 (17:04 -0400)]
#14391: clarify docstring discussion of Action's 'type' argument's value.
R David Murray [Sat, 21 Jul 2012 18:34:51 +0000 (14:34 -0400)]
Merge #15342: Add clarifying sentence to posixpath.join docstring.
This sentence appears as a clarifying note in the HTML docs, and seems
worth having in the docstring since it covers a very common use case
that isn't otherwise obvious. Thanks to Yongzhi Pan for the suggestion.
R David Murray [Sat, 21 Jul 2012 18:33:56 +0000 (14:33 -0400)]
#15342: Add clarifying sentence to posixpath.join docstring.
This sentence appears as a clarifying note in the HTML docs, and seems
worth having in the docstring since it covers a very common use case
that isn't otherwise obvious. Thanks to Yongzhi Pan for the suggestion.
Ned Deily [Sat, 21 Jul 2012 17:48:09 +0000 (10:48 -0700)]
Issue #15188: Modify the OS X build_installer script to remove temporary
build paths from configuration variables cached in _sysconfigdata.py, as
is already done for the installed Makefile. This avoids a distuils test
case failure in test_ldshared_value.
Eli Bendersky [Sat, 21 Jul 2012 17:32:39 +0000 (20:32 +0300)]
Raise ImportError if pyexpat's version is incompatible
Eli Bendersky [Sat, 21 Jul 2012 17:28:46 +0000 (20:28 +0300)]
Raise ImportError if pyexpat's version is incompatible
Ned Deily [Sat, 21 Jul 2012 16:29:54 +0000 (09:29 -0700)]
Issue #15184: Ensure configuration-related environment variables
are unset during test execution.
Brett Cannon [Sat, 21 Jul 2012 13:54:58 +0000 (09:54 -0400)]
Remove a relative import that escaped test.test_importlib.
Ned Deily [Sat, 21 Jul 2012 12:36:30 +0000 (05:36 -0700)]
Issue #15184: Ensure consistent results of OS X configuration
tailoring for universal builds by factoring out common OS X-specific
customizations from sysconfig, distutils.sysconfig, distutils.util,
and distutils.unixccompiler into a new module _osx_support that can
eventually also be used by packaging.
Florent Xicluna [Sat, 21 Jul 2012 10:45:02 +0000 (12:45 +0200)]
Fix test_pprint random dict ordering.
Florent Xicluna [Sat, 21 Jul 2012 10:44:20 +0000 (12:44 +0200)]
Fix test_pprint random dict ordering.
Florent Xicluna [Sat, 21 Jul 2012 09:22:33 +0000 (11:22 +0200)]
Issues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable key.
Florent Xicluna [Sat, 21 Jul 2012 09:17:38 +0000 (11:17 +0200)]
Issues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable key.
Meador Inge [Sat, 21 Jul 2012 00:50:41 +0000 (19:50 -0500)]
Issue #15410: Fix the urllib.request.Request.is_unverifiable deprecation documentation.
Meador Inge [Sat, 21 Jul 2012 00:12:04 +0000 (19:12 -0500)]
Issue #15409: Replace use of deprecated urllib.request.Request methods in http.cookijar
Patch by Flávio Ribeiro.
Antoine Pitrou [Fri, 20 Jul 2012 22:47:48 +0000 (00:47 +0200)]
Port additional tests from #14579 (the issue is already fixed).
Antoine Pitrou [Fri, 20 Jul 2012 22:45:14 +0000 (00:45 +0200)]
Issue #14579: Fix CVE-2012-2135: vulnerability in the utf-16 decoder after error handling.
Patch by Serhiy Storchaka.
Ned Deily [Fri, 20 Jul 2012 20:24:58 +0000 (13:24 -0700)]
Issue #15168: Ensure test_importlib subdirectories are installed.
Brett Cannon [Fri, 20 Jul 2012 19:42:34 +0000 (15:42 -0400)]
Fix another import error.
Brett Cannon [Fri, 20 Jul 2012 19:40:57 +0000 (15:40 -0400)]
Fix an import from the importlib.test move.
Brett Cannon [Fri, 20 Jul 2012 18:54:53 +0000 (14:54 -0400)]
Move importlib.test.benchmark to Tools/importbench to make it more
visible and to place it with other micro-benchmarks (e.g.
stringbench).
Brett Cannon [Fri, 20 Jul 2012 18:48:53 +0000 (14:48 -0400)]
Issue #15168: Move importlb.test to test.test_importlib.
This should make the Linux distros happy as it is now easier to leave
importlib's tests out of their base Python distribution.
Brett Cannon [Fri, 20 Jul 2012 18:22:27 +0000 (14:22 -0400)]
Merge
Brett Cannon [Fri, 20 Jul 2012 18:22:04 +0000 (14:22 -0400)]
Issue #15091: Call importlib.invalidate_caches() and reactivate a test
of importing a symlinked package.
Brett Cannon [Fri, 20 Jul 2012 18:01:34 +0000 (14:01 -0400)]
Running the importlib tests from test_import is redundant as there is
no difference anymore between __import__ and importlib.__import__.
Meador Inge [Fri, 20 Jul 2012 17:52:42 +0000 (12:52 -0500)]
Issue #15406: Fix deprecation warning in ctypes test_bitfields.py
Patch by Flávio Ribeiro.
Meador Inge [Fri, 20 Jul 2012 17:48:34 +0000 (12:48 -0500)]
Issue #15406: Fix deprecation warning in ctypes test_bitfields.py
Patch by Flávio Ribeiro.
Nick Coghlan [Fri, 20 Jul 2012 13:40:09 +0000 (23:40 +1000)]
Close #15386: There was a loophole that meant importlib.machinery and imp would sometimes reference an uninitialised copy of importlib._bootstrap
Ronald Oussoren [Fri, 20 Jul 2012 12:41:06 +0000 (14:41 +0200)]
Add missing NEWS entry for changeset
b79d276041a8
Andrew Svetlov [Fri, 20 Jul 2012 11:55:20 +0000 (14:55 +0300)]
Merge heads
Andrew Svetlov [Fri, 20 Jul 2012 11:52:54 +0000 (14:52 +0300)]
Merge 3.2
Andrew Svetlov [Fri, 20 Jul 2012 11:51:45 +0000 (14:51 +0300)]
Issue #15404: Refleak in PyMethodObject repr.
Stefan Krah [Fri, 20 Jul 2012 10:34:18 +0000 (12:34 +0200)]
Fix Visual Studio warning.
Vinay Sajip [Fri, 20 Jul 2012 08:51:20 +0000 (09:51 +0100)]
Closes #15399: merged documentation fix from 3.2.
Vinay Sajip [Fri, 20 Jul 2012 08:50:18 +0000 (09:50 +0100)]
Issue #15399: Added versionchanged for processName.
Meador Inge [Fri, 20 Jul 2012 02:33:21 +0000 (21:33 -0500)]
Issue #15401: Fix typo in inspect.getclosurevars docstring.
Kristján Valur Jónsson [Thu, 19 Jul 2012 21:02:03 +0000 (21:02 +0000)]
Issue #15365: Make traceback reporting ignore any errors when printing out
the source line. Such errors can't be reported anyway. This makes error
reporting work, even if the "io" module can't be loaded.
Hynek Schlawack [Thu, 19 Jul 2012 19:41:02 +0000 (21:41 +0200)]
#
1492704 : Backout and wait for 3.4
Jesus Cea [Thu, 19 Jul 2012 19:32:07 +0000 (21:32 +0200)]
MERGE: Closes #15395: memory leaks in selectmodule.c
Jesus Cea [Thu, 19 Jul 2012 19:31:26 +0000 (21:31 +0200)]
Closes #15395: memory leaks in selectmodule.c
Jesus Cea [Thu, 19 Jul 2012 19:18:45 +0000 (21:18 +0200)]
MERGE: Closes #15396: memory leak in tkinter
Jesus Cea [Thu, 19 Jul 2012 19:18:07 +0000 (21:18 +0200)]
Closes #15396: memory leak in tkinter
Meador Inge [Thu, 19 Jul 2012 18:51:59 +0000 (13:51 -0500)]
Issue #15394: Fix ref leaks in PyModule_Create.
Patch by Julia Lawall.
Meador Inge [Thu, 19 Jul 2012 18:45:43 +0000 (13:45 -0500)]
Issue #15394: Fix ref leaks in PyModule_Create.
Patch by Julia Lawall.
Hynek Schlawack [Thu, 19 Jul 2012 18:23:49 +0000 (20:23 +0200)]
#
1492704 : Make shutil.copyfile() raise a distinct SameFileError
Patch by Atsuo Ishimoto.
Meador Inge [Thu, 19 Jul 2012 05:14:35 +0000 (00:14 -0500)]
Issue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows.
Meador Inge [Thu, 19 Jul 2012 05:01:22 +0000 (00:01 -0500)]
Issue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows.
Meador Inge [Wed, 18 Jul 2012 23:08:49 +0000 (18:08 -0500)]
remove unused variable
Meador Inge [Wed, 18 Jul 2012 22:57:46 +0000 (17:57 -0500)]
remove unused variable
Benjamin Peterson [Wed, 18 Jul 2012 22:12:47 +0000 (15:12 -0700)]
remove unused variable
Meador Inge [Wed, 18 Jul 2012 21:49:07 +0000 (16:49 -0500)]
Issue #15368: fixing variable typo.
Meador Inge [Wed, 18 Jul 2012 21:41:03 +0000 (16:41 -0500)]
Issue #15368: fixing variable typo.
Meador Inge [Wed, 18 Jul 2012 19:28:55 +0000 (14:28 -0500)]
Issue #15368: make bytecode generation deterministic.
Meador Inge [Wed, 18 Jul 2012 19:20:11 +0000 (14:20 -0500)]
Issue #15368: make bytecode generation deterministic.
Nick Coghlan [Wed, 18 Jul 2012 13:59:08 +0000 (23:59 +1000)]
Fix importlib.machinery.all_suffixes docs
Nick Coghlan [Wed, 18 Jul 2012 13:14:57 +0000 (23:14 +1000)]
Close #15387: inspect.getmodulename() now uses a new importlib.machinery.all_suffixes() API rather than the deprecated inspect.getmoduleinfo()
Vinay Sajip [Tue, 17 Jul 2012 16:33:46 +0000 (17:33 +0100)]
Closes #15307: symlinks now work on OS X with framework Python builds. Patch by Ronald Oussoren.
Hynek Schlawack [Tue, 17 Jul 2012 12:29:33 +0000 (14:29 +0200)]
Use posixpath.join() explicitely in posixpath.join() test
Used os.path.join before which has different semantics on Windows.
Hynek Schlawack [Tue, 17 Jul 2012 12:28:44 +0000 (14:28 +0200)]
Use posixpath.join() explicitely in posixpath.join() test
Used os.path.join before which has different semantics on Windows.
Eli Bendersky [Tue, 17 Jul 2012 12:09:56 +0000 (15:09 +0300)]
fix whitespace woes
Eli Bendersky [Tue, 17 Jul 2012 12:09:12 +0000 (15:09 +0300)]
Optimize tostringlist by taking the stream class outside the function. It's now 2x faster on short calls. Related to #
1767933
Nick Coghlan [Tue, 17 Jul 2012 11:37:58 +0000 (21:37 +1000)]
Issue #15314: Tweak a pkgutil test to hopefully be more Windows friendly
Eli Bendersky [Tue, 17 Jul 2012 11:25:14 +0000 (14:25 +0300)]
Merge for #14988
Eli Bendersky [Tue, 17 Jul 2012 11:22:01 +0000 (14:22 +0300)]
merge heads
Eli Bendersky [Tue, 17 Jul 2012 11:20:38 +0000 (14:20 +0300)]
ISsue #14988: restore Python 2's behavior of raising ImportError when unable to load pyexpat, instead of a SystemError/RuntimeError
Hynek Schlawack [Tue, 17 Jul 2012 11:10:15 +0000 (13:10 +0200)]
#15377: Make posixpath.join() more strict when checking for str/bytes mix
Based on a patch by Nick Coghlan.
Hynek Schlawack [Tue, 17 Jul 2012 11:05:43 +0000 (13:05 +0200)]
#15377: Make posixpath.join() more strict when checking for str/bytes mix
Based on a patch by Nick Coghlan.
Nick Coghlan [Tue, 17 Jul 2012 10:43:40 +0000 (20:43 +1000)]
Merge Issue #15230 OS X buildbot fix from 3.2
Nick Coghlan [Tue, 17 Jul 2012 10:42:39 +0000 (20:42 +1000)]
Issue #15230: Attempt to make the OS X buildbots happy by resolving the tmp dir symlink in the test suite
Hynek Schlawack [Tue, 17 Jul 2012 08:50:30 +0000 (10:50 +0200)]
Fix context manager use in posixpath.join() tests
The asserts were useless (and buggy).
Hynek Schlawack [Tue, 17 Jul 2012 08:48:19 +0000 (10:48 +0200)]
Fix context manager use in posixpath.join() tests
The asserts were useless (and buggy).
Eli Bendersky [Tue, 17 Jul 2012 02:45:11 +0000 (05:45 +0300)]
Preserve the invariant tostring(elem) == b''.join(tostringlist(elem)) and add a test to make sure it keeps working
Gregory P. Smith [Mon, 16 Jul 2012 22:49:19 +0000 (15:49 -0700)]
one more test fix for systems without select.poll. tested by deleting
select.poll before running. works both ways (finally). this should
fix the windows build.
Gregory P. Smith [Mon, 16 Jul 2012 22:48:30 +0000 (15:48 -0700)]
one more test fix for systems without select.poll. tested by deleting
select.poll before running. works both ways (finally). this should fix
the windows build.
Gregory P. Smith [Mon, 16 Jul 2012 20:39:10 +0000 (13:39 -0700)]
Fix unchecked select.poll reference in setUp and tearDown for
platforms that don't have it.
Gregory P. Smith [Mon, 16 Jul 2012 20:38:45 +0000 (13:38 -0700)]
Fix unchecked select.poll reference in setUp and tearDown for
platforms that don't have it.
Gregory P. Smith [Mon, 16 Jul 2012 20:35:20 +0000 (13:35 -0700)]
Fix the with_poll tests for platforms without poll. missing import.