Commit graph

96490 commits

Author SHA1 Message Date
Alexander Belopolsky
dc336f28db Merged from 3.6 2016-09-28 17:40:25 -04:00
Alexander Belopolsky
3b7cfd4ffe Issue #28148: Added a NEWS entry. 2016-09-28 17:39:29 -04:00
Alexander Belopolsky
9f518cd01a Merged from 3.6 2016-09-28 17:32:31 -04:00
Alexander Belopolsky
3e7a3cb903 Issue #28148: Stop using localtime() and gmtime() in the time module.
Introduced platform independent _PyTime_localtime API that is similar
to POSIX localtime_r, but available on all platforms.  Patch by Ed
Schouten.
2016-09-28 17:31:35 -04:00
Berker Peksag
e0083e2b86 Issue #28306: Merge from 3.6 2016-09-28 22:49:46 +03:00
Berker Peksag
e5ccf3d699 Issue #28306: Merge from 3.5 2016-09-28 22:49:27 +03:00
Berker Peksag
cf79cdb79d Issue #28306: Update exception message of ZeroDivisionError 2016-09-28 22:48:57 +03:00
Berker Peksag
282df37365 Issue #27740: Merge from 3.6 2016-09-28 19:36:23 +03:00
Berker Peksag
db83f72a7f Issue #27740: Merge from 3.5 2016-09-28 19:35:55 +03:00
Berker Peksag
ab39b09958 Issue #27740: Fix typo in Py_CompileStringExFlags 2016-09-28 19:35:25 +03:00
Berker Peksag
e075537432 Issue #27322: Merge from 3.6 2016-09-28 17:39:20 +03:00
Berker Peksag
408b78c06f Issue #27322: Set sys.path to a temp dir in test_compile_path 2016-09-28 17:38:53 +03:00
Berker Peksag
dbd9cbf8f3 Issue #28303: Merge from 3.6 2016-09-28 17:29:40 +03:00
Berker Peksag
eadf443e9a Issue #28303: Merge from 3.5 2016-09-28 17:29:12 +03:00
Berker Peksag
aa5c2fdb7c Issue #28303: Fix grammar in unittest.__doc__, patch by Shlomi Fish 2016-09-28 17:28:41 +03:00
Berker Peksag
50c972e3c3 Issue #28300: Merge from 3.6 2016-09-28 17:22:51 +03:00
Berker Peksag
d39370ba41 Issue #28300: Merge from 3.5 2016-09-28 17:22:26 +03:00
Berker Peksag
c16387b17f Issue #28300: Fix typos, patch by Shlomi Fish 2016-09-28 17:21:52 +03:00
Berker Peksag
5c7c8a3420 Issue #21903: Merge from 3.6 2016-09-28 17:08:06 +03:00
Berker Peksag
fa4a305883 Issue #21903: Merge from 3.5 2016-09-28 17:07:40 +03:00
Berker Peksag
de55c612fb Issue #21903: Update ctypes example to use MessageBoxW 2016-09-28 17:07:01 +03:00
Serhiy Storchaka
85bc546c18 Null merge 2016-09-28 07:48:23 +03:00
Serhiy Storchaka
b163b14e9d Null merge 2016-09-28 07:44:46 +03:00
Alexander Belopolsky
1dc7aa4d2e Issue #28253: Added a NEWS entry. 2016-09-27 20:34:17 -04:00
Alexander Belopolsky
0c6974d934 Issue #28253: Added a NEWS entry. 2016-09-27 20:34:11 -04:00
Alexander Belopolsky
f2a913e53b Issue #28253: Added a NEWS entry. 2016-09-27 20:33:58 -04:00
Alexander Belopolsky
4e7b4e8c18 Issue #28253: Fixed calendar functions for extreme months: 0001-01 and 9999-12.
Methods itermonthdays() and itermonthdays2() are reimplemented so that they
don't call itermonthdates() which can cause datetime.date under/overflow.
2016-09-27 20:28:57 -04:00
Alexander Belopolsky
e3fd248c77 Issue #28253: Fixed calendar functions for extreme months: 0001-01 and 9999-12.
Methods itermonthdays() and itermonthdays2() are reimplemented so that they
don't call itermonthdates() which can cause datetime.date under/overflow.
2016-09-27 20:27:55 -04:00
Alexander Belopolsky
957b75699f Issue #28253: Fixed calendar functions for extreme months: 0001-01 and 9999-12.
Methods itermonthdays() and itermonthdays2() are reimplemented so that they
don't call itermonthdates() which can cause datetime.date under/overflow.
2016-09-27 20:26:39 -04:00
Guido van Rossum
39704fcddb Update typing.py and test_typing.py from upstream (https://github.com/python/typing) (merge 3.6->3.7) 2016-09-27 15:23:04 -07:00
Guido van Rossum
6703e042fa Update typing.py and test_typing.py from upstream (https://github.com/python/typing) (merge 3.5->3.6) 2016-09-27 15:22:40 -07:00
Guido van Rossum
4cefe74aef Update typing.py and test_typing.py from upstream (https://github.com/python/typing) 2016-09-27 15:20:12 -07:00
Berker Peksag
331e659047 Issue #28283: Merge from 3.6 2016-09-28 00:40:42 +03:00
Berker Peksag
49d2c389a3 Issue #28283: Merge from 3.5 2016-09-28 00:40:18 +03:00
Berker Peksag
63461bc384 Issue #28283: Remove flaky test test_sock_connect_sock_write_race 2016-09-28 00:39:36 +03:00
Serhiy Storchaka
eeeb3c2531 Issue #20947: Fixed a gcc warning with -Wstrict-overflow. 2016-09-27 22:05:04 +03:00
Serhiy Storchaka
9574e0adf2 Issue #20947: Fixed a gcc warning with -Wstrict-overflow. 2016-09-27 22:04:45 +03:00
Serhiy Storchaka
5ae4f49f4a Issue #20947: Fixed a gcc warning with -Wstrict-overflow. 2016-09-27 22:03:51 +03:00
Serhiy Storchaka
a6f035ee8d Issue #21578: Fixed misleading error message when ImportError called with
invalid keyword args.
2016-09-27 20:51:27 +03:00
Serhiy Storchaka
389ef9dcda Issue #21578: Fixed misleading error message when ImportError called with
invalid keyword args.
2016-09-27 20:51:04 +03:00
Serhiy Storchaka
47dee11ba7 Issue #21578: Fixed misleading error message when ImportError called with
invalid keyword args.
2016-09-27 20:45:35 +03:00
Serhiy Storchaka
be43f2019f Issue #28275: Fixed possible use adter free in LZMADecompressor.decompress().
Original patch by John Leitch.
2016-09-27 20:24:19 +03:00
Serhiy Storchaka
a12e7842a5 Issue #28275: Fixed possible use adter free in LZMADecompressor.decompress().
Original patch by John Leitch.
2016-09-27 20:23:41 +03:00
Serhiy Storchaka
c0b7037d4f Issue #28275: Fixed possible use adter free in LZMADecompressor.decompress().
Original patch by John Leitch.
2016-09-27 20:14:26 +03:00
Serhiy Storchaka
c019158a4c Issue #27703: Got rid of unnecessary NULL checks in do_raise() in release mode.
Patch by Xiang Zhang.
2016-09-27 11:37:10 +03:00
Martin Panter
2f63faefdf Issue #26439: Merge ctypes doc from 3.6 2016-09-27 05:26:49 +00:00
Martin Panter
19f2327e7e Issue #26439: Merge ctypes doc from 3.5 into 3.6 2016-09-27 05:26:12 +00:00
Martin Panter
f18a5daadd Issue #26439: Document that RTLD_NOW is always added 2016-09-27 05:10:40 +00:00
Raymond Hettinger
b87e8f7d0a merge 2016-09-26 21:46:26 -07:00
Raymond Hettinger
9016f2864a Issue #18844: Make the number of selections a keyword-only argument for random.choices(). 2016-09-26 21:45:57 -07:00