Steve Dower
3e7d93dc70
Issue #28251 : Improvements to help manuals on Windows.
2016-09-22 17:11:53 -07:00
Steve Dower
765285337a
Issue #28251 : Improvements to help manuals on Windows.
2016-09-22 17:09:56 -07:00
Steve Dower
fb4a96a58f
Issue #28251 : Improvements to help manuals on Windows.
2016-09-22 17:07:56 -07:00
Serhiy Storchaka
f02f93ecca
Issue #28086 : Single var-positional argument of tuple subtype was passed
...
unscathed to the C-defined function. Now it is converted to exact tuple.
2016-09-22 19:43:38 +03:00
Serhiy Storchaka
63dc548109
Issue #28086 : Single var-positional argument of tuple subtype was passed
...
unscathed to the C-defined function. Now it is converted to exact tuple.
2016-09-22 19:41:20 +03:00
Martin Panter
2e610df572
Merge socketserver fixes from 3.6
2016-09-22 10:34:50 +00:00
Martin Panter
21efc0bbf8
Issue #27348 : Merge exception formatting fix from 3.6
2016-09-22 10:34:25 +00:00
Martin Panter
3217b1243e
Merge socketserver fixes from 3.5 into 3.6
2016-09-22 10:33:51 +00:00
Martin Panter
f3b0639417
Issue #27348 : Merge exception formatting fix from 3.5 into 3.6
2016-09-22 10:33:21 +00:00
Martin Panter
463ef2b3cf
Fix references to Python 3’s socketserver (lowercase) module
2016-09-22 09:37:56 +00:00
Martin Panter
bb8b1cb6af
Issue #27348 : Restore “Exception: None” formatting in traceback module
...
This fixes a regression caused by revision 73afda5a4e4c. Also reverts the
decimal test workaround added in revision 5f3dd0a2b1ab.
Remove test_without_exception(). According to revision ecaafc32c500, this was
added in Python 2 so that print_exc() would output “None” when called with no
exception set. However print_exc() never worked like this in Python 3, and
the use case is not documented.
Restore TracebackCases class name (instead of SyntaxTracebackCases), because
the class also tests other exceptions.
2016-09-22 09:37:39 +00:00
Berker Peksag
c96629953b
Issue #25651 : Merge from 3.6
2016-09-21 19:35:54 +03:00
Berker Peksag
b3d4e7fe71
Issue #25651 : Merge from 3.5
2016-09-21 19:35:28 +03:00
Berker Peksag
16ea19fc66
Issue #25651 : Allow falsy values to be used for msg parameter of subTest()
2016-09-21 19:34:15 +03:00
Serhiy Storchaka
cf4fb40b9d
Issue #28214 : Now __set_name__ is looked up on the class instead of the
...
instance.
2016-09-21 15:55:49 +03:00
Serhiy Storchaka
afd02a439f
Issue #28214 : Now __set_name__ is looked up on the class instead of the
...
instance.
2016-09-21 15:54:59 +03:00
Victor Stinner
b6f3c0dca1
Merge 3.6 (os.getrandom)
2016-09-20 23:01:22 +02:00
Victor Stinner
ec2319c46d
Fix memleak in os.getrandom()
...
Issue #27778 : Fix a memory leak in os.getrandom() when the getrandom() is
interrupted by a signal and a signal handler raises a Python exception.
Modify also os_getrandom_impl() to avoid the temporary buffer, use directly a
Python bytes object.
2016-09-20 23:00:59 +02:00
Victor Stinner
6b405d2f2b
Merge 3.6
2016-09-20 22:50:11 +02:00
Victor Stinner
75024c6589
(Merge 3.5) Catch EPERM error in py_getrandom()
...
Issue #27955 : Fallback on reading /dev/urandom device when the getrandom()
syscall fails with EPERM, for example when blocked by SECCOMP.
2016-09-20 22:49:52 +02:00
Victor Stinner
6d8bc46cc0
Catch EPERM error in py_getrandom()
...
Issue #27955 : Fallback on reading /dev/urandom device when the getrandom()
syscall fails with EPERM, for example when blocked by SECCOMP.
2016-09-20 22:46:02 +02:00
Benjamin Peterson
adaa56ac35
merge 3.6 ( closes #28184 )
2016-09-19 22:17:44 -07:00
Benjamin Peterson
e2e792d98f
merge 3.5 ( #28184 )
2016-09-19 22:17:16 -07:00
Benjamin Peterson
918aa89483
remove trailing whitespace
2016-09-19 22:16:36 -07:00
Victor Stinner
822675b82e
Merge 3.6
2016-09-19 11:56:06 +02:00
Victor Stinner
26c03bd7d5
Fix memory leak in path_converter()
...
Issue #28200 : Replace PyUnicode_AsWideCharString() with
PyUnicode_AsUnicodeAndSize().
2016-09-19 11:55:44 +02:00
Raymond Hettinger
7eb1becc25
Issue #28189 : dictitems_contains no longer swallows compare errors.
...
(Patch by Xiang Zhang)
2016-09-18 21:45:11 -07:00
Berker Peksag
76ab4164e5
Issue #25400 : Merge from 3.6
2016-09-18 20:18:35 +03:00
Berker Peksag
9a7bbb2e3f
Issue #25400 : RobotFileParser now correctly returns default values for crawl_delay and request_rate
...
Initial patch by Peter Wirtz.
2016-09-18 20:17:58 +03:00
Christian Heimes
aa630e051b
Issue #26661 : setup.py now detects system libffi with multiarch wrapper.
2016-09-18 14:35:39 +02:00
Christian Heimes
85c98bf968
Issue #26661 : setup.py now detects system libffi with multiarch wrapper.
2016-09-18 14:34:13 +02:00
Christian Heimes
96b2dd5997
Issue #26661 : setup.py now detects system libffi with multiarch wrapper.
2016-09-18 14:33:30 +02:00
Steve Dower
5f9c3926cc
Issue #27932 : Prevent memory leak in win32_ver().
2016-09-17 17:28:45 -07:00
Steve Dower
74f4af7ac3
Issue #27932 : Prevent memory leak in win32_ver().
2016-09-17 17:27:48 -07:00
Steve Dower
1ec262be80
Issue #27932 : Prevent memory leak in win32_ver().
2016-09-17 17:25:42 -07:00
Steve Dower
f4fc1d12ec
Issue #28110 : launcher.msi has different product codes between 32-bit and 64-bit
2016-09-17 16:14:14 -07:00
Steve Dower
7358efa50b
Issue #28110 : launcher.msi has different product codes between 32-bit and 64-bit
2016-09-17 16:13:59 -07:00
Steve Dower
1c75c18ed2
Issue #28110 : launcher.msi has different product codes between 32-bit and 64-bit
2016-09-17 16:12:55 -07:00
Steve Dower
b401d723ac
Issue #28161 : Opening CON for write access fails
...
Issue #28162 : WindowsConsoleIO readall() fails if first line starts with Ctrl+Z
Issue #28163 : WindowsConsoleIO fileno() passes wrong flags to _open_osfhandle
Issue #28164 : _PyIO_get_console_type fails for various paths
2016-09-17 13:51:32 -07:00
Steve Dower
27f26ad962
Issue #28161 : Opening CON for write access fails
...
Issue #28162 : WindowsConsoleIO readall() fails if first line starts with Ctrl+Z
Issue #28163 : WindowsConsoleIO fileno() passes wrong flags to _open_osfhandle
Issue #28164 : _PyIO_get_console_type fails for various paths
2016-09-17 13:51:23 -07:00
Berker Peksag
ce4adc30de
Issue #26384 : Merge from 3.6
2016-09-17 23:23:35 +03:00
Berker Peksag
5d625cff07
Issue #26384 : Merge from 3.5
2016-09-17 23:23:13 +03:00
Berker Peksag
bcfb35f80d
Issue #26384 : Fix UnboundLocalError in socket._sendfile_use_sendfile
2016-09-17 23:22:06 +03:00
Steve Dower
64566db065
Merge with 3.6
2016-09-17 12:57:03 -07:00
Steve Dower
ed51b26858
Issue #28137 : Renames Windows path file to ._pth
...
Issue #28138 : Windows ._pth file should allow import site
2016-09-17 12:54:06 -07:00
Mark Dickinson
fba121fe9d
Issue #27441 : Remove some redundant assignments to ob_size in longobject.c. Thanks Oren Milman.
2016-09-17 19:44:13 +01:00
Mark Dickinson
92ca535626
Issue #27222 : various cleanups in long_rshift. Thanks Oren Milman.
2016-09-17 17:50:50 +01:00
Berker Peksag
6adb223831
Issue #28075 : Merge from 3.6
2016-09-17 15:51:43 +03:00
Berker Peksag
052e4f18c4
Issue #28075 : Merge from 3.5
2016-09-17 15:51:14 +03:00
Berker Peksag
0b4dc4846b
Issue #28075 : Check for ERROR_ACCESS_DENIED in Windows implementation of os.stat()
...
Patch by Eryk Sun.
2016-09-17 15:49:59 +03:00