]> granicus.if.org Git - python/log
python
9 years agoMerge 3.5 (test_gdb)
Victor Stinner [Wed, 2 Sep 2015 21:22:31 +0000 (23:22 +0200)]
Merge 3.5 (test_gdb)

9 years agoMerge 3.4 (test_gdb)
Victor Stinner [Wed, 2 Sep 2015 21:21:03 +0000 (23:21 +0200)]
Merge 3.4 (test_gdb)

9 years agotest_gdb: use subprocess.Popen context manager to fix ResourceWarning warnings
Victor Stinner [Wed, 2 Sep 2015 21:19:55 +0000 (23:19 +0200)]
test_gdb: use subprocess.Popen context manager to fix ResourceWarning warnings
when the test is interrupted (or fail).

9 years agotest_gdb: fix regex to parse gdb version for SUSE Linux Entreprise
Victor Stinner [Wed, 2 Sep 2015 21:12:14 +0000 (23:12 +0200)]
test_gdb: fix regex to parse gdb version for SUSE Linux Entreprise

Mention also the detected GDB version on verbose mode and on error (if the
major version is smaller than 7).

9 years agoTurn 'rem' comments into a real usage message in PCbuild/build.bat
Zachary Ware [Wed, 2 Sep 2015 18:21:19 +0000 (13:21 -0500)]
Turn 'rem' comments into a real usage message in PCbuild/build.bat

