]>
granicus.if.org Git - python/log
Nick Coghlan [Tue, 31 Jul 2012 11:14:18 +0000 (21:14 +1000)]
Close #15486: Simplify the mechanism used to remove importlib frames from tracebacks when they just introduce irrelevant noise
Eli Bendersky [Tue, 31 Jul 2012 03:14:59 +0000 (06:14 +0300)]
Issue #15231: rephrase the last paragraph slightly
Victor Stinner [Tue, 31 Jul 2012 01:25:28 +0000 (03:25 +0200)]
Update the string limit in the faulthandler documentations
Victor Stinner [Tue, 31 Jul 2012 00:55:49 +0000 (02:55 +0200)]
Fix initialization of the faulthandler module
faulthandler requires the importlib if "-X faulthandler" option is present on
the command line, so initialize faulthandler after importlib.
Add also an unit test.
Brett Cannon [Mon, 30 Jul 2012 23:31:00 +0000 (19:31 -0400)]
Minor markup tweak.
Brett Cannon [Mon, 30 Jul 2012 22:35:17 +0000 (18:35 -0400)]
Add a versionchanged mention to __import__ in regards to negative level values.
Brett Cannon [Mon, 30 Jul 2012 21:45:54 +0000 (17:45 -0400)]
Issue #15508: Fix the docstring for __import__ to not mention negative
'level' values and set its document default value to 0.
Thanks to Arfrever Frehtes Taifersar Arahesis for filing the bug.
Andrew Svetlov [Mon, 30 Jul 2012 17:01:13 +0000 (20:01 +0300)]
Issue #12288: Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog.
Andrew Svetlov [Mon, 30 Jul 2012 16:59:53 +0000 (19:59 +0300)]
Issue #12288: Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog.
Antoine Pitrou [Mon, 30 Jul 2012 11:58:42 +0000 (13:58 +0200)]
Better test for BytesIO.__sizeof__, now that the struct module supports (s)size_t.
Followup to issue #15489.
Ned Deily [Mon, 30 Jul 2012 11:20:51 +0000 (04:20 -0700)]
merge
Ned Deily [Mon, 30 Jul 2012 11:14:18 +0000 (04:14 -0700)]
null merge
Ned Deily [Mon, 30 Jul 2012 11:09:32 +0000 (04:09 -0700)]
Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
Victor Stinner [Mon, 30 Jul 2012 11:08:58 +0000 (13:08 +0200)]
Issue #15463: the faulthandler module truncates strings to 500 characters,
instead of 100, to be able to display long file paths
Ned Deily [Mon, 30 Jul 2012 10:38:02 +0000 (03:38 -0700)]
Issue #14018: merge
Ned Deily [Mon, 30 Jul 2012 10:31:21 +0000 (03:31 -0700)]
Issue #14018: Update the OS X IDLE Tcl/Tk warning check to include
the Apple-supplied Tck/Tk versions shipped with OS X 10.7 and 10.8.
They are not as buggy as the 10.6 version but can still easily crash.
Ned Deily [Mon, 30 Jul 2012 09:35:58 +0000 (02:35 -0700)]
Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
Also add tests in the OS X installer build to ensure that the desired
dynamic linking with an optional newer Tcl/Tk in /Library actually
happens.
Ned Deily [Mon, 30 Jul 2012 09:34:03 +0000 (02:34 -0700)]
Fix invalid UTF-8 encoding in commit message.
Antoine Pitrou [Sun, 29 Jul 2012 22:01:44 +0000 (00:01 +0200)]
Issue #15489: Add a __sizeof__ implementation for BytesIO objects.
Patch by Serhiy Storchaka.
Antoine Pitrou [Sun, 29 Jul 2012 22:01:06 +0000 (00:01 +0200)]
Issue #15489: Add a __sizeof__ implementation for BytesIO objects.
Patch by Serhiy Storchaka.
Antoine Pitrou [Sun, 29 Jul 2012 17:04:57 +0000 (19:04 +0200)]
Issue #15487: Add a __sizeof__ implementation for buffered I/O objects.
Patch by Serhiy Storchaka.
Antoine Pitrou [Sun, 29 Jul 2012 17:02:46 +0000 (19:02 +0200)]
Issue #15487: Add a __sizeof__ implementation for buffered I/O objects.
Patch by Serhiy Storchaka.
Martin v. Löwis [Sun, 29 Jul 2012 14:38:45 +0000 (16:38 +0200)]
Issue #15467: Merge 3.2
Martin v. Löwis [Sun, 29 Jul 2012 14:33:05 +0000 (16:33 +0200)]
Issue #15467: Move helpers for __sizeof__ tests into test_support.
Patch by Serhiy Storchaka.
Nick Coghlan [Sun, 29 Jul 2012 10:30:36 +0000 (20:30 +1000)]
Close #15425: Eliminate more importlib related traceback noise
Meador Inge [Sun, 29 Jul 2012 03:32:50 +0000 (22:32 -0500)]
Issue #15402: Simplify Struct.__sizeof__ and make tests more precise.
Meador Inge [Sun, 29 Jul 2012 03:16:39 +0000 (22:16 -0500)]
Issue #15402: Simplify Struct.__sizeof__ and make tests more precise.
Martin v. Löwis [Sat, 28 Jul 2012 19:59:05 +0000 (21:59 +0200)]
Issue #15431: Drop _freeze_importlib from all build configurations,
to prevent constant regeneration of importlib.h.
Martin v. Löwis [Sat, 28 Jul 2012 19:55:20 +0000 (21:55 +0200)]
Issue #15431: Declare PyImport_FrozenModules conditionally on Unix only.
Martin v. Löwis [Sat, 28 Jul 2012 19:33:05 +0000 (21:33 +0200)]
Issue #14578: Support modules registered in the Windows registry again.
Patch by Amaury Forgeot d'Arc.
Martin v. Löwis [Sat, 28 Jul 2012 18:46:52 +0000 (20:46 +0200)]
Issue #15431: Add _freeze_importlib project to regenerate importlib.h on Windows.
Patch by Kristján Valur Jónsson.
Martin v. Löwis [Sat, 28 Jul 2012 17:51:41 +0000 (19:51 +0200)]
Commit unsaved edits.
Martin v. Löwis [Sat, 28 Jul 2012 17:44:05 +0000 (19:44 +0200)]
Issue #15466: Stop using TYPE_INT64 in marshal,
to make importlib.h (and other byte code files) equal between 32-bit
and 64-bit systems.
Richard Oudkerk [Sat, 28 Jul 2012 16:45:28 +0000 (17:45 +0100)]
Issue #
1692335 : Move initial args assignment to BaseException.__new__
to help pickling of naive subclasses.
Stefan Krah [Sat, 28 Jul 2012 12:10:02 +0000 (14:10 +0200)]
Add unused parameter to a METH_NOARGS function.
Stefan Krah [Sat, 28 Jul 2012 11:53:47 +0000 (13:53 +0200)]
Add unused parameter to a couple of METH_NOARGS functions. The previous
form is used in many places in the source tree, but was found to be incorrect
in a recent tracker discussion.
Stefan Krah [Sat, 28 Jul 2012 10:25:55 +0000 (12:25 +0200)]
Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays.
Ned Deily [Sat, 28 Jul 2012 06:37:04 +0000 (23:37 -0700)]
Issue #15364: Fix test_srcdir for the installed case.
Richard Oudkerk [Fri, 27 Jul 2012 13:55:17 +0000 (14:55 +0100)]
Dummy merge.
Richard Oudkerk [Fri, 27 Jul 2012 13:19:00 +0000 (14:19 +0100)]
Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses.
Original patch by J Derek Wilson.
Richard Oudkerk [Fri, 27 Jul 2012 13:06:11 +0000 (14:06 +0100)]
Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses.
Original patch by J Derek Wilson.
Richard Oudkerk [Fri, 27 Jul 2012 11:06:55 +0000 (12:06 +0100)]
Issue #15364: Fix sysconfig.get_config_var('srcdir') to be an absolute path.
Vinay Sajip [Fri, 27 Jul 2012 09:55:16 +0000 (10:55 +0100)]
Merged documentation update from 3.2.
Vinay Sajip [Fri, 27 Jul 2012 09:54:10 +0000 (10:54 +0100)]
Improved cookbook entry and fixed typo.
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