]>
granicus.if.org Git - python/log
Barry Warsaw [Thu, 26 Jul 2012 22:12:07 +0000 (18:12 -0400)]
- Issue #15458: python-config gets a new option --configdir to print the
$LIBPL value.
Martin v. Löwis [Thu, 26 Jul 2012 20:23:23 +0000 (22:23 +0200)]
Issue #15456: Fix code __sizeof__ after #12399 change.
Patch by Serhiy Storchaka.
Jason R. Coombs [Thu, 26 Jul 2012 19:21:17 +0000 (15:21 -0400)]
Restored test by specifying that the symlink links to a target (currently required for Windows symlinks). See issue15093 for details.
Andrew Svetlov [Thu, 26 Jul 2012 14:16:24 +0000 (17:16 +0300)]
Issue #15041: update "see also" list in tkinter documentation.
Andrew Svetlov [Thu, 26 Jul 2012 14:02:57 +0000 (17:02 +0300)]
Issue #15041: update "see also" list in tkinter documentation.
Antoine Pitrou [Wed, 25 Jul 2012 22:47:15 +0000 (00:47 +0200)]
Issue #15320: Make iterating the list of tests thread-safe when running tests in multiprocess mode.
Patch by Chris Jerdonek.
Antoine Pitrou [Wed, 25 Jul 2012 22:45:19 +0000 (00:45 +0200)]
Issue #15320: Make iterating the list of tests thread-safe when running tests in multiprocess mode.
Patch by Chris Jerdonek.
Antoine Pitrou [Wed, 25 Jul 2012 20:40:05 +0000 (22:40 +0200)]
Mention the *limit* argument of TextIO.readline().
Antoine Pitrou [Wed, 25 Jul 2012 20:38:33 +0000 (22:38 +0200)]
Mention the *limit* argument of TextIO.readline().
Vinay Sajip [Wed, 25 Jul 2012 18:20:32 +0000 (19:20 +0100)]
Closes #15445: Merged documentation update from 3.2.
Vinay Sajip [Wed, 25 Jul 2012 18:19:25 +0000 (19:19 +0100)]
Issue #15445: Updated logging configuration documentation to highlight potential security risk posed by listen() in certain scenarios.
Martin v. Löwis [Wed, 25 Jul 2012 09:33:02 +0000 (11:33 +0200)]
merge 3.2
Martin v. Löwis [Wed, 25 Jul 2012 09:32:26 +0000 (11:32 +0200)]
Issue #7163: Propagate return value of sys.stdout.write.
Patch by Roger Serwy.
Martin v. Löwis [Wed, 25 Jul 2012 08:49:32 +0000 (10:49 +0200)]
merge 3.2
Martin v. Löwis [Wed, 25 Jul 2012 08:47:20 +0000 (10:47 +0200)]
Issue #15318: Prevent writing to sys.stdin.
Patch by Roger Serwy and myself.
Antoine Pitrou [Tue, 24 Jul 2012 19:23:53 +0000 (21:23 +0200)]
Issue #15413: os.times() had disappeared under Windows.
R David Murray [Tue, 24 Jul 2012 18:24:13 +0000 (14:24 -0400)]
#15232: make NEWS entry more accurate.
R David Murray [Tue, 24 Jul 2012 18:22:19 +0000 (14:22 -0400)]
#15232: make NEWS entry more accurate.
Eli Bendersky [Tue, 24 Jul 2012 17:44:48 +0000 (20:44 +0300)]
Cleanup the doc a bit: remove useless example and sentence
Eli Bendersky [Tue, 24 Jul 2012 16:51:06 +0000 (19:51 +0300)]
Issue #15321: update PyPI upload doc to say --no-raw passed to rst2html.py. Patch by Chris Jerdonek
Eli Bendersky [Tue, 24 Jul 2012 16:47:34 +0000 (19:47 +0300)]
Clarify what happens if shallow is false. Also, the caching note is not really correct since the cache gets occasionally cleared; therefore I removed it.
Ned Deily [Tue, 24 Jul 2012 10:45:39 +0000 (03:45 -0700)]
Issue #14197: merge
Ned Deily [Tue, 24 Jul 2012 10:31:48 +0000 (03:31 -0700)]
Issue #14197: For OS X framework builds, ensure links to the shared
library are created with the proper ABI suffix.
Jesus Cea [Mon, 23 Jul 2012 16:43:18 +0000 (18:43 +0200)]
MERGE: Rollback an incorrect Doc/ACKS.txt entry
Jesus Cea [Mon, 23 Jul 2012 16:42:37 +0000 (18:42 +0200)]
Rollback an incorrect Doc/ACKS.txt entry
Jesus Cea [Mon, 23 Jul 2012 16:16:18 +0000 (18:16 +0200)]
MERGE: Better test for Issue #15402: Add a __sizeof__ method to struct.Struct
Jesus Cea [Mon, 23 Jul 2012 16:15:33 +0000 (18:15 +0200)]
Better test for Issue #15402: Add a __sizeof__ method to struct.Struct
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