]>
granicus.if.org Git - python/log
Alexandre Vassalotti [Mon, 25 Nov 2013 05:40:18 +0000 (21:40 -0800)]
Simplify save_bool in cpickle.
Ezio Melotti [Mon, 25 Nov 2013 04:41:00 +0000 (06:41 +0200)]
Merge broken link fix from 3.3.
Ezio Melotti [Mon, 25 Nov 2013 04:40:12 +0000 (06:40 +0200)]
Fix broken link in html.entities docs.
Ezio Melotti [Mon, 25 Nov 2013 04:18:47 +0000 (06:18 +0200)]
Add whatsnew section about the html package.
Ezio Melotti [Mon, 25 Nov 2013 03:16:09 +0000 (05:16 +0200)]
#19620: merge with 3.3.
Ezio Melotti [Mon, 25 Nov 2013 03:14:51 +0000 (05:14 +0200)]
#19620: Fix typo in docstring (noticed by Christopher Welborn).
Raymond Hettinger [Sun, 24 Nov 2013 22:53:54 +0000 (14:53 -0800)]
merge
Raymond Hettinger [Sun, 24 Nov 2013 22:53:29 +0000 (14:53 -0800)]
Document that @property can incorporate a docstring from the getter method. Improve readabilty with additional whitespace.
Christian Heimes [Sun, 24 Nov 2013 22:14:16 +0000 (23:14 +0100)]
Issue #19758: silence PendingDeprecationWarnings in test_hmac
I also removed some bare excepts from the tests.
Larry Hastings [Sun, 24 Nov 2013 22:05:57 +0000 (14:05 -0800)]
Merged 3.4.0b1 release head back into trunk.
Serhiy Storchaka [Sun, 24 Nov 2013 21:13:26 +0000 (23:13 +0200)]
Issue #15204: Silence and check the 'U' mode deprecation warnings in tests.
Changed deprecation message in the fileinput module.
Alexandre Vassalotti [Sun, 24 Nov 2013 20:25:48 +0000 (12:25 -0800)]
Use Clinic to process arguments in cpickle.
This doesn't make any functional changes to the exisiting implementation. The
conversion did help however uncover documentation bugs. The best thing about
this conversion is less C code to maintain by hand.
Stefan Krah [Sun, 24 Nov 2013 18:56:23 +0000 (19:56 +0100)]
Merge from 3.3.
Stefan Krah [Sun, 24 Nov 2013 18:44:57 +0000 (19:44 +0100)]
1) Prepare libmpdec for the 2.4.0 release. None of the following changes affects
_decimal:
o Make all "mpd_t to C integer" conversion functions available in both the
64-bit and the 32-bit versions.
o Make all mixed mpd_t/C integer arithmetic functions available in the
32-bit version.
o Better handling of __STDC_LIMIT_MACROS for C++ users.
o Add struct tags (at the request of C++ users).
2) Check for libmpdec.so.2 if --with-system-libmpdec is used.
Victor Stinner [Sun, 24 Nov 2013 18:23:25 +0000 (19:23 +0100)]
Issue #19636: Fix usage of MAX_PATH in posixmodule.c
Victor Stinner [Sun, 24 Nov 2013 18:22:57 +0000 (19:22 +0100)]
Issue #19636: Fix posix__getvolumepathname(), raise an OverflowError if
the length doesn't fit in an DWORD
Victor Stinner [Sun, 24 Nov 2013 17:55:25 +0000 (18:55 +0100)]
Issue #19753: Try to fix test_gdb on SystemZ buildbot
Richard Oudkerk [Sun, 24 Nov 2013 17:50:40 +0000 (17:50 +0000)]
Issue #19740: Use WaitForSingleObject() instead of trusting TimerOrWaitFired.
Serhiy Storchaka [Sun, 24 Nov 2013 16:17:11 +0000 (18:17 +0200)]
Issue #19545: Avoid chained exceptions while passing stray % to
time.strptime(). Initial patch by Claudiu Popa.
Serhiy Storchaka [Sun, 24 Nov 2013 16:15:37 +0000 (18:15 +0200)]
Issue #19545: Avoid chained exceptions while passing stray % to
time.strptime(). Initial patch by Claudiu Popa.
Georg Brandl [Sun, 24 Nov 2013 15:18:23 +0000 (16:18 +0100)]
merge with 3.3
Georg Brandl [Sun, 24 Nov 2013 15:17:54 +0000 (16:17 +0100)]
Doc/Makefile: also do "make suspicious" during daily autobuild
Georg Brandl [Sun, 24 Nov 2013 15:09:26 +0000 (16:09 +0100)]
Fix suspicious markup in the docs.
Larry Hastings [Sun, 24 Nov 2013 15:01:59 +0000 (07:01 -0800)]
Added tag v3.4.0b1 for changeset
3405dc9a6afa
Larry Hastings [Sun, 24 Nov 2013 14:59:35 +0000 (06:59 -0800)]
Bump version number to 3.4.0b1.
Eli Bendersky [Sun, 24 Nov 2013 14:55:04 +0000 (06:55 -0800)]
Cosmetic fixes
Larry Hastings [Sun, 24 Nov 2013 14:53:15 +0000 (06:53 -0800)]
Updated pydoc topics for 3.4.0b1.
Antoine Pitrou [Sun, 24 Nov 2013 14:01:39 +0000 (15:01 +0100)]
Null merge
Antoine Pitrou [Sun, 24 Nov 2013 13:58:17 +0000 (14:58 +0100)]
Issue #19743: fix test_gdb on some optimized Python builds
Antoine Pitrou [Sun, 24 Nov 2013 13:58:17 +0000 (14:58 +0100)]
Issue #19743: fix test_gdb on some optimized Python builds
Antoine Pitrou [Sun, 24 Nov 2013 13:33:37 +0000 (14:33 +0100)]
Selectively re-enable framing tests
Larry Hastings [Sun, 24 Nov 2013 12:41:57 +0000 (04:41 -0800)]
Clinic: fix "self converters" with METH_NOARGS functions.
Larry Hastings [Sun, 24 Nov 2013 12:23:35 +0000 (04:23 -0800)]
Clinic: Add warning for untested (and unused in CPython!) format units.
Georg Brandl [Sun, 24 Nov 2013 11:39:56 +0000 (12:39 +0100)]
Fix a few markup problems in the new import doc.
Victor Stinner [Sun, 24 Nov 2013 11:27:59 +0000 (12:27 +0100)]
Issue #19741: cleanup tracemalloc_realloc()
Explain that unhandled error case is very unlikely
Alexandre Vassalotti [Sun, 24 Nov 2013 11:07:35 +0000 (03:07 -0800)]
Remove code path in cpickle that does not exist in pickle.
Victor Stinner [Sun, 24 Nov 2013 10:37:15 +0000 (11:37 +0100)]
Issue #19741: tracemalloc: report tracemalloc_log_alloc() failure to the caller
for new allocations, but not when a memory block was already resized
Alexandre Vassalotti [Sun, 24 Nov 2013 10:53:45 +0000 (02:53 -0800)]
Make Ellipsis and NotImplemented picklable through the reduce protocol.
Alexandre Vassalotti [Sun, 24 Nov 2013 10:41:05 +0000 (02:41 -0800)]
Make built-in methods picklable through the reduce protocol.
Victor Stinner [Sun, 24 Nov 2013 10:28:20 +0000 (11:28 +0100)]
Issue #19741: fix tracemalloc_log_alloc(), handle _Py_HASHTABLE_SET() failure
Zachary Ware [Sun, 24 Nov 2013 08:21:57 +0000 (02:21 -0600)]
Issue #3158: Relax new doctests a bit.
Apparently, the number of objects with docstrings in builtins varies
with --with-pydebug (non-debug has one fewer).
Also, skip the new tests entirely if built --without-doc-strings.
Zachary Ware [Sun, 24 Nov 2013 07:20:14 +0000 (01:20 -0600)]
Merge heads
Zachary Ware [Sun, 24 Nov 2013 07:19:09 +0000 (01:19 -0600)]
Issue #3158: doctest can now find doctests in functions and methods
written in C.
As a part of this, a few doctests have been added to the builtins module
(on hex(), oct(), and bin()), a doctest has been fixed (hopefully on all
platforms) on float, and test_builtins now runs doctests in builtins.
Nick Coghlan [Sun, 24 Nov 2013 06:49:20 +0000 (16:49 +1000)]
Issue #19734: Also run pip version check in isolated mode
Nick Coghlan [Sun, 24 Nov 2013 04:58:31 +0000 (14:58 +1000)]
Issue #19734: Ensure test_venv ignores PIP_REQUIRE_VIRTUALENV
Alexandre Vassalotti [Sun, 24 Nov 2013 04:58:24 +0000 (20:58 -0800)]
Disable annoying tests which doesn't work optimized pickles.
Alexandre Vassalotti [Sun, 24 Nov 2013 04:30:03 +0000 (20:30 -0800)]
Make framing optional in pickle protocol 4.
This will allow us to control in the future whether to use framing or not.
For example, we may want to turn it off for tiny pickle where it doesn't
help.
The change also improves performance slightly:
### fastpickle ###
Min: 0.608517 -> 0.557358: 1.09x faster
Avg: 0.798892 -> 0.694738: 1.15x faster
Significant (t=3.45)
Stddev: 0.17145 -> 0.12704: 1.3496x smaller
Timeline: http://goo.gl/3xQE1J
### pickle_dict ###
Min: 0.669920 -> 0.615271: 1.09x faster
Avg: 0.733633 -> 0.645058: 1.14x faster
Significant (t=5.05)
Stddev: 0.12041 -> 0.02961: 4.0662x smaller
Timeline: http://goo.gl/LpLSXI
### pickle_list ###
Min: 0.397583 -> 0.368112: 1.08x faster
Avg: 0.412784 -> 0.397223: 1.04x faster
Significant (t=2.78)
Stddev: 0.01518 -> 0.03653: 2.4068x larger
Timeline: http://goo.gl/v39E59
### unpickle_list ###
Min: 0.692935 -> 0.594870: 1.16x faster
Avg: 0.730012 -> 0.628395: 1.16x faster
Significant (t=17.76)
Stddev: 0.02720 -> 0.02995: 1.1012x larger
Timeline: http://goo.gl/2P9AEt
The following not significant results are hidden, use -v to show them:
fastunpickle.
Nick Coghlan [Sun, 24 Nov 2013 02:53:50 +0000 (12:53 +1000)]
Issue #19734: ctypes resource management fixes
Nick Coghlan [Sun, 24 Nov 2013 02:45:25 +0000 (12:45 +1000)]
Issue #19744 (temp workaround): without ssl, skip pip test
Ned Deily [Sun, 24 Nov 2013 02:40:41 +0000 (18:40 -0800)]
Fix typo in and reformat OS X Installer ReadMe
Christian Heimes [Sun, 24 Nov 2013 02:32:51 +0000 (03:32 +0100)]
Fix make distclean for out-of-tree builds
Christian Heimes [Sun, 24 Nov 2013 02:32:40 +0000 (03:32 +0100)]
Fix make distclean for out-of-tree builds
Nick Coghlan [Sun, 24 Nov 2013 01:53:03 +0000 (11:53 +1000)]
Issue #19734: venv still needs isolated mode
Nick Coghlan [Sun, 24 Nov 2013 01:36:31 +0000 (11:36 +1000)]
Issue 19734: better diagnostics for test_venv failures
Larry Hastings [Sun, 24 Nov 2013 01:35:48 +0000 (17:35 -0800)]
Fix inspect.signature tests for builtins when docstrings are compiled out.
Antoine Pitrou [Sun, 24 Nov 2013 00:55:05 +0000 (01:55 +0100)]
Try to fix test_tarfile under Windows
Serhiy Storchaka [Sun, 24 Nov 2013 00:30:59 +0000 (02:30 +0200)]
Build a list of supported test tarfiles dynamically for CLI "test" command
tests (issue13477).
Christian Heimes [Sun, 24 Nov 2013 00:12:22 +0000 (01:12 +0100)]
merge
Christian Heimes [Sun, 24 Nov 2013 00:11:57 +0000 (01:11 +0100)]
Add _opcode to Windows build env
Larry Hastings [Sun, 24 Nov 2013 00:11:17 +0000 (16:11 -0800)]
Don't attempt to run the _opcode test if it wasn't built.
Serhiy Storchaka [Sat, 23 Nov 2013 23:53:29 +0000 (01:53 +0200)]
Issue #13477: Added command line interface to the tarfile module.
Original patch by Berker Peksag.
Larry Hastings [Sat, 23 Nov 2013 23:37:55 +0000 (15:37 -0800)]
Issue #19674: inspect.signature() now produces a correct signature
for some builtins.
Guido van Rossum [Sat, 23 Nov 2013 23:36:43 +0000 (15:36 -0800)]
Keep asyncio working with Python 3.3 too.
Guido van Rossum [Sat, 23 Nov 2013 23:09:16 +0000 (15:09 -0800)]
asyncio: Change bounded semaphore into a subclass, like threading.[Bounded]Semaphore.
Larry Hastings [Sat, 23 Nov 2013 22:58:45 +0000 (14:58 -0800)]
Issue #19358: "make clinic" now runs the Argument Clinic preprocessor
over all CPython source files.
Larry Hastings [Sat, 23 Nov 2013 22:54:00 +0000 (14:54 -0800)]
Issue #19730: Argument Clinic now supports all the existing PyArg
"format units" as legacy converters, as well as two new features:
"self converters" and the "version" directive.
Larry Hastings [Sat, 23 Nov 2013 22:49:22 +0000 (14:49 -0800)]
Issue #19722: Added opcode.stack_effect(), which accurately
computes the stack effect of bytecode instructions.
Martin v. Löwis [Sat, 23 Nov 2013 22:05:27 +0000 (23:05 +0100)]
Update Tcl/Tk to 8.6.1.
Christian Heimes [Sat, 23 Nov 2013 21:43:47 +0000 (22:43 +0100)]
Issue #19735: Implement private function ssl._create_stdlib_context() to
create SSLContext objects in Python's stdlib module. It provides a single
configuration point and makes use of SSLContext.load_default_certs().
Serhiy Storchaka [Sat, 23 Nov 2013 21:20:30 +0000 (23:20 +0200)]
Issue #16203: Add re.fullmatch() function and regex.fullmatch() method,
which anchor the pattern at both ends of the string to match.
Original patch by Matthew Barnett.
Martin v. Löwis [Sat, 23 Nov 2013 21:02:00 +0000 (22:02 +0100)]
Package _overlapped.
Serhiy Storchaka [Sat, 23 Nov 2013 20:45:06 +0000 (22:45 +0200)]
Merge heads
Serhiy Storchaka [Sat, 23 Nov 2013 20:42:43 +0000 (22:42 +0200)]
Issue #13592: Improved the repr for regular expression pattern objects.
Based on patch by Hugo Lopes Tavares.
Gregory P. Smith [Sat, 23 Nov 2013 20:40:46 +0000 (20:40 +0000)]
Fix test_pickletools.py doctest's on 32-bit platforms. I hate doctests.
Antoine Pitrou [Sat, 23 Nov 2013 20:34:04 +0000 (21:34 +0100)]
Fix signed / unsigned comparison
Antoine Pitrou [Sat, 23 Nov 2013 20:20:49 +0000 (21:20 +0100)]
test_pickle: speed up test_long
Serhiy Storchaka [Sat, 23 Nov 2013 20:26:01 +0000 (22:26 +0200)]
Issue #19641: Added the audioop.byteswap() function to convert big-endian
samples to little-endian and vice versa.
Gregory P. Smith [Sat, 23 Nov 2013 20:21:28 +0000 (20:21 +0000)]
gcc doesn't realize that dummy is always initialized by the function call
and warns about potential uninitialized use.
Silence that by initializing it to null.
Christian Heimes [Sat, 23 Nov 2013 20:19:43 +0000 (21:19 +0100)]
Issue #17810: Fixed NULL check in _PyObject_GetItemsIter()
CID
1131948 : Logically dead code (DEADCODE)
Christian Heimes [Sat, 23 Nov 2013 20:14:01 +0000 (21:14 +0100)]
merge
Christian Heimes [Sat, 23 Nov 2013 20:13:39 +0000 (21:13 +0100)]
Issue #17810: Add two missing error checks to save_global
CID
1131946 : Unchecked return value (CHECKED_RETURN)
Serhiy Storchaka [Sat, 23 Nov 2013 20:12:36 +0000 (22:12 +0200)]
Merge heads
Serhiy Storchaka [Sat, 23 Nov 2013 20:12:06 +0000 (22:12 +0200)]
Issue #15204: Deprecated the 'U' mode in file-like objects.
Antoine Pitrou [Sat, 23 Nov 2013 20:06:21 +0000 (21:06 +0100)]
Merge
Christian Heimes [Sat, 23 Nov 2013 20:05:31 +0000 (21:05 +0100)]
Issue #17810: return -1 on error
Antoine Pitrou [Sat, 23 Nov 2013 20:05:08 +0000 (21:05 +0100)]
Fix writing out 64-bit size fields on 32-bit builds
Christian Heimes [Sat, 23 Nov 2013 20:01:40 +0000 (21:01 +0100)]
Issue #17810: Add NULL check to save_frozenset
CID
1131949 : Dereference null return value (NULL_RETURNS)
Guido van Rossum [Sat, 23 Nov 2013 19:51:53 +0000 (11:51 -0800)]
asyncio: Use socketpair() from test_utils in tests (Saúl Ibarra Corretgé).
Guido van Rossum [Sat, 23 Nov 2013 19:51:09 +0000 (11:51 -0800)]
Fix typo.
Ezio Melotti [Sat, 23 Nov 2013 19:14:42 +0000 (21:14 +0200)]
#10712: 2to3 has a new "asserts" fixer that replaces deprecated names of unittest methods.
Ezio Melotti [Sat, 23 Nov 2013 18:27:27 +0000 (20:27 +0200)]
#19639: update the repr of the match objects in the docs. Patch by Claudiu Popa.
Antoine Pitrou [Sat, 23 Nov 2013 18:01:36 +0000 (19:01 +0100)]
Fix whitespace
Antoine Pitrou [Sat, 23 Nov 2013 17:59:12 +0000 (18:59 +0100)]
Issue #17810: Implement PEP 3154, pickle protocol 4.
Most of the work is by Alexandre.
Ezio Melotti [Sat, 23 Nov 2013 17:52:05 +0000 (19:52 +0200)]
#13633: Added a new convert_charrefs keyword arg to HTMLParser that, when True, automatically converts all character references.
Serhiy Storchaka [Sat, 23 Nov 2013 17:50:47 +0000 (19:50 +0200)]
Fixed incorrectly applying a patch for issue19668.
Antoine Pitrou [Sat, 23 Nov 2013 17:22:02 +0000 (18:22 +0100)]
Undo (hopefully) buildbot failures
Antoine Pitrou [Sat, 23 Nov 2013 17:20:42 +0000 (18:20 +0100)]
Undo (hopefully) buildbot failures
Guido van Rossum [Sat, 23 Nov 2013 17:20:12 +0000 (09:20 -0800)]
Relax timing even more, hopefully again fixes issue 19579.
Serhiy Storchaka [Sat, 23 Nov 2013 17:08:38 +0000 (19:08 +0200)]
Merge heads
Victor Stinner [Sat, 23 Nov 2013 16:58:26 +0000 (17:58 +0100)]
Isue #19634: test_y_before_1900() is expected to fail on Solaris