Ethan Furman
73fc586d9f
Add AutoEnum: automatically provides next value if missing. Issue 26988.
2016-08-05 16:03:16 -07:00
Vinay Sajip
a9391a4522
Closes #20160 : Merged fix from 3.5.
2016-08-05 21:44:52 +01:00
Vinay Sajip
0b588869ee
Issue #20160 : Merged fix from 3.4.
2016-08-05 21:44:15 +01:00
Vinay Sajip
a0b2568627
Issue #20160 : Merged fix from 3.3.
2016-08-05 21:43:25 +01:00
Vinay Sajip
6f25003291
Issue #20160 : Handled passing of large structs to callbacks correctly.
2016-08-05 21:24:27 +01:00
Martin Panter
02b75abf73
Merge spelling and grammar fixes from 3.5
2016-08-05 01:51:39 +00:00
Martin Panter
69332c1a64
Fix spelling and grammar in documentation and code comments
2016-08-04 13:07:31 +00:00
Donald Stufft
2af36ac04f
Merge 3.5
2016-08-03 18:49:46 -04:00
Donald Stufft
ef330d35c8
Merge 3.4
2016-08-03 18:49:19 -04:00
Donald Stufft
c6c2217f27
Merge 3.3
2016-08-03 18:48:17 -04:00
Donald Stufft
fb7929044a
Switch upload.pypi.io to upload.pypi.org
2016-08-03 18:43:38 -04:00
Stefan Krah
0d60c56e7e
Merge 3.5.
2016-08-03 11:18:54 +02:00
Stefan Krah
9de620e970
Issue #20767 : Fix -R option for FreeBSD/clang.
2016-08-03 11:18:26 +02:00
Alexander Belopolsky
43746c3770
Closes #27661 : Added tzinfo keyword argument to datetime.combine.
2016-08-02 17:49:30 -04:00
Stefan Krah
711120d8fd
Merge 3.5.
2016-08-02 22:30:57 +02:00
Stefan Krah
e12a68be35
Issue #27241 : Catch exception when running pstats as main.
2016-08-02 22:30:24 +02:00
Senthil Kumaran
cde03fa038
[merge from 3.5] - Prevent HTTPoxy attack (CVE-2016-1000110)
...
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:51:13 -07:00
Senthil Kumaran
17742f2d45
[merge from 3.4] - Prevent HTTPoxy attack (CVE-2016-1000110)
...
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:39:06 -07:00
Senthil Kumaran
436fe5a447
[merge from 3.3] Prevent HTTPoxy attack (CVE-2016-1000110)
...
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:34:34 -07:00
Senthil Kumaran
4cbb23f8f2
Prevent HTTPoxy attack (CVE-2016-1000110)
...
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:24:16 -07:00
Alexander Belopolsky
07e2a0aba9
Issue 24773: Use the standard Asia/Tehran name in the Iran test.
2016-07-30 11:41:02 -04:00
Berker Peksag
01d1719062
Issue #27366 : Tweak PEP 487 documentation
...
* Added versionadded directives
* Deleted duplicate sentence from __init_subclass__ docstring
* Modernized tests
2016-07-30 14:06:15 +03:00
Nick Coghlan
d78448e912
Issue #27366 : Implement PEP 487
...
- __init_subclass__ called when new subclasses defined
- __set_name__ called when descriptors are part of a
class definition
2016-07-30 16:26:03 +10:00
Vinay Sajip
c1f974c944
Closes #1521950 : Made shlex parsing more shell-like.
2016-07-29 22:35:03 +01:00
Terry Jan Reedy
2553b1b057
Issue #27620 : Make htest box respond to <Return> and <Escape>.
2016-07-27 22:17:05 -04:00
Terry Jan Reedy
6b37dfce5b
Issue #27620 : Mark the default action button as the default.
2016-07-27 21:42:54 -04:00
Martin Panter
263893c261
Issue #27626 : Further spelling fixes for 3.6
2016-07-28 01:25:31 +00:00
Martin Panter
8bde911115
Issue #27626 : Merge spelling fixes from 3.5
2016-07-28 01:30:58 +00:00
Martin Panter
eb9957065a
Issue #27626 : Spelling fixes in docs, comments and internal names
...
Based on patch by Ville Skyttä.
2016-07-28 01:11:04 +00:00
Alexander Belopolsky
611adf2466
Issue #24773 : Fixed tests failures on systems with 32-bit time_t.
...
Several 32-bit systems have issues with transitions in the year
2037. This is a bug in the system C library since time_t does not
overflow until 2038, but let's skip tests starting from 2037 to work
around those bugs.
2016-07-26 12:23:16 -04:00
Terry Jan Reedy
17937832ba
Issue #27620 : Escape key closes Query box as cancelled.
2016-07-25 20:58:43 -04:00
Terry Jan Reedy
43b17134e9
Issue #24137 , issue #27611 : Restore tkinter after test_idle.
2016-07-25 00:31:54 -04:00
Martin Panter
b93d8637a6
Issue #1621 : Avoid signed overflow in list and tuple operations
...
Patch by Xiang Zhang.
2016-07-25 02:39:20 +00:00
Terry Jan Reedy
c665dfd73e
Issue #19198 : IDLE: tab after initial whitespace should tab, not autocomplete.
...
Fixes problem with writing docstrings at lease twice indented.
2016-07-24 23:01:28 -04:00
Alexander Belopolsky
95f7b9fcac
Issue 24773: Make zoneinfo tests more robust. (reapply)
2016-07-24 20:36:55 -04:00
Terry Jan Reedy
c74fb9c6c5
Issue #27609 : Explicitly return None when there are other returns.
...
In a few cases, reverse a condition and eliminate a return.
2016-07-24 20:35:43 -04:00
Alexander Belopolsky
cd28013d00
Reindented Lib/test/datetimetester.py.
2016-07-24 14:41:08 -04:00
Alexander Belopolsky
4719ae7567
Issue #24773 : Made ZoneInfoCompleteTest a TestSuit.
...
This should improve the diagnostic and progress reports.
2016-07-24 14:39:28 -04:00
Alexander Belopolsky
8dadb2155b
Issue 24773: Make zoneinfo tests more robust.
2016-07-23 11:16:56 -04:00
Berker Peksag
f96c84f6e5
Issue #13849 : Merge from 3.5
2016-07-23 08:43:04 +03:00
Berker Peksag
5f804e387e
Issue #13849 : Fix test_null_bytes under Windows
2016-07-23 08:42:41 +03:00
Berker Peksag
804a39f04f
Issue #13849 : Merge from 3.5
2016-07-23 07:32:14 +03:00
Berker Peksag
9adc1a38bd
Issue #13849 : Add tests for null byte checking in test_genericpath
2016-07-23 07:31:47 +03:00
Berker Peksag
b3bb436b86
Issue #27493 : Fix test_path_objects under Windows
2016-07-23 07:15:12 +03:00
Martin Panter
525a949251
Issue #27130 : Merge zlib 64-bit fixes from 3.5
2016-07-23 03:39:49 +00:00
Martin Panter
84544c1020
Issue #27130 : Fix handling of buffers exceeding UINT_MAX in “zlib” module
...
Patch by Xiang Zhang.
2016-07-23 03:02:07 +00:00
Alexander Belopolsky
5d0c598382
Closes issue #24773 : Implement PEP 495 (Local Time Disambiguation).
2016-07-22 18:47:04 -04:00
Vinay Sajip
638e622055
Closes #27493 : accepted Path objects in file handlers for logging.
2016-07-22 18:23:04 +01:00
Vinay Sajip
cccf6068fa
Closes #26559 : Allow configuring flush-on-close behaviour of MemoryHandler.
2016-07-22 16:27:31 +01:00
Xavier de Gaye
d141531eb5
Issue #27472 : Add test.support.unix_shell as the path to the default shell.
2016-07-22 12:15:29 +02:00