]>
granicus.if.org Git - python/log
Yury Selivanov [Thu, 17 Dec 2015 02:30:52 +0000 (21:30 -0500)]
docs/asyncio: Twek sections names per Nick Coghlan suggestion
Yury Selivanov [Thu, 17 Dec 2015 01:41:11 +0000 (20:41 -0500)]
asyncio/tests: Fix a ResourceWarning due to unclosed loop
Yury Selivanov [Thu, 17 Dec 2015 01:23:26 +0000 (20:23 -0500)]
asyncio/tests: Fix ResourceWarnings related to unclosed transports
Yury Selivanov [Thu, 17 Dec 2015 00:51:09 +0000 (19:51 -0500)]
asyncio/tests: Fix some ResourceWarnings
Yury Selivanov [Thu, 17 Dec 2015 00:40:03 +0000 (19:40 -0500)]
asyncio/tests: Fix deprecation warning
Yury Selivanov [Thu, 17 Dec 2015 00:35:30 +0000 (19:35 -0500)]
Normalize whitespace
Yury Selivanov [Thu, 17 Dec 2015 00:31:17 +0000 (19:31 -0500)]
asyncio: Skip getaddrinfo if host is already resolved.
getaddrinfo takes an exclusive lock on some platforms, causing clients to queue
up waiting for the lock if many names are being resolved concurrently. Users
may want to handle name resolution in their own code, for the sake of caching,
using an alternate resolver, or to measure DNS duration separately from
connection duration. Skip getaddrinfo if the "host" passed into
create_connection is already resolved.
See https://github.com/python/asyncio/pull/302 for details.
Patch by A. Jesse Jiryu Davis.
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.
R David Murray [Sun, 13 Dec 2015 23:04:27 +0000 (18:04 -0500)]
#25495: Clarify b2a_base64 documentation vis 57 bytes.
Vinay Sajip [Sun, 13 Dec 2015 09:41:29 +0000 (09:41 +0000)]
Fixes #25844: Corrected =/== typo potentially leading to crash in launcher.
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:32:59 +0000 (11:32 -0500)]
asyncio: Sync with github
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 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.
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.
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 [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: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: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:16:55 +0000 (00:16 -0600)]
Issue #25800: Fix running test_capi directly
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 [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 [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().
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.
Steven D'Aprano [Tue, 1 Dec 2015 14:10:09 +0000 (01:10 +1100)]
Merge heads.
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:25 +0000 (00:39 +0200)]
Removed debugging output of exception raised by __reduce__ method.
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:20:02 +0000 (17:20 +0200)]
Issue #25718: Fixed copying object with state with boolean value is false.
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: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: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: Rename to PythonValuesTestCase and enable for non-Windows
Serhiy Storchaka [Wed, 25 Nov 2015 18:12:37 +0000 (20:12 +0200)]
Issue #19687: Fixed possible integer overflows in ElementTree.
Based on patch by Christian Heimes.
Serhiy Storchaka [Wed, 25 Nov 2015 16:33:29 +0000 (18:33 +0200)]
Issue #24097: Fixed crash in object.__reduce__() if slot name is freed inside
__getattr__. Original patch by Antoine Pitrou.
Serhiy Storchaka [Wed, 25 Nov 2015 15:09:01 +0000 (17:09 +0200)]
Issue #25616: Tests for OrderedDict are extracted from test_collections
into separate file test_ordered_dict.
Serhiy Storchaka [Wed, 25 Nov 2015 14:11:29 +0000 (16:11 +0200)]
Issue #25697: Fixed rough alphabetical order in Misc/ACKS.
Serhiy Storchaka [Wed, 25 Nov 2015 13:47:01 +0000 (15:47 +0200)]
Issue #24731: Fixed crash on converting objects with special methods
__bytes__, __trunc__, and __float__ returning instances of subclasses of
bytes, int, and float to subclasses of bytes, int, and float correspondingly.
Serhiy Storchaka [Wed, 25 Nov 2015 13:01:53 +0000 (15:01 +0200)]
Issue #25725: Fixed a reference leak in pickle.loads() when unpickling
invalid data including tuple instructions.
Vinay Sajip [Tue, 24 Nov 2015 23:21:15 +0000 (23:21 +0000)]
Issue #25508: Clarify documentation on LogRecord args attribute.
Martin Panter [Tue, 24 Nov 2015 22:33:18 +0000 (22:33 +0000)]
Issue #25576: Remove application/x-www-form-urlencoded charset advice
No charset parameter is standardized for this Content-Type value. Also
clarify that urlencode() outputs ASCII.
Martin Panter [Mon, 23 Nov 2015 23:50:26 +0000 (23:50 +0000)]
Issue #25663: Make rlcompleter avoid duplicate global names
Serhiy Storchaka [Mon, 23 Nov 2015 14:43:05 +0000 (16:43 +0200)]
Issue #25706: Fixed markup in the documentation.
Serhiy Storchaka [Mon, 23 Nov 2015 13:44:03 +0000 (15:44 +0200)]
Issue #25688: Fixed file leak in ElementTree.iterparse() raising an error.
Serhiy Storchaka [Mon, 23 Nov 2015 13:17:43 +0000 (15:17 +0200)]
Issue #23914: Fixed SystemError raised by unpickler on broken pickle data.
Serhiy Storchaka [Mon, 23 Nov 2015 06:42:25 +0000 (08:42 +0200)]
Issue #25691: Fixed crash on deleting ElementTree.Element attributes.
Serhiy Storchaka [Sun, 22 Nov 2015 12:49:58 +0000 (14:49 +0200)]
Issue #25624: ZipFile now always writes a ZIP_STORED header for directory
entries. Patch by Dingyuan Wang.
Serhiy Storchaka [Sun, 22 Nov 2015 10:18:38 +0000 (12:18 +0200)]
Issue #19687: Fixed memory leak on failed Element slice assignment.
Added new tests for Element slice assignments.
Martin Panter [Sat, 21 Nov 2015 22:03:08 +0000 (22:03 +0000)]
Issue #25689: Fix language in ftplib and nntplib docs
Original patch by Silent Ghost.
Terry Jan Reedy [Sat, 21 Nov 2015 18:31:27 +0000 (13:31 -0500)]
Update idlelib/NEWS.txt.
Terry Jan Reedy [Sat, 21 Nov 2015 18:19:03 +0000 (13:19 -0500)]
Misc/NEWS entries for IDLE.
Serhiy Storchaka [Sat, 21 Nov 2015 12:09:26 +0000 (14:09 +0200)]
Issue #25686: test_shutil no longer uses the distutils package for searching
and running external archivers.
Terry Jan Reedy [Sat, 21 Nov 2015 05:05:03 +0000 (00:05 -0500)]
Issue 15348: Stop debugger engine (normally in user process)
before closing debugger window in IDLE process.
Terry Jan Reedy [Sat, 21 Nov 2015 00:36:43 +0000 (19:36 -0500)]
Issue #24455: Prevent IDLE from hanging when a) closing the shell while the
debugger is active (15347); b) closing the debugger with the [X] button
(15348); and c) activating the debugger when already active (24455).
The patch by Mark Roseman does this by making two changes.
1. To suspend and resume the gui.interaction method, use the tcl vwait
mechanism interded for this purpose instead of root.mainloop & .quit.
2. In gui.run, allow any existing interaction to terminate first.
Yury Selivanov [Fri, 20 Nov 2015 17:57:34 +0000 (12:57 -0500)]
asyncio: Fix with github
See https://github.com/python/asyncio/pull/295 for details
Yury Selivanov [Fri, 20 Nov 2015 17:43:52 +0000 (12:43 -0500)]
asyncio.tests: Fix whitespace
Yury Selivanov [Fri, 20 Nov 2015 17:41:03 +0000 (12:41 -0500)]
asyncio: Drop "value" parameter from Task._step method.
Yury Selivanov [Fri, 20 Nov 2015 17:39:43 +0000 (12:39 -0500)]
asyncio: Sync with github
Terry Jan Reedy [Fri, 20 Nov 2015 17:21:48 +0000 (12:21 -0500)]
Make it slightly clearer that IDLE close message is referring to user program,
not to IDLE itself.
R David Murray [Fri, 20 Nov 2015 14:57:20 +0000 (09:57 -0500)]
#25679: spelling fix
Martin Panter [Thu, 19 Nov 2015 04:48:44 +0000 (04:48 +0000)]
Issue #25583: Avoid incorrect errors raised by os.makedirs(exist_ok=True)
Guido van Rossum [Thu, 19 Nov 2015 21:28:47 +0000 (13:28 -0800)]
Issue #25593: Change semantics of EventLoop.stop().
Yury Selivanov [Wed, 18 Nov 2015 17:44:31 +0000 (12:44 -0500)]
asyncio.docs: Fix versionadded
Yury Selivanov [Wed, 18 Nov 2015 17:39:45 +0000 (12:39 -0500)]
asyncio: Error if awaiting in parallel on the same coroutine
This change won't do anything in CPython 3.4
See https://github.com/python/asyncio/pull/293 for details.
Martin Panter [Wed, 18 Nov 2015 00:59:17 +0000 (00:59 +0000)]
Issue #23200: Document that max_length=0 is not supported
Martin Panter [Tue, 17 Nov 2015 22:13:47 +0000 (22:13 +0000)]
Issue #20468: Remove incorrect information about maxrss and page size
Extract of patch by Ronald Oussoren.
Yury Selivanov [Tue, 17 Nov 2015 17:19:41 +0000 (12:19 -0500)]
asyncio: Cleanup Future API
See https://github.com/python/asyncio/pull/292 for details.
Yury Selivanov [Tue, 17 Nov 2015 17:02:21 +0000 (12:02 -0500)]
asyncio: Sync with github
Martin Panter [Mon, 16 Nov 2015 23:46:22 +0000 (23:46 +0000)]
Issue #25615: Document unsorted behaviour of glob; patch by Dave Jones
Yury Selivanov [Mon, 16 Nov 2015 20:12:10 +0000 (15:12 -0500)]
asyncio: Optimize Task._wakeup
See https://github.com/python/asyncio/pull/289 for details.
Yury Selivanov [Mon, 16 Nov 2015 17:46:41 +0000 (12:46 -0500)]
asyncio.docs: Document Transport.is_closing
Yury Selivanov [Mon, 16 Nov 2015 17:43:21 +0000 (12:43 -0500)]
asyncio: Add Transport.is_closing()
See https://github.com/python/asyncio/pull/291 for details.
Serhiy Storchaka [Mon, 16 Nov 2015 16:45:23 +0000 (18:45 +0200)]
Issue #25498: Fixed contributors name.
Terry Jan Reedy [Mon, 16 Nov 2015 12:36:22 +0000 (07:36 -0500)]
Issue #24750: whitespace
Terry Jan Reedy [Mon, 16 Nov 2015 12:32:26 +0000 (07:32 -0500)]
Issue #24750: Improve appearance of IDLE editor window status bar.
Patch by Mark Roseman.
Martin Panter [Mon, 16 Nov 2015 07:21:38 +0000 (07:21 +0000)]
Issue #20220: Add DST rules to work around glibc quirk
This was triggering intermittent failures in unrelated tests.
Serhiy Storchaka [Mon, 16 Nov 2015 09:12:58 +0000 (11:12 +0200)]
Issue #9051: Added tests for pickling and copying the timezone objects.
Gregory P. Smith [Mon, 16 Nov 2015 02:19:10 +0000 (18:19 -0800)]
Fix issue #6973: When we know a subprocess.Popen process has died, do
not allow the send_signal(), terminate(), or kill() methods to do
anything as they could potentially signal a different process.
Benjamin Peterson [Sat, 14 Nov 2015 23:12:38 +0000 (15:12 -0800)]
rm trailing ws
Benjamin Peterson [Sat, 14 Nov 2015 23:12:18 +0000 (15:12 -0800)]
fix possible memory lea k in _get_aia_uri (closes #25578)
Serhiy Storchaka [Sat, 14 Nov 2015 13:10:35 +0000 (15:10 +0200)]
Issue #25388: Fixed tokenizer crash when processing undecodable source code
with a null byte.
Benjamin Peterson [Sat, 14 Nov 2015 08:09:22 +0000 (00:09 -0800)]
fix build with older openssl (#25569)
Martin Panter [Sat, 14 Nov 2015 01:07:43 +0000 (01:07 +0000)]
Fix a few grammar problems in the documentation and comments
Martin Panter [Sat, 14 Nov 2015 00:58:32 +0000 (00:58 +0000)]
Correct Content-Type syntax in documentation
Martin Panter [Fri, 13 Nov 2015 22:47:00 +0000 (22:47 +0000)]
Issue #25590: Make rlcompleter only call getattr() once per attribute
Previously it was called another time via hasattr(), and both calls were
made once for dir(f) and again for dir(f.__class__). This includes a
backport of changing from a list to a set from revision
4dbb315fe667 .
Martin Panter [Fri, 13 Nov 2015 21:43:39 +0000 (21:43 +0000)]
Issue #25498: Fix GC crash due to ctypes objects wrapping a memoryview
This was a regression caused by revision
1da9630e9b7f . Based on patch by
Eryksun.
Yury Selivanov [Fri, 13 Nov 2015 17:28:48 +0000 (12:28 -0500)]
asyncio: Fix sporadic failing unittests in debug mode
Victor Stinner [Fri, 13 Nov 2015 08:13:48 +0000 (09:13 +0100)]
Issue #25605: Document exceptions raised by fcntl.ioctl() and fcntl.flock()
Terry Jan Reedy [Thu, 12 Nov 2015 20:24:33 +0000 (15:24 -0500)]
Indent