]>
granicus.if.org Git - python/log
Yury Selivanov [Tue, 15 Dec 2015 05:30:18 +0000 (00:30 -0500)]
whatsnew/3.5: Mention new asyncio APIs in 3.5.1
Gregory P. Smith [Mon, 14 Dec 2015 06:10:28 +0000 (22:10 -0800)]
Issue #11072: change the incorrect "deprecation" of ftplib dir() and nlst()
APIs into a note that mlsd() is a nicer API if the server supports
it. They aren't deprecated, they are all different server commands.
Not all servers support all commands.
Gregory P. Smith [Mon, 14 Dec 2015 04:09:42 +0000 (20:09 -0800)]
* Re-fix issue #19284: Don't generate the no-op -R command line
parameter to "enable" the always on sys.flags.hash_randomization
in _args_from_interpreter_flags() used by multiprocessing and
some unittests. This simplifies the code.
* assert_python_ok docstring typo fix.
* Fix test_cmd_line not to fail if PYTHONHASHSEED is set to a fixed seed.
Gregory P. Smith [Mon, 14 Dec 2015 04:06:35 +0000 (20:06 -0800)]
merge head
Gregory P. Smith [Mon, 14 Dec 2015 04:05:55 +0000 (20:05 -0800)]
Re-fix issue #19284: Don't generate the no-op -R command line
parameter to "enable" the always on sys.flags.hash_randomization
in _args_from_interpreter_flags() used by multiprocessing and
some unittests. This simplifies the code.
Gregory P. Smith [Mon, 14 Dec 2015 04:01:44 +0000 (20:01 -0800)]
Fix test_cmd_line not to fail if PYTHONHASHSEED is set to a fixed seed
due to test_hash_randomization expecting a different seed per process.
Gregory P. Smith [Mon, 14 Dec 2015 04:00:24 +0000 (20:00 -0800)]
assert_python_ok docstring typo fix.
Victor Stinner [Sun, 13 Dec 2015 23:21:50 +0000 (00:21 +0100)]
Issue #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir() (new try)
R David Murray [Sun, 13 Dec 2015 23:04:56 +0000 (18:04 -0500)]
Merge: #25495: Clarify b2a_base64 documentation vis 57 bytes.
R David Murray [Sun, 13 Dec 2015 23:04:27 +0000 (18:04 -0500)]
#25495: Clarify b2a_base64 documentation vis 57 bytes.
Victor Stinner [Sun, 13 Dec 2015 20:40:26 +0000 (21:40 +0100)]
Issue #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir()
Victor Stinner [Sun, 13 Dec 2015 20:26:17 +0000 (21:26 +0100)]
Issue #25696: Don't ignore errors in 'make bininstall' on creating $(LIBPC) directory
Victor Stinner [Sun, 13 Dec 2015 20:20:36 +0000 (21:20 +0100)]
Issue #25696: Fix installation of Python on UNIX with make -j9.
Vinay Sajip [Sun, 13 Dec 2015 09:44:15 +0000 (09:44 +0000)]
Fixes #25844: Corrected =/== typo potentially leading to crash in launcher.
Vinay Sajip [Sun, 13 Dec 2015 09:41:29 +0000 (09:41 +0000)]
Fixes #25844: Corrected =/== typo potentially leading to crash in launcher.
Guido van Rossum [Sun, 13 Dec 2015 01:01:47 +0000 (17:01 -0800)]
Sync asyncio with upstream git repo (conditional import in test_pep492.py).
Martin Panter [Sat, 12 Dec 2015 06:58:55 +0000 (06:58 +0000)]
Issue #19771: Omit irrelevant message if package could not be initialized
Martin Panter [Sat, 12 Dec 2015 06:57:13 +0000 (06:57 +0000)]
Issue #25845: Drop redundant checks leftover from int to long conversion
Martin Panter [Sat, 12 Dec 2015 06:53:34 +0000 (06:53 +0000)]
Issue #25809: Skip testing platform-dependent French thousands separator
Berker Peksag [Fri, 11 Dec 2015 21:48:13 +0000 (23:48 +0200)]
Issue #25755: Move PropertyWritableDoc into the test case
This fixes a test failure in refleak mode because
test_property_decorator_doc_writable no longer modifies
the class in module level.
Initial patch by Nan Wu and Torsten Landschoff (from issue 25757)
Yury Selivanov [Fri, 11 Dec 2015 16:34:11 +0000 (11:34 -0500)]
Merge 3.4
Yury Selivanov [Fri, 11 Dec 2015 16:33:59 +0000 (11:33 -0500)]
asyncio: Make Tasks check if Futures are attached to the same event loop
See https://github.com/python/asyncio/pull/303 for details
Yury Selivanov [Fri, 11 Dec 2015 16:33:08 +0000 (11:33 -0500)]
Merge 3.4
Yury Selivanov [Fri, 11 Dec 2015 16:32:59 +0000 (11:32 -0500)]
asyncio: Sync with github
Martin Panter [Fri, 11 Dec 2015 05:40:14 +0000 (05:40 +0000)]
Issue #25764: Skip fork failure test when run as root
Martin Panter [Fri, 11 Dec 2015 05:19:29 +0000 (05:19 +0000)]
Issue #22341: Drop Python 2 workaround and document CRC initial value
Also align the parameter naming in binascii to be consistent with zlib.
Martin Panter [Thu, 10 Dec 2015 06:47:06 +0000 (06:47 +0000)]
Issue #14285: Do not catch exceptions initializing any ancestor package
The previous fix only handled the case of the parent package of __main__
failing to initialize.
Also make the "Error while finding spec" formatting slightly more appealing,
and document and test that the module name must be absolute.
Serhiy Storchaka [Wed, 9 Dec 2015 17:44:30 +0000 (19:44 +0200)]
Fixed possible leaks in ElementTree parser.
Serhiy Storchaka [Wed, 9 Dec 2015 09:27:07 +0000 (11:27 +0200)]
Fixed possible leak in ElementTree.Element.iter().
Zachary Ware [Wed, 9 Dec 2015 07:53:44 +0000 (01:53 -0600)]
Clarify that only *documentation* bugs should go to docs@python.org
Martin Panter [Tue, 8 Dec 2015 21:54:42 +0000 (21:54 +0000)]
Issue #25820: Remove unused assignment and redundant GDB CLI arguments
These were added in revision
b71cda2f48c6 .
Berker Peksag [Tue, 8 Dec 2015 10:14:50 +0000 (12:14 +0200)]
Issue #21240: Add an abstractmethod directive to mark abstract methods in the docs more explicitly
Martin Panter [Tue, 8 Dec 2015 00:03:20 +0000 (00:03 +0000)]
Issue #25701: Document C API functions that both set and delete objects
Also document that the separate functions that delete objects are preferred;
using PyObject_SetAttr(), _SetAttrString(), and PySequence_SetItem() to
delete is deprecated.
doko@ubuntu.com [Mon, 7 Dec 2015 11:20:44 +0000 (12:20 +0100)]
merge 3.4
doko@ubuntu.com [Mon, 7 Dec 2015 11:19:49 +0000 (12:19 +0100)]
Remove x permissions from Lib/test/test_script_helper.py
Larry Hastings [Mon, 7 Dec 2015 06:11:21 +0000 (22:11 -0800)]
Mostly-null merge from 3.4. (Only added the tag for 3.4.4rc1.)
Larry Hastings [Mon, 7 Dec 2015 06:00:57 +0000 (22:00 -0800)]
Merge.
Larry Hastings [Mon, 7 Dec 2015 05:58:18 +0000 (21:58 -0800)]
Merge.
Larry Hastings [Mon, 7 Dec 2015 05:54:29 +0000 (21:54 -0800)]
Post-release fixups for Python 3.4.4rc1.
Larry Hastings [Mon, 7 Dec 2015 05:53:27 +0000 (21:53 -0800)]
Post-release fixups for Python 3.5.1.
Serhiy Storchaka [Sun, 6 Dec 2015 21:54:28 +0000 (23:54 +0200)]
Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().
Serhiy Storchaka [Sun, 6 Dec 2015 21:51:44 +0000 (23:51 +0200)]
Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().
Larry Hastings [Sun, 6 Dec 2015 13:53:49 +0000 (05:53 -0800)]
Added tag v3.4.4rc1 for changeset
04f3f725896c
Larry Hastings [Sun, 6 Dec 2015 13:53:35 +0000 (05:53 -0800)]
Version bump for 3.4.4rc1.
Larry Hastings [Sun, 6 Dec 2015 13:51:56 +0000 (05:51 -0800)]
Rebuilt pydoc topics for 3.4.4rc1.
Martin Panter [Sun, 6 Dec 2015 11:12:15 +0000 (11:12 +0000)]
Issue #25717: Add comment explaining why errors are ignored
Ned Deily [Sun, 6 Dec 2015 04:55:33 +0000 (23:55 -0500)]
Issue #25798: merge from 3.4
Ned Deily [Sun, 6 Dec 2015 04:51:23 +0000 (23:51 -0500)]
Issue #25798: Update OS X 10.5+ 32-bit-only installer to build
and link with OpenSSL 1.0.2e.
Martin Panter [Sun, 6 Dec 2015 03:15:05 +0000 (03:15 +0000)]
Issue #25717: Tolerate fstat() failures in the FileIO constructor
This restores 3.4 behaviour, which was removed by revision
3b5279b5bfd1 . The
fstat() call fails with ENOENT for a Virtual Box shared folder filesystem if
the file entry has been unlinked, e.g. for a temporary file.
Larry Hastings [Sun, 6 Dec 2015 01:05:33 +0000 (17:05 -0800)]
Added tag v3.5.1 for changeset
37a07cee5969
Larry Hastings [Sun, 6 Dec 2015 01:05:23 +0000 (17:05 -0800)]
Version bump for 3.5.1 final.
Larry Hastings [Sun, 6 Dec 2015 01:03:20 +0000 (17:03 -0800)]
Updated pydoc topics for 3.5.1 final.
Martin Panter [Sat, 5 Dec 2015 12:41:29 +0000 (12:41 +0000)]
Issue #25764: Merge OS X test skipping from 3.4 into 3.5
Martin Panter [Sat, 5 Dec 2015 09:51:52 +0000 (09:51 +0000)]
Issue #25764: Skip the test on OS X
The OS X buildbots were failing at the second setrlimit() call with EPERM, as
if they were trying to raise the hard limit. The call should be keeping the
hard limit the same and raising the soft limit back to its original value, so
I don't understand the failure.
Benjamin Peterson [Sat, 5 Dec 2015 08:27:33 +0000 (00:27 -0800)]
merge 3.4
Benjamin Peterson [Sat, 5 Dec 2015 08:27:23 +0000 (00:27 -0800)]
merge 3.3
Benjamin Peterson [Sat, 5 Dec 2015 08:27:11 +0000 (00:27 -0800)]
fix reordering
Benjamin Peterson [Sat, 5 Dec 2015 08:24:01 +0000 (00:24 -0800)]
merge 3.4
Benjamin Peterson [Sat, 5 Dec 2015 08:23:11 +0000 (00:23 -0800)]
merge 3.3
Benjamin Peterson [Sat, 5 Dec 2015 08:21:12 +0000 (00:21 -0800)]
merge 3.2
Benjamin Peterson [Sat, 5 Dec 2015 08:17:57 +0000 (00:17 -0800)]
add CVE and issue number
Zachary Ware [Sat, 5 Dec 2015 06:18:29 +0000 (00:18 -0600)]
Issue #25800: Merge with 3.4
Zachary Ware [Sat, 5 Dec 2015 06:16:55 +0000 (00:16 -0600)]
Issue #25800: Fix running test_capi directly
Zachary Ware [Sat, 5 Dec 2015 05:32:23 +0000 (23:32 -0600)]
Issue #25795: Fix several tests to run independently.
These were broken in
3aec776fc796 when they were converted
away from using support.run_unittest(). Oops :)
Initial patch by Felippe da Motta Raposo.
R David Murray [Sat, 5 Dec 2015 04:04:37 +0000 (23:04 -0500)]
Merge: #24903: Remove misleading error message to fix regression.
R David Murray [Sat, 5 Dec 2015 03:54:38 +0000 (22:54 -0500)]
#24903: Remove misleading error message to fix regression.
Before the argparse conversion, compileall would (sometimes) accept multiple
paths when -d was specified. Afterward, it does not. The corresponding check
in the original code claimed to prevent multiple *directories* from being
specified...but it didn't really work even to do that. So this patch fixes
the regression by invoking the consenting adults rule: if you specify a
combination of arguments to compileall that produces files with inconsistent
destdirs (which you could do before), it is on you.
Patch by Jake Garver.
Martin Panter [Sat, 5 Dec 2015 02:03:42 +0000 (02:03 +0000)]
Issue #25764: Merge subprocess fix from 3.4 into 3.5
Brett Cannon [Fri, 4 Dec 2015 23:46:21 +0000 (15:46 -0800)]
Issue #23936: Clarify what finders are.
Thanks to Raúl Cumplido for the bug report and Thomas Kluyver for the
patch.
Brett Cannon [Fri, 4 Dec 2015 22:51:26 +0000 (14:51 -0800)]
Issue #25500: Fix the language reference to not claim that import
statements search for __import__ in the global scope.
Thanks to Sergei Lebedev for finding the documentation bug.
Guido van Rossum [Fri, 4 Dec 2015 01:31:24 +0000 (17:31 -0800)]
Add Awaitable, AsyncIterable, AsyncIterator to typing.py.
Serhiy Storchaka [Thu, 3 Dec 2015 20:26:36 +0000 (22:26 +0200)]
Issue #6478: _strptime's regexp cache now is reset after changing timezone
with time.tzset().
Serhiy Storchaka [Thu, 3 Dec 2015 20:21:07 +0000 (22:21 +0200)]
Issue #6478: _strptime's regexp cache now is reset after changing timezone
with time.tzset().
Martin Panter [Thu, 3 Dec 2015 01:23:10 +0000 (01:23 +0000)]
Issue #14285: Do not catch __init__.py exceptions in runpy
Initialize package before calling find_spec() for __main__, so that we do not
incorrectly handle exceptions from __init__.py. When runpy is used from the
Python CLI, use an internal exception rather than ImportError, to avoid
catching unexpected exceptions.
Also remove exception message rewriting in _run_module_as_main(), because it
seems to be redundant with the _get_main_module_details() function.
Serhiy Storchaka [Wed, 2 Dec 2015 23:04:37 +0000 (01:04 +0200)]
Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache.
Serhiy Storchaka [Wed, 2 Dec 2015 23:02:03 +0000 (01:02 +0200)]
Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache.
Larry Hastings [Sun, 6 Dec 2015 00:49:19 +0000 (16:49 -0800)]
Merge.
Serhiy Storchaka [Wed, 2 Dec 2015 23:02:03 +0000 (01:02 +0200)]
Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache.
Serhiy Storchaka [Wed, 2 Dec 2015 22:57:41 +0000 (00:57 +0200)]
Null merge
Steve Dower [Wed, 2 Dec 2015 16:28:51 +0000 (08:28 -0800)]
Issue #25715: Python 3.5.1 installer shows wrong upgrade path and incorrect logic for launcher detection.
Victor Stinner [Wed, 2 Dec 2015 13:37:17 +0000 (14:37 +0100)]
Fix test_doctest in verbose mode
Steven D'Aprano [Tue, 1 Dec 2015 14:10:09 +0000 (01:10 +1100)]
Merge heads.
Steven D'Aprano [Tue, 1 Dec 2015 06:04:32 +0000 (17:04 +1100)]
Fixed issue #25177, problems with the mean of very small and very large numbers.
Zachary Ware [Tue, 1 Dec 2015 04:57:01 +0000 (22:57 -0600)]
Issue #25767: Merge with 3.4
Zachary Ware [Tue, 1 Dec 2015 04:56:17 +0000 (22:56 -0600)]
Issue #25767: Link to English Wikipedia instead of French.
Steven D'Aprano [Tue, 1 Dec 2015 02:48:48 +0000 (13:48 +1100)]
Fix for issue #25177 with the mean of very small and very large numbers.
Serhiy Storchaka [Mon, 30 Nov 2015 22:39:45 +0000 (00:39 +0200)]
Removed debugging output of exception raised by __reduce__ method.
Serhiy Storchaka [Mon, 30 Nov 2015 22:39:25 +0000 (00:39 +0200)]
Removed debugging output of exception raised by __reduce__ method.
Serhiy Storchaka [Mon, 30 Nov 2015 22:20:36 +0000 (00:20 +0200)]
Fixed reference leak when read truncated pickle.
Serhiy Storchaka [Mon, 30 Nov 2015 22:18:23 +0000 (00:18 +0200)]
Fixed reference leak when read truncated pickle.
Serhiy Storchaka [Mon, 30 Nov 2015 15:35:40 +0000 (17:35 +0200)]
Issue #25718: Fixed copying object with state with boolean value is false.
Serhiy Storchaka [Mon, 30 Nov 2015 15:20:02 +0000 (17:20 +0200)]
Issue #25718: Fixed copying object with state with boolean value is false.
Martin Panter [Mon, 30 Nov 2015 02:21:41 +0000 (02:21 +0000)]
Issue #25764: Preserve subprocess fork exception when preexec_fn used
Also fix handling of failure to release the import lock.
Serhiy Storchaka [Sun, 29 Nov 2015 11:13:24 +0000 (13:13 +0200)]
Issue #25761: Added more test cases for testing unpickling broken data.
Output raised exception at verbose level 2 (-vv).
Serhiy Storchaka [Sun, 29 Nov 2015 11:12:10 +0000 (13:12 +0200)]
Issue #25761: Added more test cases for testing unpickling broken data.
Output raised exception at verbose level 2 (-vv).
Serhiy Storchaka [Thu, 26 Nov 2015 21:50:54 +0000 (23:50 +0200)]
Issue #10131: Fixed deep copying of minidom documents. Based on patch
by Marian Ganisin.
Serhiy Storchaka [Thu, 26 Nov 2015 21:49:42 +0000 (23:49 +0200)]
Issue #10131: Fixed deep copying of minidom documents. Based on patch
by Marian Ganisin.
Martin Panter [Thu, 26 Nov 2015 11:03:50 +0000 (11:03 +0000)]
Issue #22989, #21228: Merge urlopen() doc from 3.4 into 3.5
Martin Panter [Thu, 26 Nov 2015 11:01:58 +0000 (11:01 +0000)]
Issues #22989, #21228: Document HTTP response object for urlopen()
Previous documentation was not clear if the geturl(), info() and getcode()
were valid for HTTP responses. The “msg” attribute is different to the usual
HTTPResponse.msg attribute. Based on patch by Evens Fortuné.
Martin Panter [Thu, 26 Nov 2015 02:36:26 +0000 (02:36 +0000)]
Issue #25622: Use repr(bytes) to avoid BytesWarning
Martin Panter [Thu, 26 Nov 2015 10:26:33 +0000 (10:26 +0000)]
Issue #25622: Merge ctypes test from 3.4 into 3.5