Commit graph

91021 commits

Author SHA1 Message Date
Yury Selivanov
4b55a9300a Merge 3.5 2015-09-10 23:37:16 -04:00
Yury Selivanov
508a81e094 whatsnew/3.5: Second pass over NEWS entries 2015-09-10 23:37:06 -04:00
Martin Panter
b7ccb5d6c3 Issue #25022: Merge susp-ignored.csv from 3.5 2015-09-11 02:47:13 +00:00
Martin Panter
02918caeb8 Issue #25022: Merge susp-ignored.csv from 3.4 into 3.5 2015-09-11 02:46:54 +00:00
Martin Panter
91c03e090a Issue #25022: Avoid warning about unused suspicious rule 2015-09-11 02:45:10 +00:00
Martin Panter
52233a01ed Issue #24984: Merge BTPROTO_SCO doc fix from 3.5 2015-09-11 02:30:08 +00:00
Martin Panter
daabed5d49 Issue #24984: Merge BTPROTO_SCO doc fix from 3.4 into 3.5 2015-09-11 02:29:35 +00:00
Martin Panter
d8302624c9 Issue #24984: BTPROTO_SCO supports only bytes objects 2015-09-11 02:23:41 +00:00
Yury Selivanov
9026924604 Merge 3.5 2015-09-10 21:45:08 -04:00
Yury Selivanov
79cf1b04a3 whatsnew/3.5: Reformat code examples 2015-09-10 21:44:59 -04:00
Yury Selivanov
c545f1ce8f Merge 3.5 2015-09-10 21:27:04 -04:00
Yury Selivanov
a88cd646d1 whatsnew/3.5: Another editing pass
Patch by Elvis Pranskevichus.
2015-09-10 21:26:54 -04:00
Yury Selivanov
977afe5ac1 Merge 3.5 2015-09-10 19:02:34 -04:00
Yury Selivanov
3b76552538 whatsnew/3.5: Fix refs in the importlib section 2015-09-10 19:02:24 -04:00
Yury Selivanov
8aa184692e Merge 3.5 2015-09-10 18:59:52 -04:00
Yury Selivanov
1c73e69ec5 whatsnew/3.5: Clarify types.coroutine & types.CoroutineType 2015-09-10 18:59:42 -04:00
Yury Selivanov
a8379ea639 Merge 3.5 2015-09-10 18:32:00 -04:00
Yury Selivanov
83c6d729d4 whatsnew/3.5: Don't mention pyio.FileIO 2015-09-10 18:31:49 -04:00
Yury Selivanov
cbfee5a171 Merge 3.5 (issue #22980, whatsnew/3.5) 2015-09-10 18:27:17 -04:00
Yury Selivanov
c973990f4e whatsnew/3.5: Describe changes in issue #22980
Initial patch by Larry Hastings.
2015-09-10 18:26:44 -04:00
Yury Selivanov
6bb33d6ac3 Merge 3.5 2015-09-10 18:04:45 -04:00
Yury Selivanov
5c3111e319 whatsnew/3.5: More edits -- use articles consistently; fix refs 2015-09-10 18:04:35 -04:00
Yury Selivanov
f0ac36c7f8 Merge 3.5 2015-09-10 17:35:51 -04:00
Yury Selivanov
ce917c731d whatsnew/3.5: Editorialization pass on library section
Patch by Elvis Pranskevichus
2015-09-10 17:35:38 -04:00
Zachary Ware
5480dea548 Closes #25022 (again): Merge with 3.5 2015-09-10 16:12:48 -05:00
Zachary Ware
31ce9ac867 Issue #25022: Merge with 3.4 2015-09-10 16:08:21 -05:00
Zachary Ware
3d9a9d47a8 Issue #25022: Add NEWS, fix docs to not mention the old example. 2015-09-10 15:50:58 -05:00
Zachary Ware
d038b78599 Closes #25022: Merge with 3.5 2015-09-10 15:03:02 -05:00
Zachary Ware
018e380d55 Issue #25022: Merge with 3.4 2015-09-10 15:02:14 -05:00
Zachary Ware
b54a068204 Issue #25022: Remove PC/example_nt/
It was very much outdated, and the topic is better covered elsewhere.
2015-09-10 14:37:42 -05:00
Guido van Rossum
7466e6bf66 Add the original author of profile.py back to the docs, at his request. (Merge) 2015-09-10 12:12:23 -07:00
Guido van Rossum
6eb740b12a Add the original author of profile.py back to the docs, at his request. 2015-09-10 12:12:01 -07:00
Berker Peksag
91c4e603af Fix typos and improve markup in typing.rst. 2015-09-10 21:56:11 +03:00
Berker Peksag
573e2cd383 Fix typos and improve markup in typing.rst. 2015-09-10 21:55:50 +03:00
Berker Peksag
4b2d7f0bd0 Use print function in mock docs. 2015-09-10 21:42:18 +03:00
Berker Peksag
619b283d85 Use print function in mock docs. 2015-09-10 21:41:52 +03:00
Berker Peksag
920f6db10b Use print function in mock docs. 2015-09-10 21:41:15 +03:00
Guido van Rossum
06ea309ea7 Restore doc updates to typing.rst by Ivan Levkivskyi and Daniel Andrade Groppe. 2015-09-10 10:54:10 -07:00
Guido van Rossum
2a19d956ab Restore doc updates to typing.rst by Ivan Levkivskyi and Daniel Andrade Groppe. 2015-09-10 10:52:11 -07:00
Victor Stinner
51b9398444 pytime: oops, fix typos on Windows 2015-09-10 16:00:06 +02:00
Victor Stinner
c60542b12b pytime: add _PyTime_check_mul_overflow() macro to avoid undefined behaviour
Overflow test in test_FromSecondsObject() fails on FreeBSD 10.0 buildbot which
uses clang. clang implements more aggressive optimization which gives
different result than GCC on undefined behaviours.

Check if a multiplication will overflow, instead of checking if a
multiplicatin had overflowed, to avoid undefined behaviour.

Add also debug information if the test on overflow fails.
2015-09-10 15:55:07 +02:00
Victor Stinner
ff0ed3e71c New try to fix test_time.test_AsSecondsDouble() on x86 buildbots.
Use volatile keyword in _PyTime_AsSecondsDouble()
2015-09-10 13:25:17 +02:00
Victor Stinner
1efbebaac2 Try to fix test_time.test_AsSecondsDouble() on "x86 Gentoo Non-Debug with X 3.x" buildbot
Use volatile keyword in _PyTime_Round()
2015-09-10 11:48:00 +02:00
Victor Stinner
350b51839a Fix test_time on platform with 32-bit time_t type
Filter also values for check_float_rounding().
2015-09-10 11:45:06 +02:00
Victor Stinner
4237d3474c Fix test_time on platform with 32-bit time_t type
Filter values which would overflow when converted to a C time_t type.
2015-09-10 10:10:39 +02:00
Victor Stinner
9c72f9b30a Fix test_time on Windows
* Filter values which would overflow on conversion to the C long type
  (for timeval.tv_sec).
* Adjust also the message of OverflowError on PyTime conversions
* test_time: add debug information if a timestamp conversion fails
2015-09-10 09:10:14 +02:00
Yury Selivanov
4f1f6e4618 Merge 3.5 2015-09-09 22:46:51 -04:00
Yury Selivanov
88d073dad5 whatsnew/3.5: Mention issue 22464
(About the only new feature that was worth mentioning in
whatsnew without a NEWS entry)
2015-09-09 22:46:40 -04:00
Raymond Hettinger
f5d72f35e8 Simply deque repeat by reusing code in in-line repeat. Avoid unnecessary division. 2015-09-09 22:39:44 -04:00
Guido van Rossum
87e8fe6cb3 Merge typing docs from 3.5 branch. 2015-09-09 19:36:31 -07:00