Commit graph

90738 commits

Author SHA1 Message Date
Yury Selivanov
1fa3652e59 Merge 3.5 (issue #24975) 2015-09-02 15:50:04 -04:00
Yury Selivanov
2051b84f44 Merge 3.5 heads (issue #24975) 2015-09-02 15:49:30 -04:00
Victor Stinner
177b8eb34f test_eintr: try to debug hang on FreeBSD 2015-09-02 17:19:04 +02:00
Victor Stinner
e801c36037 test_gdb: fix ResourceWarning if the test is interrupted 2015-09-02 15:46:00 +02:00
Victor Stinner
6dad8f8962 test_gdb: add debug info to investigate failure on "s390x SLES 3.x" buildbot 2015-09-02 15:44:22 +02:00
Victor Stinner
1101c58737 Merge 3.5 (asyncio doc) 2015-09-02 15:41:08 +02:00
Victor Stinner
44a25faf7c Merge 3.4 (asyncio doc) 2015-09-02 15:40:56 +02:00
Victor Stinner
5492d358e4 asyncio doc: fix subprocess sections 2015-09-02 15:39:01 +02:00
Victor Stinner
f08fea9ee8 Issue 24297: Fix test_symbol on Windows
Don't rely on end of line. Open files in text mode, not in binary mode.
2015-09-02 14:23:40 +02:00
Victor Stinner
8aad8d6ad3 Issue #23517: test_time, skip a test checking a corner case on floating point
rounding
2015-09-02 13:54:28 +02:00
Victor Stinner
24b822e21e Issue #23517: Try to fix test_time on "x86 Ubuntu Shared 3.x" buildbot 2015-09-02 11:58:56 +02:00
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
Yury Selivanov
b3d531348c Issue #24975: Fix AST compilation for PEP 448 syntax. 2015-09-01 16:10:49 -04: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