]>
granicus.if.org Git - python/log
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.
Ned Deily [Sat, 23 Nov 2013 08:24:15 +0000 (00:24 -0800)]
Issue #19551: Update installer Welcome file.
Ned Deily [Sat, 23 Nov 2013 06:54:02 +0000 (22:54 -0800)]
Update third-party libraries for OS X installers:
XZ 5.0.3 -> 5.0.5
SQLite 3.7.13 -> 3.8.1
Ned Deily [Sat, 23 Nov 2013 06:39:09 +0000 (22:39 -0800)]
Issue #19551: Update whatsnew.
Ned Deily [Sat, 23 Nov 2013 06:25:43 +0000 (22:25 -0800)]
Issue #19551: PEP 453 - OS X installer now installs or upgrades pip by default.
Nick Coghlan [Sat, 23 Nov 2013 01:59:40 +0000 (11:59 +1000)]
Update What's New with PEP 453 progress
Nick Coghlan [Sat, 23 Nov 2013 01:37:28 +0000 (11:37 +1000)]
Close #19694: venv now runs ensurepip in isolated mode
Andrew Kuchling [Sat, 23 Nov 2013 01:18:26 +0000 (20:18 -0500)]
Merge from 3.3
Andrew Kuchling [Sat, 23 Nov 2013 01:17:24 +0000 (20:17 -0500)]
Update Itamar's name
Nick Coghlan [Sat, 23 Nov 2013 01:13:36 +0000 (11:13 +1000)]
Close #7475: Restore binary & text transform codecs
The codecs themselves were restored in Python 3.2, this
completes the restoration by adding back the convenience
aliases.
These aliases were originally left out due to confusing
errors when attempting to use them with the text encoding
specific convenience methods. Python 3.4 includes several
improvements to those errors, thus permitting the aliases
to be restored as well.
Antoine Pitrou [Sat, 23 Nov 2013 01:11:02 +0000 (02:11 +0100)]
Revert utime(..., None) strategy (it has too poor resolution under Windows) and restore the previous test workaround
(issue #19715)
Antoine Pitrou [Sat, 23 Nov 2013 00:54:27 +0000 (01:54 +0100)]
Trying other strategy for #19715: use utime(..., None)
Guido van Rossum [Sat, 23 Nov 2013 00:53:25 +0000 (16:53 -0800)]
Add source link for asyncio.
Antoine Pitrou [Sat, 23 Nov 2013 00:32:53 +0000 (01:32 +0100)]
Try to fix issue #19715 (timestamp rounding inconsistencies under Windows?)
Antoine Pitrou [Sat, 23 Nov 2013 00:21:11 +0000 (01:21 +0100)]
Finish protocol documentation
Antoine Pitrou [Sat, 23 Nov 2013 00:08:43 +0000 (01:08 +0100)]
Start documenting protocols
Guido van Rossum [Fri, 22 Nov 2013 23:45:02 +0000 (15:45 -0800)]
Mention threadpool interface in asyncio overview.
Antoine Pitrou [Fri, 22 Nov 2013 23:34:26 +0000 (00:34 +0100)]
Issue #19291: add crude stubs to the asyncio docs
Victor Stinner [Fri, 22 Nov 2013 23:15:27 +0000 (00:15 +0100)]
Issue #19715: Ensure that consecutive calls to monotonic() are monotonic
Antoine Pitrou [Fri, 22 Nov 2013 22:20:08 +0000 (23:20 +0100)]
Try to debug issue #19715
Antoine Pitrou [Fri, 22 Nov 2013 21:26:01 +0000 (22:26 +0100)]
Issue #19718: add one more globbing test under POSIX
Andrew Kuchling [Fri, 22 Nov 2013 21:15:28 +0000 (16:15 -0500)]
Wording changes
Brett Cannon [Fri, 22 Nov 2013 21:14:24 +0000 (16:14 -0500)]
merge
Brett Cannon [Fri, 22 Nov 2013 21:14:10 +0000 (16:14 -0500)]
Issue #19718: Add a case-insensitive FS check to test.support to use
in test_pathlib.
Purposefully designed to work from a specified directory in case
multiple file systems are used on the system.
Eric Snow [Fri, 22 Nov 2013 20:55:59 +0000 (13:55 -0700)]
Merge heads.
Eric Snow [Fri, 22 Nov 2013 20:55:23 +0000 (13:55 -0700)]
Issue #19724: clear out colliding temp module.
Andrew Kuchling [Fri, 22 Nov 2013 20:45:02 +0000 (15:45 -0500)]
Wording changes to pathlib docs.
Only possibly-controversial change: joinpath() was described as:
"Calling this method is equivalent to indexing the path with each of
the *other* arguments in turn."
'Indexing' is an odd word to use, because you can't subscript Path or
PurePath objects, so I changed it to "combining".
Barry Warsaw [Fri, 22 Nov 2013 20:31:49 +0000 (15:31 -0500)]
trunk merge
Barry Warsaw [Fri, 22 Nov 2013 20:31:35 +0000 (15:31 -0500)]
Issue 19555 for distutils, plus a little clean up (pyflakes, line lengths).
Guido van Rossum [Fri, 22 Nov 2013 20:27:45 +0000 (12:27 -0800)]
Fix markup of notes recommending asyncio.
Zachary Ware [Fri, 22 Nov 2013 20:04:01 +0000 (14:04 -0600)]
Merge heads
Zachary Ware [Fri, 22 Nov 2013 20:03:10 +0000 (14:03 -0600)]
Issue #18326: merge with 3.3
Zachary Ware [Fri, 22 Nov 2013 19:58:34 +0000 (13:58 -0600)]
Issue #18326: Clarify that list.sort's arguments are keyword-only.
Also, attempt to reduce confusion in the glossary by not saying there are
different "types" of arguments and parameters.
Guido van Rossum [Fri, 22 Nov 2013 19:57:35 +0000 (11:57 -0800)]
Add note to asyncore/asynchat recommending asyncio for new code.
Guido van Rossum [Fri, 22 Nov 2013 19:56:46 +0000 (11:56 -0800)]
Move select, selectors, asyncio to section 18 (IPC).
Brett Cannon [Fri, 22 Nov 2013 19:54:13 +0000 (14:54 -0500)]
NEWS entry for module name repr commit
Brett Cannon [Fri, 22 Nov 2013 19:53:07 +0000 (14:53 -0500)]
merge
Brett Cannon [Fri, 22 Nov 2013 19:52:36 +0000 (14:52 -0500)]
User the repr for a module name in more places
Guido van Rossum [Fri, 22 Nov 2013 19:47:22 +0000 (11:47 -0800)]
asyncio: Pass cancellation from wrapping Future to wrapped Future. By Saúl Ibarra Corretgé (mostly).
Brett Cannon [Fri, 22 Nov 2013 19:47:09 +0000 (14:47 -0500)]
Make test_importlib output easier to trace back to the failing test
class.
Brett Cannon [Fri, 22 Nov 2013 19:38:09 +0000 (14:38 -0500)]
Issue #18864: Don't try and use unittest as a testing module for
built-in loading; leads to a reload scenario where attributes get set
which are wrong after the test.
Brett Cannon [Fri, 22 Nov 2013 18:22:22 +0000 (13:22 -0500)]
Make some tests more verbose in the face of failure
Martin v. Löwis [Fri, 22 Nov 2013 18:13:51 +0000 (19:13 +0100)]
Update xz to 5.0.5.
Martin v. Löwis [Fri, 22 Nov 2013 17:36:28 +0000 (18:36 +0100)]
Update SQLite to 3.8.1 on Windows.
Brett Cannon [Fri, 22 Nov 2013 17:07:43 +0000 (12:07 -0500)]
Remove a commented-out line
Antoine Pitrou [Fri, 22 Nov 2013 17:05:06 +0000 (18:05 +0100)]
Hopefully fix test_is_socket_true
Brett Cannon [Fri, 22 Nov 2013 16:58:17 +0000 (11:58 -0500)]
Don't assume trying to find a builtin will succeed (e.g. posix isn't on Windows)
Antoine Pitrou [Fri, 22 Nov 2013 16:57:03 +0000 (17:57 +0100)]
Fix test failure under systems with an incompatible locale
Antoine Pitrou [Fri, 22 Nov 2013 16:38:41 +0000 (17:38 +0100)]
Fix whitespace
Antoine Pitrou [Fri, 22 Nov 2013 16:38:12 +0000 (17:38 +0100)]
Issue #19673: Add pathlib to the stdlib as a provisional module (PEP 428).
Eric Snow [Fri, 22 Nov 2013 16:05:39 +0000 (09:05 -0700)]
Implement PEP 451 (ModuleSpec).
Barry Warsaw [Fri, 22 Nov 2013 16:08:25 +0000 (11:08 -0500)]
Trunk merge.
Barry Warsaw [Fri, 22 Nov 2013 16:08:05 +0000 (11:08 -0500)]
A fix for issue 19555 on Windows.
Christian Heimes [Fri, 22 Nov 2013 15:20:53 +0000 (16:20 +0100)]
Issue #19448: report name / NID in exception message of ASN1Object
Christian Heimes [Fri, 22 Nov 2013 15:13:55 +0000 (16:13 +0100)]
Issue #17134: check certs of CA and ROOT system store
Nick Coghlan [Fri, 22 Nov 2013 14:57:00 +0000 (00:57 +1000)]
Close #17916: dis.Bytecode based replacement for distb
- Bytecode.from_traceback() alternate constructor
- current_offset parameter and attribute
Patch by Claudiu Popa
Nick Coghlan [Fri, 22 Nov 2013 14:30:34 +0000 (00:30 +1000)]
Close #19552: venv and pyvenv ensurepip integration
Nick Coghlan [Fri, 22 Nov 2013 13:32:24 +0000 (23:32 +1000)]
Update bundled pip to 1.5rc1
Nick Coghlan [Fri, 22 Nov 2013 13:00:22 +0000 (23:00 +1000)]
Issue #19619: Update What's New for codec blacklist
Nick Coghlan [Fri, 22 Nov 2013 12:39:36 +0000 (22:39 +1000)]
Issue #19619: Blacklist non-text codecs in method API
str.encode, bytes.decode and bytearray.decode now use an
internal API to throw LookupError for known non-text encodings,
rather than attempting the encoding or decoding operation and
then throwing a TypeError for an unexpected output type.
The latter mechanism remains in place for third party non-text
encodings.
Ned Deily [Fri, 22 Nov 2013 07:01:59 +0000 (23:01 -0800)]
Issue #19553: PEP 453 - "make install" and "make altinstall" now install or
upgrade pip by default, using the bundled pip provided by the new ensurepip
module. A new configure option, --with-ensurepip[=upgrade|install|no], is
available to override the default ensurepip "--upgrade" option. The option
can also be set with "make [alt]install ENSUREPIP=[upgrade|install\no]".
Ned Deily [Fri, 22 Nov 2013 06:42:25 +0000 (22:42 -0800)]
Issue #19649: On OS X, the same set of file names are now installed
in bin directories for all configurations: non-framework vs framework,
and single arch vs universal builds. pythonx.y-32 is now always
installed for 64-bit/32-bit universal builds. The obsolete and
undocumented pythonw* symlinks are no longer installed anywhere.
Ned Deily [Fri, 22 Nov 2013 04:56:23 +0000 (20:56 -0800)]
Issue #14455: Fix maybe_open typo in Plist.fromFile().
Ezio Melotti [Fri, 22 Nov 2013 03:49:29 +0000 (05:49 +0200)]
#19688: add back and deprecate the internal HTMLParser.unescape() method.
Christian Heimes [Fri, 22 Nov 2013 02:43:48 +0000 (03:43 +0100)]
or VERIFY_CRL_CHECK_LEAF to verify_flags
Christian Heimes [Fri, 22 Nov 2013 02:36:28 +0000 (03:36 +0100)]
Issue #19664: fix another flake test_userdict test
Christian Heimes [Fri, 22 Nov 2013 01:22:51 +0000 (02:22 +0100)]
Issue #18147: Add missing documentation for SSLContext.get_ca_certs().
Also change the argument name to the same name as getpeercert()
Christian Heimes [Fri, 22 Nov 2013 00:51:30 +0000 (01:51 +0100)]
Issue #17134: Finalize interface to Windows' certificate store. Cert and
CRL enumeration are now two functions. enum_certificates() also returns
purpose flags as set of OIDs.
Christian Heimes [Fri, 22 Nov 2013 00:22:47 +0000 (01:22 +0100)]
Issue #19681: Apply a quick and minimal band-aid.
The flaky buildbots make it hard to detect real issue. This is just a temporary fix until we agree
on a permanent solution.
Christian Heimes [Fri, 22 Nov 2013 00:17:34 +0000 (01:17 +0100)]
merge
Christian Heimes [Fri, 22 Nov 2013 00:16:56 +0000 (01:16 +0100)]
Issue #19664: test_userdict's repr test no longer depends on the order
of dict elements.
Original patch by Serhiy Storchaka
Barry Warsaw [Thu, 21 Nov 2013 23:57:41 +0000 (18:57 -0500)]
trunk merge
Barry Warsaw [Thu, 21 Nov 2013 23:57:14 +0000 (18:57 -0500)]
- Issue #19555: Restore sysconfig.get_config_var('SO'), with a
DeprecationWarning pointing people at $EXT_SUFFIX.
Christian Heimes [Thu, 21 Nov 2013 23:46:18 +0000 (00:46 +0100)]
silence an overflow warning. slen is smaller than 1MB
Christian Heimes [Thu, 21 Nov 2013 23:39:38 +0000 (00:39 +0100)]
one CERT_REQUIRED is enough
Christian Heimes [Thu, 21 Nov 2013 23:34:18 +0000 (00:34 +0100)]
downcast len to int. The code has already checked that len < INT_MAX
Christian Heimes [Thu, 21 Nov 2013 22:57:49 +0000 (23:57 +0100)]
lst might be NULL here
CID
1130752 : Dereference after null check (FORWARD_NULL)