Victor Stinner
ead144c19b
test_time: add more tests on HALF_UP rounding mode
2015-09-02 11:05:32 +02:00
Victor Stinner
acea9f6208
Issue #23517 : Reintroduce unit tests for the old PyTime API since it's still
...
used.
2015-09-02 10:39:40 +02:00
Victor Stinner
67edcc905d
Issue #23517 : Fix _PyTime_ObjectToDenominator()
...
* initialize numerator on overflow error ensure that numerator is smaller than
* denominator.
2015-09-02 10:37:46 +02:00
Victor Stinner
a53ec7a91a
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).
2015-09-02 10:10:26 +02:00
Victor Stinner
265e1259e4
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.
2015-09-02 01:57:23 +02:00
Victor Stinner
744742320f
Issue #23517 : Add "half up" rounding mode to the _PyTime API
2015-09-02 01:43:56 +02:00
Victor Stinner
bbdda21a7a
Move assertion inside _PyTime_ObjectToTimeval()
...
Change also _PyTime_FromSeconds() assertion to ensure that the _PyTime_t type
is used.
2015-09-02 00:50:43 +02:00
Victor Stinner
53e137c8dd
Refactor pytime.c
...
Move code to convert double timestamp to subfunctions.
2015-09-02 00:49:16 +02:00
Raymond Hettinger
799b05b052
merge
2015-09-01 02:33:20 -07:00
Raymond Hettinger
502bf511b3
Improve tutorial suggestion for looping techniques
2015-09-01 02:33:02 -07:00
Yury Selivanov
c994cd21de
Merge 3.5
2015-08-31 11:45:11 -04:00
Yury Selivanov
c52e41d6b9
Make asyncio provisional
2015-08-31 11:42:31 -04:00
Martin Panter
81174d749a
Issue #24952 : Merge 3.5 into 3.6
2015-08-31 03:26:46 +00:00
Martin Panter
e721b7cb8b
Issue #24952 : Merge 3.4 into 3.5
2015-08-31 03:25:34 +00:00
Martin Panter
31e7f50d4c
Issue #24952 : Clarify default argument of stack_size() in threading, _thread
...
Patch from Mattip.
2015-08-31 03:15:52 +00:00
Benjamin Peterson
902adbb393
merge 3.5 ( #24963 )
2015-08-30 14:42:59 -07:00
Benjamin Peterson
1498461a7a
merge 3.4 ( #24963 )
2015-08-30 14:42:49 -07:00
Benjamin Peterson
0612ffe8c8
fix spelling that was a bit confused ( closes #24963 )
2015-08-30 14:42:38 -07:00
Raymond Hettinger
7f9f27d767
merge
2015-08-30 09:17:02 -07:00
Raymond Hettinger
9157545c11
merge
2015-08-30 09:15:36 -07:00
Raymond Hettinger
7a3602e7cf
Issue #24931 : Resolve __dict__ conflict in namedtuple subclasses.
2015-08-30 09:13:48 -07:00
Zachary Ware
46c9c0d61c
Issue #24272 : Merge with 3.5
2015-08-29 22:40:37 -05:00
Zachary Ware
ce50802679
Issue #24272 : Remove usage of default reST role from typing docs
2015-08-29 22:39:47 -05:00
Zachary Ware
e2f2554d5e
Closes #24962 : Merge with 3.5
2015-08-29 22:27:12 -05:00
Zachary Ware
072d432f3c
Issue #24962 : Merge 3.4
2015-08-29 22:26:54 -05:00
Zachary Ware
1a83746418
Issue #24962 : Remove space from filename
2015-08-29 22:25:04 -05:00
Donald Stufft
ad406c1b65
Null Merge from 3.5 to default
2015-08-29 18:01:01 -04:00
Donald Stufft
3ed9bf85a6
Null Merge from 3.5.0 to 3.5.1
2015-08-29 18:00:26 -04:00
Donald Stufft
c332e0946a
Update setuptools to 18.2 and pip to 7.1.2
2015-08-29 13:57:46 -04:00
Zachary Ware
95c0646547
Closes #24953 : Merge with 3.5
2015-08-29 00:13:14 -05:00
Zachary Ware
7503ca7b16
Issue #24953 : Include ICC version in sys.version string when bulit with ICC on Windows
2015-08-28 23:52:31 -05:00
Alexander Belopolsky
357cb986b2
Fixed typos in TZ format description
2015-08-28 16:56:45 -04:00
Serhiy Storchaka
ccb31673a6
Issue #24881 : Fixed setting binary mode in Python implementation of FileIO
...
on Windows and Cygwin. Patch from Akira Li.
2015-08-28 22:20:29 +03:00
Serhiy Storchaka
f0f55a00b7
Issue #24881 : Fixed setting binary mode in Python implementation of FileIO
...
on Windows and Cygwin. Patch from Akira Li.
2015-08-28 22:17:04 +03:00
Robert Collins
fd10a767a2
Issue #21112 : Fix regression in unittest.expectedFailure on subclasses.
...
Patch from Berker Peksag.
2015-08-28 10:36:01 +12:00
Robert Collins
079fc7faff
Issue #21112 : Fix regression in unittest.expectedFailure on subclasses.
...
Patch from Berker Peksag.
2015-08-28 10:35:14 +12:00
Robert Collins
ed599b7c84
Issue #21112 : Fix regression in unittest.expectedFailure on subclasses.
...
Patch from Berker Peksag.
2015-08-28 10:34:51 +12:00
Zachary Ware
a51ffd3099
Closes #24947 : Merge with 3.5
2015-08-27 15:55:48 -05:00
Zachary Ware
dcc47c6064
Issue #24947 : Merge 3.4
2015-08-27 15:55:24 -05:00
Zachary Ware
5e580da0b6
Issue #24947 : Fix grammar in asyncio doc
...
Patch by tagatac
2015-08-27 15:54:39 -05:00
Terry Jan Reedy
54f0e19766
Merge with 3.5
2015-08-27 13:02:47 -04:00
Terry Jan Reedy
73c2194d07
Merge with 3.4
2015-08-27 13:02:27 -04:00
Terry Jan Reedy
8e9296702a
Issue #24790 : correct typo noticed by Eric Smith
2015-08-27 13:02:11 -04:00
Terry Jan Reedy
ae6a75617f
Merge with 3.5
2015-08-26 23:37:47 -04:00
Terry Jan Reedy
eb3849c394
Merge with 3.4
2015-08-26 23:37:31 -04:00
Terry Jan Reedy
2050a1061f
Issue #24790 : Restore unused function.
2015-08-26 23:37:14 -04:00
Terry Jan Reedy
f6f5dbfb1f
Merge with 3.5
2015-08-26 23:14:26 -04:00
Terry Jan Reedy
2ceb55fbea
Merge with 3.4
2015-08-26 23:13:43 -04:00
Terry Jan Reedy
41a27e021e
Issue #24782 : In Idle extension config dialog, replace tabs with sorted list.
...
Patch by Mark Roseman.
2015-08-26 23:13:22 -04:00
Eric V. Smith
ab2aa6dc91
Fixed an incorrect comment.
2015-08-26 14:10:32 -04:00