]>
granicus.if.org Git - python/log
Andrew Kuchling [Sat, 15 Feb 2014 21:40:08 +0000 (16:40 -0500)]
Merge from 3.3
Andrew Kuchling [Sat, 15 Feb 2014 21:39:37 +0000 (16:39 -0500)]
Clarify versionchanged sentence. Closes #20497.
Benjamin Peterson [Sat, 15 Feb 2014 20:39:01 +0000 (15:39 -0500)]
merge 3.3
Andrew Kuchling [Sat, 15 Feb 2014 20:33:44 +0000 (15:33 -0500)]
#20237: make a revision pass over the XML vulnerabilities section
Benjamin Peterson [Sat, 15 Feb 2014 18:20:28 +0000 (13:20 -0500)]
merge 3.3 (#20080)
Benjamin Peterson [Sat, 15 Feb 2014 18:19:59 +0000 (13:19 -0500)]
add missing test assertion (closes #20080)
Patch by Vajrasky Kok.
Benjamin Peterson [Sat, 15 Feb 2014 18:03:20 +0000 (13:03 -0500)]
merge 3.3 (#20507)
Benjamin Peterson [Sat, 15 Feb 2014 18:02:52 +0000 (13:02 -0500)]
give non-iterable TypeError a message (closes #20507)
Ezio Melotti [Sat, 15 Feb 2014 14:59:39 +0000 (16:59 +0200)]
#19890: merge with 3.3.
Ezio Melotti [Sat, 15 Feb 2014 14:58:52 +0000 (16:58 +0200)]
#19890: fix typo in multiprocessing docs. Patch by Mike Short.
Ezio Melotti [Sat, 15 Feb 2014 11:01:41 +0000 (13:01 +0200)]
#20634: merge with 3.3.
Ezio Melotti [Sat, 15 Feb 2014 11:01:08 +0000 (13:01 +0200)]
#20634: fix typo in IDLE README noticed by Saimadhav Heblikar.
Nick Coghlan [Fri, 14 Feb 2014 23:14:54 +0000 (09:14 +1000)]
Issue #19744: Handle missing SSL/TLS in ensurepip
- now also allows POSIX installation with SSL/TLS missing
- a goal for pip 1.6 is to allow local use without SSL/TLS
Ned Deily [Fri, 14 Feb 2014 06:53:42 +0000 (22:53 -0800)]
Issue #20605: Make test_socket getaddrinfo OS X segfault test more robust.
Ned Deily [Fri, 14 Feb 2014 06:50:42 +0000 (22:50 -0800)]
Issue #20605: Make test_socket getaddrinfo OS X segfault test more robust.
Benjamin Peterson [Fri, 14 Feb 2014 00:22:14 +0000 (19:22 -0500)]
set line and column numbers for keyword-only arg nodes (closes #20619)
Victor Stinner [Thu, 13 Feb 2014 11:48:54 +0000 (12:48 +0100)]
Issue #20526, #19466: Revert changes of issue #19466 which introduces a
regression: don't clear anymore the state of Python threads early during the
Python shutdown.
Victor Stinner [Thu, 13 Feb 2014 09:54:32 +0000 (10:54 +0100)]
Issue #20599: Don't clear environment in test_cleanup() of test_builtin
Victor Stinner [Thu, 13 Feb 2014 09:46:05 +0000 (10:46 +0100)]
Fix test_asyncio/test_events.py: skip IPv6 if IPv6 is disabled on the host
Serhiy Storchaka [Thu, 13 Feb 2014 08:49:30 +0000 (10:49 +0200)]
Merge heads
Serhiy Storchaka [Thu, 13 Feb 2014 08:45:48 +0000 (10:45 +0200)]
Fixed typo in previous commit (issue #6815).
Serhiy Storchaka [Thu, 13 Feb 2014 08:45:14 +0000 (10:45 +0200)]
Fixed typo in previous commit (issue #6815).
Victor Stinner [Thu, 13 Feb 2014 08:24:37 +0000 (09:24 +0100)]
ayncio, Tulip issue 129: BaseEventLoop.sock_connect() now raises an error if
the address is not resolved (hostname instead of an IP address) for AF_INET and
AF_INET6 address families.
Serhiy Storchaka [Thu, 13 Feb 2014 08:14:48 +0000 (10:14 +0200)]
Issue #6815: os.path.expandvars() now supports non-ASCII environment
variables names and values.
Serhiy Storchaka [Thu, 13 Feb 2014 08:13:53 +0000 (10:13 +0200)]
Issue #6815: os.path.expandvars() now supports non-ASCII environment
variables names and values.
Guido van Rossum [Thu, 13 Feb 2014 01:58:19 +0000 (17:58 -0800)]
asyncio: Change as_completed() to use a Queue, to avoid O(N**2) behavior. Fixes issue #20566.
Yury Selivanov [Wed, 12 Feb 2014 22:01:52 +0000 (17:01 -0500)]
asyncio.events: Use __slots__ in Handle and TimerHandle
R David Murray [Wed, 12 Feb 2014 18:41:01 +0000 (13:41 -0500)]
whatsnew: 'other improvements' and 'optimizations' belong under CPython heading.
R David Murray [Wed, 12 Feb 2014 18:39:11 +0000 (13:39 -0500)]
whatsnew: PyUnicode_FromFormat width/precision, thread cleanup after fork.
R David Murray [Wed, 12 Feb 2014 18:00:36 +0000 (13:00 -0500)]
whatsnew: LOAD_CLASSDEREF, -X showrefcount
Victor Stinner [Wed, 12 Feb 2014 17:27:55 +0000 (18:27 +0100)]
Issue #20599: Force ASCII encoding for stdout in test_cleanup() of test_builtin
On Windows, the codec of sys.stdout is implemented in Python. At exit, the
codec may be unloaded before the destructor tries to write something to
sys.stdout.
Serhiy Storchaka [Wed, 12 Feb 2014 10:40:22 +0000 (12:40 +0200)]
Try to fix test_cleanup (issue #20599).
Serhiy Storchaka [Wed, 12 Feb 2014 08:55:07 +0000 (10:55 +0200)]
Issue #17671: Fixed a crash when use non-initialized io.BufferedRWPair.
Based on patch by Stephen Tu.
Serhiy Storchaka [Wed, 12 Feb 2014 08:52:35 +0000 (10:52 +0200)]
Issue #17671: Fixed a crash when use non-initialized io.BufferedRWPair.
Based on patch by Stephen Tu.
Serhiy Storchaka [Wed, 12 Feb 2014 07:55:45 +0000 (09:55 +0200)]
Issue #19255: Clear error after failed PyDict_SetItem() on shutdown.
This silences a Coverity complain.
Serhiy Storchaka [Wed, 12 Feb 2014 07:55:01 +0000 (09:55 +0200)]
Issue #19255: Clear error after failed PyDict_SetItem() on shutdown.
This silences a Coverity complain.
R David Murray [Wed, 12 Feb 2014 05:02:34 +0000 (00:02 -0500)]
whatsnew: os.path.samestat on windows, keyword defaults evaluation order.
R David Murray [Wed, 12 Feb 2014 04:34:14 +0000 (23:34 -0500)]
whatsnew: command.com support gone, int *base* can be __index__ but not float.
Ned Deily [Wed, 12 Feb 2014 01:59:47 +0000 (17:59 -0800)]
Add references for Xcode and the Python Developer's Guideto the internal Mac/README file.
Ned Deily [Wed, 12 Feb 2014 01:57:37 +0000 (17:57 -0800)]
Add references for Xcode and the Python Developer's Guide
to the internal Mac/README file.
R David Murray [Tue, 11 Feb 2014 23:34:22 +0000 (18:34 -0500)]
whatsnew: object.__format__ raises TypeError on non-empty string.
See issues #7994 and #9856. I also modified with wording of the format doc
entry to better match what really happens, and added a versionchanged to the
datamodel object.__format__ section.
Victor Stinner [Tue, 11 Feb 2014 17:40:56 +0000 (18:40 +0100)]
Issue #20495: Skip test_read_pty_output() of test_asyncio on FreeBSD older than
FreeBSD 8
R David Murray [Tue, 11 Feb 2014 17:40:18 +0000 (12:40 -0500)]
whatsnew: undocumented Popen.wait endtime is deprecated.
Gregory P. Smith [Tue, 11 Feb 2014 17:21:03 +0000 (09:21 -0800)]
Deprecate Popen.wait()'s undocumented endtime parameter. issue20572.
Victor Stinner [Tue, 11 Feb 2014 16:53:47 +0000 (17:53 +0100)]
Issue #20505: Remove debug code
Benjamin Peterson [Tue, 11 Feb 2014 15:19:12 +0000 (10:19 -0500)]
merge 3.3 (#20594)
Benjamin Peterson [Tue, 11 Feb 2014 15:16:16 +0000 (10:16 -0500)]
avoid name clash with posix_close (closes #20594)
Benjamin Peterson [Tue, 11 Feb 2014 15:09:27 +0000 (10:09 -0500)]
remove dynamic initializer lists for c89 compliance (closes #20595)
R David Murray [Tue, 11 Feb 2014 13:13:10 +0000 (08:13 -0500)]
whatsnew: __complex__ may not return float, .so may have multiple python modules
Also a NEWS wording fixup.
Victor Stinner [Tue, 11 Feb 2014 10:54:08 +0000 (11:54 +0100)]
asyncio, Tulip issue 131: as_completed() and wait() now raises a TypeError if
the list of futures is not a list but a Future, Task or coroutine object
Victor Stinner [Tue, 11 Feb 2014 10:44:56 +0000 (11:44 +0100)]
asyncio, Tulip issue 130: Add more checks on subprocess_exec/subprocess_shell
parameters
Victor Stinner [Tue, 11 Feb 2014 10:34:30 +0000 (11:34 +0100)]
asyncio, Tulip issue 126: call_soon(), call_soon_threadsafe(), call_later(),
call_at() and run_in_executor() now raise a TypeError if the callback is a
coroutine function.
Victor Stinner [Tue, 11 Feb 2014 09:26:53 +0000 (10:26 +0100)]
Issue #20505: use also the monotonic time to decide if asyncio debug traces
should be printed
Victor Stinner [Tue, 11 Feb 2014 09:10:41 +0000 (10:10 +0100)]
Issue #20505: Oops, only print debug info if selector.select(timeout) took less
than timeout
Victor Stinner [Tue, 11 Feb 2014 09:08:08 +0000 (10:08 +0100)]
Issue #20505: Improve debug info in asyncio event loop
Serhiy Storchaka [Tue, 11 Feb 2014 08:38:44 +0000 (10:38 +0200)]
Merge heads
Serhiy Storchaka [Tue, 11 Feb 2014 08:32:41 +0000 (10:32 +0200)]
Issue #19856: shutil.move() failed to move a directory to other directory
on Windows if source name ends with os.altsep.
Serhiy Storchaka [Tue, 11 Feb 2014 08:30:59 +0000 (10:30 +0200)]
Issue #19856: shutil.move() failed to move a directory to other directory
on Windows if source name ends with os.altsep.
Larry Hastings [Tue, 11 Feb 2014 08:15:46 +0000 (00:15 -0800)]
Merge Python 3.4.0rc1 release branch.
Larry Hastings [Tue, 11 Feb 2014 08:14:16 +0000 (00:14 -0800)]
Python 3.4.0rc1: Post-release updates.
Victor Stinner [Tue, 11 Feb 2014 08:03:47 +0000 (09:03 +0100)]
Issue #20505: Fix TestLoop, set the clock resolution
Benjamin Peterson [Tue, 11 Feb 2014 03:41:40 +0000 (22:41 -0500)]
merge 3.3 (#20588)
Benjamin Peterson [Tue, 11 Feb 2014 03:19:02 +0000 (22:19 -0500)]
don't put runtime values in array initializer for C89 compliance (closes #20588)
R David Murray [Tue, 11 Feb 2014 02:30:42 +0000 (21:30 -0500)]
whatsnew: slice.index no longer accepts negative values (or overflows).
R David Murray [Tue, 11 Feb 2014 00:16:40 +0000 (19:16 -0500)]
Fix PYTHONPATH wording. It's just PATH, not "normal posix convention".
R David Murray [Tue, 11 Feb 2014 00:12:52 +0000 (19:12 -0500)]
whatsnew: bytes/bytearray.join args, PYTHONPATH= is same as not set.
Larry Hastings [Mon, 10 Feb 2014 22:45:14 +0000 (14:45 -0800)]
Added tag v3.4.0rc1 for changeset
5e088cea8660
Larry Hastings [Mon, 10 Feb 2014 22:45:05 +0000 (14:45 -0800)]
Python 3.4.0rc1: Version bump.
Victor Stinner [Mon, 10 Feb 2014 22:42:32 +0000 (23:42 +0100)]
Issue #20505: BaseEventLoop uses again the resolution of the clock to decide if
scheduled tasks should be executed or not.
Larry Hastings [Mon, 10 Feb 2014 22:40:04 +0000 (14:40 -0800)]
Add PyType_GetSlot to python3 def file. Patch courtesy Martin v. Löwis.
Terry Jan Reedy [Mon, 10 Feb 2014 21:46:28 +0000 (16:46 -0500)]
Issue #20167: Add missing else: break in 3 places as noticed by Serhiy.
Georg Brandl [Mon, 10 Feb 2014 21:11:21 +0000 (22:11 +0100)]
merge with 3.3
Georg Brandl [Mon, 10 Feb 2014 21:05:16 +0000 (22:05 +0100)]
Fix trailing whitespace.
Georg Brandl [Mon, 10 Feb 2014 21:04:20 +0000 (22:04 +0100)]
merge with 3.3.4 releasing repo
Georg Brandl [Mon, 10 Feb 2014 20:56:33 +0000 (21:56 +0100)]
Post-release updates.
Victor Stinner [Mon, 10 Feb 2014 18:17:46 +0000 (19:17 +0100)]
Issue #20505: Use even shorter sleep in test_timeout_rounding() to make the
test more reliable (= fail more often on Windows with HPET enabled).
Serhiy Storchaka [Mon, 10 Feb 2014 17:21:25 +0000 (19:21 +0200)]
issue12085: Use more Pythonic way to check _child_created.
_active shouldn't be cached, it set to None on shutdown.
Serhiy Storchaka [Mon, 10 Feb 2014 17:20:22 +0000 (19:20 +0200)]
issue12085: Use more Pythonic way to check _child_created.
_active shouldn't be cached, it set to None on shutdown.
Serhiy Storchaka [Mon, 10 Feb 2014 17:09:19 +0000 (19:09 +0200)]
Temporary silence test broken by issue19255.
Remove unused variables.
Serhiy Storchaka [Mon, 10 Feb 2014 16:21:34 +0000 (18:21 +0200)]
Issue #19255: The builtins module is restored to initial value before
cleaning other modules. The sys and builtins modules are cleaned last.
Larry Hastings [Mon, 10 Feb 2014 12:26:10 +0000 (04:26 -0800)]
Python 3.4.0rc1 release: Updated pydoc topics, fixed suspicious markup errors.
Larry Hastings [Mon, 10 Feb 2014 11:43:57 +0000 (03:43 -0800)]
Issue #20517: Removed unnecessary new (short-lived) functions from PyErr.
Victor Stinner [Mon, 10 Feb 2014 10:47:50 +0000 (11:47 +0100)]
Issue #20505: Add debug info to analyze sporaric failures of
test_timeout_rounding() on Windows XP buildbots.
Larry Hastings [Mon, 10 Feb 2014 06:22:38 +0000 (22:22 -0800)]
Issue #20530: The signatures for slot builtins have been updated
to reflect the fact that they only accept positional-only arguments.
Larry Hastings [Mon, 10 Feb 2014 06:05:19 +0000 (22:05 -0800)]
Issue #20517: Functions in the os module that accept two filenames
now register both filenames in the exception on failure.
This required adding new C API functions allowing OSError exceptions
to reference two filenames instead of one.
Victor Stinner [Sun, 9 Feb 2014 23:45:44 +0000 (00:45 +0100)]
asyncio: Tulip issue 112: Inline make_handle() into Handle constructor
Eli Bendersky [Sun, 9 Feb 2014 14:55:58 +0000 (06:55 -0800)]
More complete documentation of event loops and policies.
Documented the AbstractEventLoopPolicy interface explicitly and explained the
relation between the global loop & policy access functions. Added an initial
section that explains the connections in general terms. Documented missing XXX
methods.
Eli Bendersky [Sun, 9 Feb 2014 14:07:47 +0000 (06:07 -0800)]
Various formatting & grammar fixes in asyncio* docs.
Eli Bendersky [Sun, 9 Feb 2014 13:54:13 +0000 (05:54 -0800)]
Fix typo in library/ipc.rst
Victor Stinner [Sun, 9 Feb 2014 12:11:53 +0000 (13:11 +0100)]
Issue #20571: skip test_readline() of test_codecs for Windows code page 65001.
The decoder does not support partial decoding yet for this code page.
Serhiy Storchaka [Sun, 9 Feb 2014 11:46:20 +0000 (13:46 +0200)]
Issue #20437: Fixed 22 potential bugs when deleting objects references.
Serhiy Storchaka [Sun, 9 Feb 2014 11:33:53 +0000 (13:33 +0200)]
Issue #20437: Fixed 21 potential bugs when deleting objects references.
Georg Brandl [Sun, 9 Feb 2014 07:59:00 +0000 (08:59 +0100)]
Added tag v3.3.4 for changeset
7ff62415e426
Georg Brandl [Sun, 9 Feb 2014 07:57:59 +0000 (08:57 +0100)]
news entry
Larry Hastings [Sun, 9 Feb 2014 06:15:29 +0000 (22:15 -0800)]
Issue #20530: Argument Clinic's signature format has been revised again.
The new syntax is highly human readable while still preventing false
positives. The syntax also extends Python syntax to denote "self" and
positional-only parameters, allowing inspect.Signature objects to be
totally accurate for all supported builtins in Python 3.4.
Guido van Rossum [Sun, 9 Feb 2014 03:44:02 +0000 (19:44 -0800)]
asyncio: Remove more relics of resolution/granularity.
Nick Coghlan [Sun, 9 Feb 2014 02:05:13 +0000 (12:05 +1000)]
Issue #20500: clarify that invocation may be indirect
Nick Coghlan [Sun, 9 Feb 2014 02:00:01 +0000 (12:00 +1000)]
Issue #20500: Note other public APIs with the new assertion
Victor Stinner [Sun, 9 Feb 2014 01:51:40 +0000 (02:51 +0100)]
asyncio: Remove Process.subprocess attribute; it's too easy to get inconsistent
Process and Popen objects
Guido van Rossum [Sun, 9 Feb 2014 01:35:09 +0000 (17:35 -0800)]
asyncio: Test fix.