]>
granicus.if.org Git - python/log
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
Serhiy Storchaka [Sat, 23 Nov 2013 16:52:23 +0000 (18:52 +0200)]
Issue #19668: Added support for the cp1125 encoding.
Guido van Rossum [Sat, 23 Nov 2013 16:46:14 +0000 (08:46 -0800)]
Add news about pdb fix for yield[from].
Antoine Pitrou [Sat, 23 Nov 2013 16:40:36 +0000 (17:40 +0100)]
Issue #19308: fix the gdb plugin on gdbs linked with Python 3
Antoine Pitrou [Sat, 23 Nov 2013 16:40:36 +0000 (17:40 +0100)]
Issue #19308: fix the gdb plugin on gdbs linked with Python 3
Antoine Pitrou [Sat, 23 Nov 2013 15:16:29 +0000 (16:16 +0100)]
Tweak ssl docs
doko@ubuntu.com [Sat, 23 Nov 2013 15:07:55 +0000 (16:07 +0100)]
- Modules/_struct.c (unpackiter_type): Define static.
Christian Heimes [Sat, 23 Nov 2013 14:59:07 +0000 (15:59 +0100)]
merge
Christian Heimes [Sat, 23 Nov 2013 14:58:30 +0000 (15:58 +0100)]
Issue #19689: Add ssl.create_default_context() factory function. It creates
a new SSLContext object with secure default settings.
Antoine Pitrou [Sat, 23 Nov 2013 14:25:59 +0000 (15:25 +0100)]
Issue #19715: try the utime(..., None) approach again, now that it should be more precise under Windows
Antoine Pitrou [Sat, 23 Nov 2013 14:23:26 +0000 (15:23 +0100)]
Issue #19727: os.utime(..., None) is now potentially more precise under Windows.
Victor Stinner [Sat, 23 Nov 2013 13:59:33 +0000 (14:59 +0100)]
Issue #19634: time.strftime("%y") now raises a ValueError on Solaris when given
a year before 1900.
Serhiy Storchaka [Sat, 23 Nov 2013 13:55:38 +0000 (15:55 +0200)]
Issue #17201: ZIP64 extensions now are enabled by default.
Patch by William Mallard.
Antoine Pitrou [Sat, 23 Nov 2013 13:52:39 +0000 (14:52 +0100)]
Issue #19716: add a test that Path.touch() doesn't change a file's contents.
Patch by Kushal Das.
Christian Heimes [Sat, 23 Nov 2013 13:42:01 +0000 (14:42 +0100)]
Correct documentation clientAuth -> CLIENT_AUTH
Serhiy Storchaka [Sat, 23 Nov 2013 13:34:05 +0000 (15:34 +0200)]
Merge heads
Michael Foord [Sat, 23 Nov 2013 13:30:03 +0000 (13:30 +0000)]
Merge
Michael Foord [Sat, 23 Nov 2013 13:29:23 +0000 (13:29 +0000)]
Issue 17457: extend test discovery to support namespace packages
Serhiy Storchaka [Sat, 23 Nov 2013 13:22:10 +0000 (15:22 +0200)]
Issue #19733: Temporary disable test_image on MacOSX.
Serhiy Storchaka [Sat, 23 Nov 2013 13:21:33 +0000 (15:21 +0200)]
Issue #19733: Temporary disable test_image on MacOSX.
Antoine Pitrou [Sat, 23 Nov 2013 13:05:23 +0000 (14:05 +0100)]
Fix refleak introduced by
4f730c045f5f (issue #18408) and unveiled by
95eea8624d05 (issue #16596).
Christian Heimes [Sat, 23 Nov 2013 12:56:58 +0000 (13:56 +0100)]
Issue #19292: Add SSLContext.load_default_certs() to load default root CA
certificates from default stores or system stores. By default the method
loads CA certs for authentication of server certs.
Antoine Pitrou [Sat, 23 Nov 2013 12:55:35 +0000 (13:55 +0100)]
Document create_connection
Antoine Pitrou [Sat, 23 Nov 2013 12:10:08 +0000 (13:10 +0100)]
Start documenting the event loop
Antoine Pitrou [Sat, 23 Nov 2013 11:50:52 +0000 (12:50 +0100)]
Document asyncio transport APIs
Victor Stinner [Sat, 23 Nov 2013 11:37:20 +0000 (12:37 +0100)]
Issue #18874: Remove tracemalloc.set_traceback_limit()
tracemalloc.start() now has an option nframe parameter
Victor Stinner [Sat, 23 Nov 2013 11:27:24 +0000 (12:27 +0100)]
Issue #18874: Implement the PEP 454 (tracemalloc)
Ned Deily [Sat, 23 Nov 2013 11:33:00 +0000 (03:33 -0800)]
merge
Ned Deily [Sat, 23 Nov 2013 11:30:11 +0000 (03:30 -0800)]
Issue #15663: Revert OS X installer built-in Tcl/Tk support for 3.4.0b1.
Antoine Pitrou [Sat, 23 Nov 2013 11:30:00 +0000 (12:30 +0100)]
Fix transport docstrings
Christian Heimes [Sat, 23 Nov 2013 10:24:32 +0000 (11:24 +0100)]
Issue #8813: X509_VERIFY_PARAM is only available on OpenSSL 0.9.8+
The patch removes the verify_flags feature on Mac OS X 10.4 with OpenSSL 0.9.7l 28 Sep 2006.