]>
granicus.if.org Git - python/log
Brian Curtin [Wed, 20 Jun 2012 20:55:04 +0000 (15:55 -0500)]
Get 64-bit building
Brian Curtin [Wed, 20 Jun 2012 20:45:12 +0000 (15:45 -0500)]
Support 32-bit release building:
Brian Curtin [Wed, 20 Jun 2012 20:37:24 +0000 (15:37 -0500)]
Initial changes to get the py launcher building
Brian Curtin [Wed, 20 Jun 2012 20:36:14 +0000 (15:36 -0500)]
Add launcher source and resources
Jason R. Coombs [Wed, 20 Jun 2012 14:24:24 +0000 (10:24 -0400)]
Prefer assertEqual to simply assert per recommendation in issue6727.
Clarified comment on disabled code to reference issue15093.
doko@ubuntu.com [Wed, 20 Jun 2012 11:16:31 +0000 (13:16 +0200)]
Do not italicize punctuation in python(1) manual page (Matt Kraai).
Georg Brandl [Wed, 20 Jun 2012 09:26:03 +0000 (11:26 +0200)]
Fix small overeager edit from
8e47e9af826e .
Christian Heimes [Wed, 20 Jun 2012 09:17:58 +0000 (11:17 +0200)]
Issue #15096: Drop support for the ur string prefix
Nadeem Vawda [Tue, 19 Jun 2012 23:48:50 +0000 (01:48 +0200)]
Fix GzipFile's handling of filenames given as bytes objects.
Add relevant tests for GzipFile, and also for BZ2File and LZMAFile.
Nadeem Vawda [Tue, 19 Jun 2012 23:35:22 +0000 (01:35 +0200)]
Fix GzipFile's handling of filenames given as bytes objects.
Antoine Pitrou [Tue, 19 Jun 2012 20:29:35 +0000 (22:29 +0200)]
Issue #14928: Fix importlib bootstrap issues by using a custom executable (Modules/_freeze_importlib) to build Python/importlib.h.
Kristjan Valur Jonsson [Tue, 19 Jun 2012 16:30:28 +0000 (16:30 +0000)]
Issue #15038: Document caveats with the emulated condition variables.
Brian Curtin [Tue, 19 Jun 2012 15:03:05 +0000 (10:03 -0500)]
Add versionchanged tags for #14772 changes
Antoine Pitrou [Tue, 19 Jun 2012 14:33:39 +0000 (16:33 +0200)]
Issue #15103: remove the NUL character (serving as a Mercurial binary marker) from Python/importlib.h.
Instead the email notification hook uses a configuration option to omit importlib.h diffs.
Kristjan Valur Jonsson [Tue, 19 Jun 2012 10:10:09 +0000 (10:10 +0000)]
Issue #15038:
Fix incorrect test of the condition variable state, spotted by
Richard Oudkerk. This could cause the internal condition variable
to grow without bounds.
Brian Curtin [Mon, 18 Jun 2012 23:41:07 +0000 (18:41 -0500)]
Fix #14772: Return the destination from some shutil functions.
Kristján Valur Jónsson [Mon, 18 Jun 2012 20:30:44 +0000 (20:30 +0000)]
Issue #15038: Optimize python Locks on Windows
Extract cross-platform condition variable support into a separate file and
provide user-mode non-recursive locks for Windows.
Richard Oudkerk [Mon, 18 Jun 2012 20:29:36 +0000 (21:29 +0100)]
Issue #15064: Use with-blocks for some examples in docs.
Richard Oudkerk [Mon, 18 Jun 2012 20:29:30 +0000 (21:29 +0100)]
Issue #15064: Make BaseManager.__enter__() start server if necessary.
Stefan Krah [Mon, 18 Jun 2012 17:57:23 +0000 (19:57 +0200)]
Add comments to the power functions, in particular to _mpd_qpow_real().
Richard Oudkerk [Mon, 18 Jun 2012 16:47:52 +0000 (17:47 +0100)]
Issue #15064: Implement context manager protocol for multiprocessing types
Richard Oudkerk [Mon, 18 Jun 2012 15:02:49 +0000 (16:02 +0100)]
Issue #15101: Make pool finalizer avoid joining current thread.
Richard Oudkerk [Mon, 18 Jun 2012 14:54:57 +0000 (15:54 +0100)]
Issue #15101: Make pool finalizer avoid joining current thread.
Richard Oudkerk [Mon, 18 Jun 2012 13:11:10 +0000 (14:11 +0100)]
Fiddle with timeouts in barrier tests
Petri Lehtinen [Mon, 18 Jun 2012 07:45:56 +0000 (10:45 +0300)]
Fix NEWS entry for #15036
Petri Lehtinen [Mon, 18 Jun 2012 07:43:53 +0000 (10:43 +0300)]
Fix NEWS entry for #15036
Antoine Pitrou [Sun, 17 Jun 2012 21:18:07 +0000 (23:18 +0200)]
Prevent test_inspect from keeping alive a ton of frames and local variables by way of a global variable keeping a reference to a traceback.
Should fix some buildbot failures.
Antoine Pitrou [Sun, 17 Jun 2012 20:33:38 +0000 (22:33 +0200)]
Issue #14657: The frozen instance of importlib used for bootstrap is now also the module imported as importlib._bootstrap.
R David Murray [Sun, 17 Jun 2012 19:27:21 +0000 (15:27 -0400)]
Merge: Update out of date docstring.
R David Murray [Sun, 17 Jun 2012 19:26:35 +0000 (15:26 -0400)]
Update out of date docstring.
Ezio Melotti [Sun, 17 Jun 2012 12:12:42 +0000 (14:12 +0200)]
#14840: merge with 3.2.
Ezio Melotti [Sun, 17 Jun 2012 12:10:59 +0000 (14:10 +0200)]
#14840: Add a bit on the difference between tuples and lists. Initial patch by Zachary Ware.
Nick Coghlan [Sun, 17 Jun 2012 11:30:35 +0000 (21:30 +1000)]
Merge from 3.2 (Ignore X-Antivirus headers in test_nntplib)
Nick Coghlan [Sun, 17 Jun 2012 11:27:18 +0000 (21:27 +1000)]
Ignore X-Antivirus headers in test_nntplib
Nick Coghlan [Sun, 17 Jun 2012 11:15:45 +0000 (21:15 +1000)]
Merge from 3.2 (Issue #15095: Use better assertions in test_imaplib)
Nick Coghlan [Sun, 17 Jun 2012 11:10:21 +0000 (21:10 +1000)]
Issue #15095: Use better assertions in test_imaplib
Nick Coghlan [Sun, 17 Jun 2012 09:16:02 +0000 (19:16 +1000)]
Merge from 3.2 (Issue #15043: skip test_gdb if the custom hooks can't be loaded)
Jason R. Coombs [Sun, 17 Jun 2012 09:06:16 +0000 (05:06 -0400)]
Disable test on Unix. Causes buildbots to fail. See Issue #15091
Nick Coghlan [Sun, 17 Jun 2012 08:57:20 +0000 (18:57 +1000)]
Issue #15043: skip test_gdb if the custom hooks can't be loaded
Martin v. Löwis [Sun, 17 Jun 2012 08:42:02 +0000 (10:42 +0200)]
White space normalization.
Martin v. Löwis [Sun, 17 Jun 2012 08:41:22 +0000 (10:41 +0200)]
Issue #14055: Add __sizeof__ support to _elementtree.
Martin v. Löwis [Sun, 17 Jun 2012 08:40:16 +0000 (10:40 +0200)]
Elaborate that sizeof only accounts for the object itself.
Nick Coghlan [Sun, 17 Jun 2012 08:27:54 +0000 (18:27 +1000)]
Merge from 3.2. (Issue #15044: Handle Fedora 17's approach to ndbm compatibility)
Nick Coghlan [Sun, 17 Jun 2012 08:27:11 +0000 (18:27 +1000)]
Issue #15044: Handle Fedora 17's approach to ndbm compatibility
Jason R. Coombs [Sun, 17 Jun 2012 07:53:47 +0000 (03:53 -0400)]
Adding test from issue6727 demonstrating that symlink import issue does not occur here in 3.3
Nick Coghlan [Sun, 17 Jun 2012 07:24:10 +0000 (17:24 +1000)]
Issue #14814: Add first draft of PEP 3144 ipaddress module documentation (initial patch by Sandro Tosi)
Nick Coghlan [Sun, 17 Jun 2012 06:33:00 +0000 (16:33 +1000)]
Improve an internal ipaddress test, add a comment explaining why treating networks as containers of interfaces rather than addresses would prove confusing
Nick Coghlan [Sun, 17 Jun 2012 05:45:11 +0000 (15:45 +1000)]
Issue #13783: PEP 380 cleanup part 2, using the new identifier APIs in the generator implementation
Nick Coghlan [Sun, 17 Jun 2012 05:15:49 +0000 (15:15 +1000)]
Issue #13783: the PEP 380 implementation no longer expands the public C API
Meador Inge [Sun, 17 Jun 2012 02:49:08 +0000 (21:49 -0500)]
Issue #15054: Fix incorrect tokenization of 'b' string literals.
Patch by Serhiy Storchaka.
Antoine Pitrou [Sat, 16 Jun 2012 22:27:30 +0000 (00:27 +0200)]
Try to fix issue #15086: build failure on Ubuntu shared buildbot.
Antoine Pitrou [Sat, 16 Jun 2012 20:50:54 +0000 (22:50 +0200)]
Normalize whitespace
Antoine Pitrou [Sat, 16 Jun 2012 20:48:21 +0000 (22:48 +0200)]
Issue #14874: Restore charmap decoding speed to pre-PEP 393 levels.
Patch by Serhiy Storchaka.
Stefan Krah [Sat, 16 Jun 2012 17:45:35 +0000 (19:45 +0200)]
1) State the relative errors of the power functions for integer exponents.
2) _mpd_qpow_mpd(): Abort the loop for all specials, not only infinity.
3) _mpd_qpow_mpd(): Make the function more general and distinguish between
zero clamping and folding down the exponent. The latter case is currently
handled by setting context->clamp to 0 before calling the function.
4) _mpd_qpow_int(): Add one to the work precision in case of a negative
exponent. This is to get the same relative error (0.1 * 10**-prec)
for both positive and negative exponents. The previous relative
error for negative exponents was (0.2 * 10**-prec).
Both errors are _before_ the final rounding to the context precision.
Victor Stinner [Sat, 16 Jun 2012 14:38:26 +0000 (16:38 +0200)]
_copy_characters(): move debug code at the top to avoid noisy #ifdef
And don't use assert() anymore if check_maxchar is set: return -1 on error
instead.
Eli Bendersky [Sat, 16 Jun 2012 03:47:44 +0000 (06:47 +0300)]
Make the test more resilient to test-run order (closes #15075)
Victor Stinner [Sat, 16 Jun 2012 02:53:46 +0000 (04:53 +0200)]
Fix PyUnicode_GetSize(): Don't replace _PyUnicode_Ready() exception
Victor Stinner [Sat, 16 Jun 2012 02:53:25 +0000 (04:53 +0200)]
Fix a compiler warning in _copy_characters() and remove debug code
Victor Stinner [Sat, 16 Jun 2012 02:53:00 +0000 (04:53 +0200)]
Oops, fix my previous change on _copy_characters()
Victor Stinner [Sat, 16 Jun 2012 01:22:05 +0000 (03:22 +0200)]
get_sourcefile(): use PyUnicode_READ() to avoid the creation of a temporary
Py_UCS4 buffer
Victor Stinner [Sat, 16 Jun 2012 01:17:34 +0000 (03:17 +0200)]
Fix unicode_adjust_maxchar(): catch PyUnicode_New() failure
Victor Stinner [Sat, 16 Jun 2012 00:57:41 +0000 (02:57 +0200)]
Fix "%f" format of str%args if the result is not an ASCII or latin1 string
Victor Stinner [Sat, 16 Jun 2012 00:44:43 +0000 (02:44 +0200)]
Remove debug code
Victor Stinner [Sat, 16 Jun 2012 00:22:37 +0000 (02:22 +0200)]
Optimize _PyUnicode_FastCopyCharacters() when maxchar(from) > maxchar(to)
Victor Stinner [Fri, 15 Jun 2012 23:53:04 +0000 (01:53 +0200)]
unicodeobject.c: Remove debug code
Alexander Belopolsky [Sat, 16 Jun 2012 00:19:47 +0000 (20:19 -0400)]
Issue #15006: Allow equality comparison between naive and aware time
or datetime objects.
Brett Cannon [Sat, 16 Jun 2012 00:00:53 +0000 (20:00 -0400)]
Issue #14938: importlib.abc.SourceLoader.is_package() now takes the
module name into consideration when determining whether a module is a
package or not. This prevents importing a module's __init__ module
directly and having it considered a package, which can lead to
duplicate sub-modules.
Thanks to Ronan Lamy for reporting the bug.
Brett Cannon [Fri, 15 Jun 2012 23:39:06 +0000 (19:39 -0400)]
Issue #13959: Add to imp.find_module() and load_module's docstrings
that they are deprecated (previous commit documented this fact in the
module docs).
Brett Cannon [Fri, 15 Jun 2012 23:21:07 +0000 (19:21 -0400)]
Closes issue #14982: Document that pkgutil's walk_packages() and
iter_modules() requires iter_modules() be defined on an importer. The
importers in importlib do not define this non-standard method.
Brett Cannon [Fri, 15 Jun 2012 23:04:29 +0000 (19:04 -0400)]
Merge
Alexander Belopolsky [Fri, 15 Jun 2012 22:15:25 +0000 (18:15 -0400)]
Removed redundant code
Richard Oudkerk [Fri, 15 Jun 2012 20:53:34 +0000 (21:53 +0100)]
Fix _TestListener.ALLOWED_TYPES and add sanity check
Antoine Pitrou [Fri, 15 Jun 2012 20:22:18 +0000 (22:22 +0200)]
Mention the UTF-16 encoding speedup in the whatsnew (issue #15026).
Antoine Pitrou [Fri, 15 Jun 2012 20:15:23 +0000 (22:15 +0200)]
Issue #15026: utf-16 encoding is now significantly faster (up to 10x).
Patch by Serhiy Storchaka.
Richard Oudkerk [Fri, 15 Jun 2012 19:08:29 +0000 (20:08 +0100)]
Increase timeout used when waiting for manager to shutdown cleanly
before resorting to terminate()
Richard Oudkerk [Fri, 15 Jun 2012 18:18:30 +0000 (19:18 +0100)]
Fix for
2d2f206d040e so that test_multiprocessing does not depend on ctypes
Petri Lehtinen [Fri, 15 Jun 2012 18:01:39 +0000 (21:01 +0300)]
#15036: Make a repeated changes and flushes work with single-file mailboxes
Petri Lehtinen [Fri, 15 Jun 2012 17:50:51 +0000 (20:50 +0300)]
#15036: Make a repeated changes and flushes work with single-file mailboxes
Richard Oudkerk [Fri, 15 Jun 2012 17:26:07 +0000 (18:26 +0100)]
Issue #14059: Implement multiprocessing.Barrier
Antoine Pitrou [Fri, 15 Jun 2012 17:12:04 +0000 (19:12 +0200)]
Issue #14933: fix misleading doc about weakref support in extension types.
Antoine Pitrou [Fri, 15 Jun 2012 17:11:31 +0000 (19:11 +0200)]
Issue #14933: fix misleading doc about weakref support in extension types.
Nick Coghlan [Fri, 15 Jun 2012 11:16:25 +0000 (21:16 +1000)]
Fix typos in NEWS entry
Nick Coghlan [Fri, 15 Jun 2012 11:14:08 +0000 (21:14 +1000)]
Issue #15061: Don't oversell the capabilities of the new non-shortcircuiting comparison function in hmac
Eli Bendersky [Fri, 15 Jun 2012 06:40:44 +0000 (09:40 +0300)]
Skip XincludeTest entirely instead of just ignoring failures, because it may segfault, depending on the order of running tests
Eli Bendersky [Fri, 15 Jun 2012 06:03:19 +0000 (09:03 +0300)]
Removed _SimpleElementPath and its flaky test. The test monkey-patches the module, which causes other failures and fails itself depending on the order tests are run.
Eli Bendersky [Fri, 15 Jun 2012 05:37:08 +0000 (08:37 +0300)]
mark problematic test as expected failure - investigating
Eli Bendersky [Fri, 15 Jun 2012 04:52:49 +0000 (07:52 +0300)]
Fix windows compilation problems caused by previous commit.
Eli Bendersky [Fri, 15 Jun 2012 04:42:50 +0000 (07:42 +0300)]
Replace the iter/itertext methods of Element in _elementtree with true C implementations, instead of the bootstrapped Python code. In addition to being cleaner (removing the last remains of the bootstrapping code in _elementtree), this gives a 10x performance boost for iter() on large documents.
Also reorganized the tests a bit to be more robust.
Antoine Pitrou [Thu, 14 Jun 2012 19:54:24 +0000 (21:54 +0200)]
Update .hgignore for VS9.0-generated files
Antoine Pitrou [Thu, 14 Jun 2012 19:51:12 +0000 (21:51 +0200)]
Issue #15070: fix VS9.0 build regression
Richard Oudkerk [Thu, 14 Jun 2012 14:30:10 +0000 (15:30 +0100)]
Issue #13841: Make child processes exit using sys.exit() on Windows
Martin v. Löwis [Thu, 14 Jun 2012 14:01:23 +0000 (16:01 +0200)]
Issue #14936: curses_panel was converted to PEP 3121 and PEP 384 API.
Patch by Robin Schreiber.
Martin v. Löwis [Thu, 14 Jun 2012 14:00:24 +0000 (16:00 +0200)]
Issue #14936: curses_panel was converted to PEP 3121 API.
Patch by Robin Schreiber.
Martin v. Löwis [Thu, 14 Jun 2012 13:37:53 +0000 (15:37 +0200)]
merge 3.2
Martin v. Löwis [Thu, 14 Jun 2012 13:37:21 +0000 (15:37 +0200)]
Issue #14937: Fix typo. Patch by Roger Serwy.
Alexander Belopolsky [Thu, 14 Jun 2012 02:15:26 +0000 (22:15 -0400)]
Issue #
1667546 : On platforms supporting tm_zone and tm_gmtoff fields
in struct tm, time.struct_time objects returned by time.gmtime(),
time.localtime() and time.strptime() functions now have tm_zone and
tm_gmtoff attributes. Original patch by Paul Boddie.
Sandro Tosi [Wed, 13 Jun 2012 22:37:25 +0000 (00:37 +0200)]
Issue #15060: merge with 3.2
Sandro Tosi [Wed, 13 Jun 2012 22:37:09 +0000 (00:37 +0200)]
Issue #15060: better fix, thanks to review on #python-dev
Sandro Tosi [Wed, 13 Jun 2012 21:59:21 +0000 (23:59 +0200)]
Issue #15060: merge with 3.2
Sandro Tosi [Wed, 13 Jun 2012 21:58:54 +0000 (23:58 +0200)]
Issue #15060: fix typo in socket doc; Patch by anatoly techtonik