Also fixes error in 'kill' target (already fixed in 2.7, somehow the fix
didn't make it to this branch).

9 years agoMerge 3.5 heads (issue #24975)
Yury Selivanov [Wed, 2 Sep 2015 19:49:30 +0000 (15:49 -0400)]
Merge 3.5 heads (issue #24975)

9 years agoIssue #23517: datetime.timedelta constructor now rounds microseconds to nearest
Victor Stinner [Wed, 2 Sep 2015 17:16:07 +0000 (19:16 +0200)]
Issue #23517: datetime.timedelta constructor now rounds microseconds to nearest
with ties going away from zero (ROUND_HALF_UP), as Python 2 and Python older
than 3.3, instead of rounding to nearest with ties going to nearest even
integer (ROUND_HALF_EVEN).

9 years agoMerge with 3.5
Zachary Ware [Wed, 2 Sep 2015 20:01:42 +0000 (15:01 -0500)]
Merge with 3.5

9 years agoMerge 3.5 (issue #24975)
Yury Selivanov [Wed, 2 Sep 2015 19:50:04 +0000 (15:50 -0400)]
Merge 3.5 (issue #24975)

9 years agotest_eintr: try to debug hang on FreeBSD
Victor Stinner [Wed, 2 Sep 2015 15:19:04 +0000 (17:19 +0200)]
test_eintr: try to debug hang on FreeBSD

9 years agotest_gdb: fix ResourceWarning if the test is interrupted
Victor Stinner [Wed, 2 Sep 2015 13:46:00 +0000 (15:46 +0200)]
test_gdb: fix ResourceWarning if the test is interrupted

9 years agotest_gdb: add debug info to investigate failure on "s390x SLES 3.x" buildbot
Victor Stinner [Wed, 2 Sep 2015 13:44:22 +0000 (15:44 +0200)]
test_gdb: add debug info to investigate failure on "s390x SLES 3.x" buildbot

9 years agoMerge 3.5 (asyncio doc)
Victor Stinner [Wed, 2 Sep 2015 13:41:08 +0000 (15:41 +0200)]
Merge 3.5 (asyncio doc)

9 years agoMerge 3.4 (asyncio doc)
Victor Stinner [Wed, 2 Sep 2015 13:40:56 +0000 (15:40 +0200)]
Merge 3.4 (asyncio doc)

9 years agoasyncio doc: fix subprocess sections
Victor Stinner [Wed, 2 Sep 2015 13:39:01 +0000 (15:39 +0200)]
asyncio doc: fix subprocess sections

9 years agoIssue 24297: Fix test_symbol on Windows
Victor Stinner [Wed, 2 Sep 2015 12:23:40 +0000 (14:23 +0200)]
Issue 24297: Fix test_symbol on Windows

Don't rely on end of line. Open files in text mode, not in binary mode.

9 years agoIssue #23517: test_time, skip a test checking a corner case on floating point
Victor Stinner [Wed, 2 Sep 2015 11:54:28 +0000 (13:54 +0200)]
Issue #23517: test_time, skip a test checking a corner case on floating point
rounding

9 years agoIssue #23517: Try to fix test_time on "x86 Ubuntu Shared 3.x" buildbot
Victor Stinner [Wed, 2 Sep 2015 09:58:56 +0000 (11:58 +0200)]
Issue #23517: Try to fix test_time on "x86 Ubuntu Shared 3.x" buildbot

9 years agotest_time: add more tests on HALF_UP rounding mode
Victor Stinner [Wed, 2 Sep 2015 09:05:32 +0000 (11:05 +0200)]
test_time: add more tests on HALF_UP rounding mode

9 years agoIssue #23517: Reintroduce unit tests for the old PyTime API since it's still
Victor Stinner [Wed, 2 Sep 2015 08:39:40 +0000 (10:39 +0200)]
Issue #23517: Reintroduce unit tests for the old PyTime API since it's still
used.

9 years agoIssue #23517: Fix _PyTime_ObjectToDenominator()
Victor Stinner [Wed, 2 Sep 2015 08:37:46 +0000 (10:37 +0200)]
Issue #23517: Fix _PyTime_ObjectToDenominator()

* initialize numerator on overflow error ensure that numerator is smaller than
* denominator.

9 years agoBacked out changeset b690bf218702
Victor Stinner [Wed, 2 Sep 2015 08:10:26 +0000 (10:10 +0200)]
Backed out changeset b690bf218702

Issue #23517: the change broke test_datetime. datetime.timedelta() rounding
mode must also be changed, and test_datetime must be updated for the new
rounding mode (half up).

9 years agoIssue #23517: datetime.datetime.fromtimestamp() and
Victor Stinner [Tue, 1 Sep 2015 23:57:23 +0000 (01:57 +0200)]
Issue #23517: datetime.datetime.fromtimestamp() and
datetime.datetime.utcfromtimestamp() now rounds to nearest with ties going away
from zero, instead of rounding towards minus infinity (-inf), as Python 2 and
Python older than 3.3.

9 years agoIssue #23517: Add "half up" rounding mode to the _PyTime API
Victor Stinner [Tue, 1 Sep 2015 23:43:56 +0000 (01:43 +0200)]
Issue #23517: Add "half up" rounding mode to the _PyTime API

9 years agoMove assertion inside _PyTime_ObjectToTimeval()
Victor Stinner [Tue, 1 Sep 2015 22:50:43 +0000 (00:50 +0200)]
Move assertion inside _PyTime_ObjectToTimeval()

Change also _PyTime_FromSeconds() assertion to ensure that the _PyTime_t type
is used.

9 years agoRefactor pytime.c
Victor Stinner [Tue, 1 Sep 2015 22:49:16 +0000 (00:49 +0200)]
Refactor pytime.c

Move code to convert double timestamp to subfunctions.

9 years agoIssue #24975: Fix AST compilation for PEP 448 syntax.
Yury Selivanov [Tue, 1 Sep 2015 20:10:49 +0000 (16:10 -0400)]
Issue #24975: Fix AST compilation for PEP 448 syntax.

9 years agomerge
Raymond Hettinger [Tue, 1 Sep 2015 09:33:20 +0000 (02:33 -0700)]
merge

9 years agoImprove tutorial suggestion for looping techniques
Raymond Hettinger [Tue, 1 Sep 2015 09:33:02 +0000 (02:33 -0700)]
Improve tutorial suggestion for looping techniques

9 years agoMerge 3.5
Yury Selivanov [Mon, 31 Aug 2015 15:45:11 +0000 (11:45 -0400)]
Merge 3.5

9 years agoMake asyncio provisional
Yury Selivanov [Mon, 31 Aug 2015 15:42:31 +0000 (11:42 -0400)]
Make asyncio provisional

9 years agoIssue #24952: Merge 3.5 into 3.6
Martin Panter [Mon, 31 Aug 2015 03:26:46 +0000 (03:26 +0000)]
Issue #24952: Merge 3.5 into 3.6

9 years agoIssue #24952: Merge 3.4 into 3.5
Martin Panter [Mon, 31 Aug 2015 03:25:34 +0000 (03:25 +0000)]
Issue #24952: Merge 3.4 into 3.5

9 years agoIssue #24952: Clarify default argument of stack_size() in threading, _thread
Martin Panter [Mon, 31 Aug 2015 03:15:52 +0000 (03:15 +0000)]
Issue #24952: Clarify default argument of stack_size() in threading, _thread

Patch from Mattip.

9 years agomerge 3.5 (#24963)
Benjamin Peterson [Sun, 30 Aug 2015 21:42:59 +0000 (14:42 -0700)]
merge 3.5 (#24963)

9 years agomerge 3.4 (#24963)
Benjamin Peterson [Sun, 30 Aug 2015 21:42:49 +0000 (14:42 -0700)]
merge 3.4 (#24963)

9 years agofix spelling that was a bit confused (closes #24963)
Benjamin Peterson [Sun, 30 Aug 2015 21:42:38 +0000 (14:42 -0700)]
fix spelling that was a bit confused (closes #24963)

9 years agomerge
Raymond Hettinger [Sun, 30 Aug 2015 16:17:02 +0000 (09:17 -0700)]
merge

9 years agomerge
Raymond Hettinger [Sun, 30 Aug 2015 16:15:36 +0000 (09:15 -0700)]
merge

9 years agoIssue #24931: Resolve __dict__ conflict in namedtuple subclasses.
Raymond Hettinger [Sun, 30 Aug 2015 16:13:48 +0000 (09:13 -0700)]
Issue #24931:  Resolve __dict__ conflict in namedtuple subclasses.

9 years agoIssue #24272: Merge with 3.5
Zachary Ware [Sun, 30 Aug 2015 03:40:37 +0000 (22:40 -0500)]
Issue #24272: Merge with 3.5

9 years agoIssue #24272: Remove usage of default reST role from typing docs
Zachary Ware [Sun, 30 Aug 2015 03:39:47 +0000 (22:39 -0500)]
Issue #24272: Remove usage of default reST role from typing docs

9 years agoCloses #24962: Merge with 3.5
Zachary Ware [Sun, 30 Aug 2015 03:27:12 +0000 (22:27 -0500)]
Closes #24962: Merge with 3.5

9 years agoIssue #24962: Merge 3.4
Zachary Ware [Sun, 30 Aug 2015 03:26:54 +0000 (22:26 -0500)]
Issue #24962: Merge 3.4

9 years agoIssue #24962: Remove space from filename
Zachary Ware [Sun, 30 Aug 2015 03:25:04 +0000 (22:25 -0500)]
Issue #24962: Remove space from filename

9 years agoNull Merge from 3.5 to default
Donald Stufft [Sat, 29 Aug 2015 22:01:01 +0000 (18:01 -0400)]
Null Merge from 3.5 to default

9 years agoNull Merge from 3.5.0 to 3.5.1
Donald Stufft [Sat, 29 Aug 2015 22:00:26 +0000 (18:00 -0400)]
Null Merge from 3.5.0 to 3.5.1

9 years agoUpdate setuptools to 18.2 and pip to 7.1.2
Donald Stufft [Sat, 29 Aug 2015 17:57:46 +0000 (13:57 -0400)]
Update setuptools to 18.2 and pip to 7.1.2

9 years agoCloses #24953: Merge with 3.5
Zachary Ware [Sat, 29 Aug 2015 05:13:14 +0000 (00:13 -0500)]
Closes #24953: Merge with 3.5

9 years agoIssue #24953: Include ICC version in sys.version string when bulit with ICC on Windows
Zachary Ware [Sat, 29 Aug 2015 04:52:31 +0000 (23:52 -0500)]
Issue #24953: Include ICC version in sys.version string when bulit with ICC on Windows

9 years agoFixed typos in TZ format description
Alexander Belopolsky [Fri, 28 Aug 2015 20:56:45 +0000 (16:56 -0400)]
Fixed typos in TZ format description

9 years agoIssue #24881: Fixed setting binary mode in Python implementation of FileIO
Serhiy Storchaka [Fri, 28 Aug 2015 19:20:29 +0000 (22:20 +0300)]
Issue #24881: Fixed setting binary mode in Python implementation of FileIO
on Windows and Cygwin.  Patch from Akira Li.

9 years agoIssue #24881: Fixed setting binary mode in Python implementation of FileIO
Serhiy Storchaka [Fri, 28 Aug 2015 19:17:04 +0000 (22:17 +0300)]
Issue #24881: Fixed setting binary mode in Python implementation of FileIO
on Windows and Cygwin.  Patch from Akira Li.

9 years agoIssue #21112: Fix regression in unittest.expectedFailure on subclasses.
Robert Collins [Thu, 27 Aug 2015 22:36:01 +0000 (10:36 +1200)]
Issue #21112: Fix regression in unittest.expectedFailure on subclasses.

Patch from Berker Peksag.

9 years agoIssue #21112: Fix regression in unittest.expectedFailure on subclasses.
Robert Collins [Thu, 27 Aug 2015 22:35:14 +0000 (10:35 +1200)]
Issue #21112: Fix regression in unittest.expectedFailure on subclasses.

Patch from Berker Peksag.

9 years agoIssue #21112: Fix regression in unittest.expectedFailure on subclasses.
Robert Collins [Thu, 27 Aug 2015 22:34:51 +0000 (10:34 +1200)]
Issue #21112: Fix regression in unittest.expectedFailure on subclasses.

Patch from Berker Peksag.

9 years agoCloses #24947: Merge with 3.5
Zachary Ware [Thu, 27 Aug 2015 20:55:48 +0000 (15:55 -0500)]
Closes #24947: Merge with 3.5

9 years agoIssue #24947: Merge 3.4
Zachary Ware [Thu, 27 Aug 2015 20:55:24 +0000 (15:55 -0500)]
Issue #24947: Merge 3.4

9 years agoIssue #24947: Fix grammar in asyncio doc
Zachary Ware [Thu, 27 Aug 2015 20:54:39 +0000 (15:54 -0500)]
Issue #24947: Fix grammar in asyncio doc

Patch by tagatac

9 years agoMerge with 3.5
Terry Jan Reedy [Thu, 27 Aug 2015 17:02:47 +0000 (13:02 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Thu, 27 Aug 2015 17:02:27 +0000 (13:02 -0400)]
Merge with 3.4

9 years agoIssue #24790: correct typo noticed by Eric Smith
Terry Jan Reedy [Thu, 27 Aug 2015 17:02:11 +0000 (13:02 -0400)]
Issue #24790: correct typo noticed by Eric Smith

9 years agoMerge with 3.5
Terry Jan Reedy [Thu, 27 Aug 2015 03:37:47 +0000 (23:37 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Thu, 27 Aug 2015 03:37:31 +0000 (23:37 -0400)]
Merge with 3.4

9 years agoIssue #24790: Restore unused function.
Terry Jan Reedy [Thu, 27 Aug 2015 03:37:14 +0000 (23:37 -0400)]
Issue #24790: Restore unused function.

9 years agoMerge with 3.5
Terry Jan Reedy [Thu, 27 Aug 2015 03:14:26 +0000 (23:14 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Thu, 27 Aug 2015 03:13:43 +0000 (23:13 -0400)]
Merge with 3.4

9 years agoIssue #24782: In Idle extension config dialog, replace tabs with sorted list.
Terry Jan Reedy [Thu, 27 Aug 2015 03:13:22 +0000 (23:13 -0400)]
Issue #24782: In Idle extension config dialog, replace tabs with sorted list.
Patch by Mark Roseman.

9 years agoFixed an incorrect comment.
Eric V. Smith [Wed, 26 Aug 2015 18:10:32 +0000 (14:10 -0400)]
Fixed an incorrect comment.

9 years agoMerge 3.5
Yury Selivanov [Wed, 26 Aug 2015 17:04:06 +0000 (13:04 -0400)]
Merge 3.5

9 years agodocs: Better comment for tp_as_async slot
Yury Selivanov [Wed, 26 Aug 2015 17:03:57 +0000 (13:03 -0400)]
docs: Better comment for tp_as_async slot

9 years agomerge
Raymond Hettinger [Wed, 26 Aug 2015 15:09:50 +0000 (08:09 -0700)]
merge

9 years agoIssue #24913: Fix overrun error in deque.index().
Raymond Hettinger [Wed, 26 Aug 2015 15:08:38 +0000 (08:08 -0700)]
Issue #24913: Fix overrun error in deque.index().

9 years agoIssue #23552: Timeit now warns when there is substantial (4x) variance
Robert Collins [Wed, 26 Aug 2015 00:40:28 +0000 (12:40 +1200)]
Issue #23552: Timeit now warns when there is substantial (4x) variance
between best and worst times. Patch from Serhiy Storchaka.

9 years agoMerge.
Larry Hastings [Wed, 26 Aug 2015 00:21:54 +0000 (17:21 -0700)]
Merge.

9 years agoMisc/NEWS needs a Python 3.5.0rc3 section in 3.5 and trunk.
Larry Hastings [Wed, 26 Aug 2015 00:21:22 +0000 (17:21 -0700)]
Misc/NEWS needs a Python 3.5.0rc3 section in 3.5 and trunk.

9 years agoMerge from 3.5 (with 3.5.0rc2 changes) into default (3.6). Messy!
Larry Hastings [Tue, 25 Aug 2015 21:21:59 +0000 (14:21 -0700)]
Merge from 3.5 (with 3.5.0rc2 changes) into default (3.6).  Messy!

9 years agoMerge from Python 3.5.0 (rc2) to Python 3.5.1.
Larry Hastings [Tue, 25 Aug 2015 21:13:55 +0000 (14:13 -0700)]
Merge from Python 3.5.0 (rc2) to Python 3.5.1.

9 years agoAdded missing #-marks to Misc/NEWS lines.
Larry Hastings [Tue, 25 Aug 2015 21:08:21 +0000 (14:08 -0700)]
Added missing #-marks to Misc/NEWS lines.

9 years agoAdded missing IDLE updates to Misc/NEWS that shipped with Python 3.5.0rc1.
Larry Hastings [Tue, 25 Aug 2015 20:51:14 +0000 (13:51 -0700)]
Added missing IDLE updates to Misc/NEWS that shipped with Python 3.5.0rc1.

9 years agoMove misplaced Misc/NEWS item from 3.5.0rc1 to 3.5.0rc2.
Larry Hastings [Tue, 25 Aug 2015 20:41:35 +0000 (13:41 -0700)]
Move misplaced Misc/NEWS item from 3.5.0rc1 to 3.5.0rc2.

9 years agoAdd missing Misc/NEWS item for merged pull request for issue #24867.
Larry Hastings [Tue, 25 Aug 2015 20:37:23 +0000 (13:37 -0700)]
Add missing Misc/NEWS item for merged pull request for issue #24867.

9 years agoPost-release updates for Python 3.5.0rc2.
Larry Hastings [Tue, 25 Aug 2015 20:30:58 +0000 (13:30 -0700)]
Post-release updates for Python 3.5.0rc2.

9 years agoIssue #24808: Merge 3.5 into 3.6
Martin Panter [Tue, 25 Aug 2015 05:41:51 +0000 (05:41 +0000)]
Issue #24808: Merge 3.5 into 3.6

9 years agoIssue #24808: Merge 3.4 into 3.5; adjust new tp_as_async field
Martin Panter [Tue, 25 Aug 2015 05:25:21 +0000 (05:25 +0000)]
Issue #24808: Merge 3.4 into 3.5; adjust new tp_as_async field

9 years agoIssue #24808: Update the documentation of some PyTypeObject fields
Martin Panter [Tue, 25 Aug 2015 05:06:39 +0000 (05:06 +0000)]
Issue #24808: Update the documentation of some PyTypeObject fields

Patch by Joseph Weston.

9 years agoIssue #10708: Add a link to devguide in Misc/Porting.
Berker Peksag [Tue, 25 Aug 2015 04:18:42 +0000 (07:18 +0300)]
Issue #10708: Add a link to devguide in Misc/Porting.

9 years agoIssue #10708: Add a link to devguide in Misc/Porting.
Berker Peksag [Tue, 25 Aug 2015 04:18:21 +0000 (07:18 +0300)]
Issue #10708: Add a link to devguide in Misc/Porting.

9 years agoAdded tag v3.5.0rc2 for changeset cc15d736d860
Larry Hastings [Tue, 25 Aug 2015 03:32:19 +0000 (20:32 -0700)]
Added tag v3.5.0rc2 for changeset cc15d736d860

9 years agoVersion bump for Python 3.5.0rc2. v3.5.0rc2
Larry Hastings [Tue, 25 Aug 2015 03:31:53 +0000 (20:31 -0700)]
Version bump for Python 3.5.0rc2.

9 years agoRegenerated pydoc topics for Python 3.5.0rc2.
Larry Hastings [Tue, 25 Aug 2015 03:30:34 +0000 (20:30 -0700)]
Regenerated pydoc topics for Python 3.5.0rc2.

9 years agoRebuilt Clinic generated code.
Larry Hastings [Tue, 25 Aug 2015 03:23:27 +0000 (20:23 -0700)]
Rebuilt Clinic generated code.

9 years agoIssue #24769: Interpreter now starts properly when dynamic loading
Larry Hastings [Tue, 25 Aug 2015 02:53:56 +0000 (19:53 -0700)]
Issue #24769: Interpreter now starts properly when dynamic loading
is disabled.  Patch by Petr Viktorin.

9 years agoMerged in 1st1/cpython350 (pull request #5)
Larry Hastings [Mon, 24 Aug 2015 23:53:45 +0000 (16:53 -0700)]
Merged in 1st1/cpython350 (pull request #5)

Issue #24867: Fix asyncio.Task.get_stack() for 'async def' coroutines

9 years agoMerged in stevedower/cpython350 (pull request #6)
Larry Hastings [Mon, 24 Aug 2015 23:47:56 +0000 (16:47 -0700)]
Merged in stevedower/cpython350 (pull request #6)

Issue #24847: Removes vcruntime140.dll dependency from Tcl/Tk.

9 years agoMerged in bitdancer/cpython350 (pull request #4)
Larry Hastings [Mon, 24 Aug 2015 23:44:44 +0000 (16:44 -0700)]
Merged in bitdancer/cpython350 (pull request #4)

#21167: Fix definition of NAN when ICC used without -fp-model strict.

9 years agomerge updated pip and setuptools
Donald Stufft [Mon, 24 Aug 2015 20:15:36 +0000 (16:15 -0400)]
merge updated pip and setuptools

9 years agoMerge updated to pip and setuptools
Donald Stufft [Mon, 24 Aug 2015 20:14:20 +0000 (16:14 -0400)]
Merge updated to pip and setuptools

9 years agoUpdate pip to 7.1.2 and setuptools to 18.2
Donald Stufft [Mon, 24 Aug 2015 20:13:48 +0000 (16:13 -0400)]
Update pip to 7.1.2 and setuptools to 18.2

9 years agoNull merge from 3.5.
Larry Hastings [Mon, 24 Aug 2015 20:00:14 +0000 (13:00 -0700)]
Null merge from 3.5.