Martin Panter
19409197e2
Merge typo fixes from 3.5
2016-06-04 05:26:40 +00:00
Martin Panter
3ee6270262
Fix typos in code comment and documentation
2016-06-04 04:57:19 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
fcbf1ca4f9
merge from 3.5 - Fixes Issue #26373 : subprocess.Popen.communicate
...
now correctly ignores BrokenPipeError when the child process dies
before .communicate() is called in more (all?) circumstances.
2016-06-04 00:34:15 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
1ef8c7e886
Fixes Issue #26373 : subprocess.Popen.communicate now correctly ignores
...
BrokenPipeError when the child process dies before .communicate()
is called in more (all?) circumstances.
2016-06-04 00:22:17 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
6f20bd6063
signal, socket, and ssl module IntEnum constant name lookups now return a
...
consistent name for values having multiple names. Ex: signal.Signals(6)
now refers to itself as signal.SIGALRM rather than flipping between that
and signal.SIGIOT based on the interpreter's hash randomization seed.
This helps finish issue27167.
2016-06-03 19:14:52 +00:00
Serhiy Storchaka
16931c3559
Issue #26983 : float() now always return an instance of exact float.
...
The deprecation warning is emitted if __float__ returns an instance of
a strict subclass of float. In a future versions of Python this can
be an error.
2016-06-03 21:42:55 +03:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
d6da7604d3
Issue #27167 : Clarify the subprocess.CalledProcessError error message text
...
when the child process died due to a signal.
2016-06-03 06:14:06 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
aea1650389
typo fix
2016-06-03 00:57:26 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
cef1f83c71
Issue #25931 : Don't defining socketserver.Forking* names on platforms such
...
as Windows that do not support os.fork().
2016-06-03 00:13:36 +00:00
Berker Peksag
fddf12198f
Issue #21776 : Merge from 3.5
2016-06-02 13:47:23 -07:00
Berker Peksag
6a8e626a60
Issue #21776 : distutils.upload now correctly handles HTTPError
...
Initial patch by Claudiu Popa.
2016-06-02 13:45:53 -07:00
Benjamin Peterson
53595c4879
replace custom validation logic in the parse module with a simple DFA validator ( closes #26526 )
...
Patch from A. Skrobov.
2016-06-02 11:30:18 -07:00
Kushal Das
9cd39a170b
Issue #21271 : Adds new keyword only parameters in reset_mock call
...
We now have two keyword only parameters in the reset_mock function to
selectively reset the return_value or the side_effects, or both.
2016-06-02 10:20:16 -07:00
Martin Panter
0b7d84de6b
Issue #27171 : Merge typo fixes from 3.5
2016-06-02 10:11:18 +00:00
Martin Panter
e26da7c03a
Issue #27171 : Fix typos in documentation, comments, and test function names
2016-06-02 10:07:09 +00:00
Martin Panter
e514093a2f
Issue #27125 : Merge typo fixes from 3.5
2016-05-30 05:24:49 +00:00
Terry Jan Reedy
137bac265e
Add items to MISC/NEWS and idlelib/NEWS.txt.
2016-05-30 01:04:08 -04:00
Terry Jan Reedy
f45d27bcc3
Add items to MISC/NEWS and idlelib/NEWS.txt.
2016-05-30 01:02:34 -04:00
Martin Panter
a90a4a9651
Issue #27125 : Remove duplicated words from documentation and comments
2016-05-30 04:04:50 +00:00
Benjamin Peterson
6ca4260219
merge 3.5
2016-05-28 14:05:11 -07:00
Benjamin Peterson
c352620c92
backout 3c9512d8ac0d
2016-05-28 14:04:40 -07:00
Eric Snow
dc4f7c09cc
Issue #27147 : Mention PEP 420 in the importlib docs.
2016-05-28 11:08:20 -07:00
Eric Snow
338502b307
Issue #27147 : Mention PEP 420 in the importlib docs.
2016-05-28 11:56:53 -06:00
Eric Snow
0472217d43
Issue #27138 : Fix the doc comment for FileFinder.find_spec().
2016-05-27 12:56:41 -06:00
Eric Snow
fc36e66af4
Issue #27138 : Fix the doc comment for FileFinder.find_spec().
2016-05-27 12:36:28 -06:00
Steve Dower
48df37dbb8
Issue #27114 : Fix SSLContext._load_windows_store_certs fails with PermissionError
2016-05-26 12:19:42 -07:00
Steve Dower
33bc4a2983
Issue #27114 : Fix SSLContext._load_windows_store_certs fails with PermissionError
2016-05-26 12:18:12 -07:00
Martin Panter
b6ae2ae47c
Issue #18383 : Merge warnings fix from 3.5
2016-05-26 09:39:41 +00:00
Martin Panter
43593a1892
Issue #18383 : Avoid adding duplicate filters when warnings is reloaded
...
Based on patch by Alex Shkop.
2016-05-26 09:10:55 +00:00
Martin Panter
3e04d5b306
Issue #27076 : Merge spelling from 3.5
2016-05-26 06:03:19 +00:00
Martin Panter
46f50726a0
Issue #27076 : Doc, comment and tests spelling fixes
...
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:35:26 +00:00
Serhiy Storchaka
f60bf5f7d6
Issue #27097 : Python interpreter is now about 7% faster due to optimized
...
instruction decoding. Based on patch by Demur Rumed.
2016-05-25 20:02:01 +03:00
Steve Dower
80ac11d01e
Issue #23026 : winreg.QueryValueEx() now return an integer for REG_QWORD type. (Patch by hakril)
2016-05-24 15:42:04 -07:00
Serhiy Storchaka
b0f80b0312
Issue #26647 : Python interpreter now uses 16-bit wordcode instead of bytecode.
...
Patch by Demur Rumed.
2016-05-24 09:15:14 +03:00
Paul Moore
835416cf7c
Issue #27064 : The py.exe launcher now defaults to Python 3.
...
The Windows launcher ``py.exe`` no longer prefers an installed
Python 2 version over Python 3 by default when used interactively.
2016-05-22 12:28:41 +01:00
Martin Panter
7f3d16f8f5
Extra NEWS formatting fix for 3.6
2016-05-22 03:10:11 +00:00
Martin Panter
f4af15b3b3
Merge NEWS formatting from 3.5
2016-05-22 03:05:44 +00:00
Martin Panter
4e52558fb1
Fix minor inconsistencies with Issue #N references in NEWS and HISTORY
2016-05-22 03:01:52 +00:00
Serhiy Storchaka
2a95219bc4
Issue #26168 : Fixed possible refleaks in failing Py_BuildValue() with the "N"
...
format unit.
2016-05-20 22:31:50 +03:00
Serhiy Storchaka
13e602ea0f
Issue #26168 : Fixed possible refleaks in failing Py_BuildValue() with the "N"
...
format unit.
2016-05-20 22:31:14 +03:00
Victor Stinner
6d81a2136d
regrtest doesn't ignore -j1 anymore
...
* regrtest now uses subprocesses when the -j1 command line option
is used: each test file runs in a fresh child process. Before, the -j1 option
was ignored.
* Tools/buildbot/test.bat script now uses -j1 by default to run
each test file in fresh child process.
2016-05-20 13:15:55 +02:00
Victor Stinner
5a48e21ff1
subprocess now emits a ResourceWarning warning
...
Issue #26741 : subprocess.Popen destructor now emits a ResourceWarning warning
if the child process is still running.
2016-05-20 12:11:15 +02:00
Victor Stinner
19ed27ec2b
Optimize pickle.load() and pickle.loads()
...
Issue #27056 : Optimize pickle.load() and pickle.loads(), up to 10% faster to
deserialize a lot of small objects.
2016-05-20 11:42:37 +02:00
Guido van Rossum
03e6061956
Back out pathlib.Path.path attr. (Merge 3.5->3.6)
2016-05-19 13:11:17 -07:00
Guido van Rossum
387e6e3817
Back out pathlib.Path.path attr. (Merge 3.4->3.5)
2016-05-19 13:10:20 -07:00
Guido van Rossum
3d4d01f614
Back out 7e9605697dfc, 2e3c31ab586a, 759b2cecc289.
...
These added a path attribute to pathlib.Path objects, and docs.
Instead, we're going to use PEP 519.
(Starting in the 3.4 branch and merging forward from there since that's what I did originally.)
2016-05-19 13:00:21 -07:00
Steve Dower
7fa6378747
Issue #27053 : Updates make_zip.py to correctly generate library ZIP file.
2016-05-19 10:47:55 -07:00
Steve Dower
d8bf09c6cd
Issue #27053 : Updates make_zip.py to correctly generate library ZIP file.
2016-05-19 10:47:47 -07:00
Victor Stinner
4a3443be43
Merge 3.5 (issue #27057 )
2016-05-19 16:48:06 +02:00
Victor Stinner
3116cc44af
Fix os.set_inheritable() on Android
...
Issue #27057 : Fix os.set_inheritable() on Android, ioctl() is blocked by
SELinux and fails with EACCESS. The function now falls back to fcntl().
Patch written by Michał Bednarski.
2016-05-19 16:46:18 +02:00
Guido van Rossum
c41c70fd9b
Fix #27014 -- infinite recursion using typing.py. (Merge 3.5 -> 3.6.)
2016-05-18 08:36:16 -07:00
Guido van Rossum
1cea70f08c
Fix #27014 -- infinite recursion using typing.py.
2016-05-18 08:35:00 -07:00
Martin Panter
9ef6b7fbde
Issue #23275 : Don’t think this made it into alpha 1
2016-05-18 07:19:32 +00:00
Berker Peksag
094c9c921c
Issue #23275 : Allow () = iterable assignment syntax
...
Documentation updates by Martin Panter.
2016-05-18 08:44:29 +03:00
Ned Deily
4284ffd2f8
Merge 3.6.0a1 updates
2016-05-17 17:09:48 -04:00
Ned Deily
786ed5537c
Post-release cleanup: 3.6.0a1 -> 3.6.0a2
2016-05-17 16:55:41 -04:00
Benjamin Peterson
5b2b3aae2a
merge 3.5 ( #26991 )
2016-05-16 22:53:44 -07:00
Benjamin Peterson
ad887cf7d1
fix possible refleak in MAKE_FUNCTION ( closes #26991 )
...
Patch by Xiang Zhang.
2016-05-16 22:52:40 -07:00
Ned Deily
cec00a7d87
Version bump for 3.6.0a1
2016-05-16 16:03:51 -04:00
Yury Selivanov
82d9a2e1fe
Merge heads
2016-05-16 15:40:38 -04:00
Yury Selivanov
8ace2c66d3
Merge 3.5 (Issue #27041 )
2016-05-16 15:39:39 -04:00
Yury Selivanov
7661db6228
Issue #27041 : asyncio: Add loop.create_future method
2016-05-16 15:38:39 -04:00
Serhiy Storchaka
2e208b7d62
Issue #27031 : Removed dummy methods in Tkinter widget classes: tk_menuBar()
...
and tk_bindForTraversal().
2016-05-16 22:35:46 +03:00
Yury Selivanov
7c3ac2d1f8
Merge 3.5 (issue #27040 )
2016-05-16 15:32:26 -04:00
Serhiy Storchaka
4b23494ded
Issue #27039 : Fixed bytearray.remove() for values greater than 127.
...
Based on patch by Joe Jevnik.
2016-05-16 22:24:03 +03:00
Yury Selivanov
7ed7ce6ee7
Issue #27040 : Add loop.get_exception_handler method
2016-05-16 15:20:38 -04:00
Serhiy Storchaka
7bf36dace8
Issue #27039 : Fixed bytearray.remove() for values greater than 127.
...
Patch by Joe Jevnik.
2016-05-16 22:15:38 +03:00
Martin Panter
0b39a556e8
Issue #14132 , Issue #17214 : Merge two redirect handling fixes from 3.5
2016-05-16 07:45:28 +00:00
Serhiy Storchaka
cbcc2fd641
Issue #27033 : The default value of the decode_data parameter for
...
smtpd.SMTPChannel and smtpd.SMTPServer constructors is changed to False.
2016-05-16 09:36:31 +03:00
Serhiy Storchaka
98019e1cf6
Issue #27034 : Removed deprecated class asynchat.fifo.
2016-05-16 09:10:43 +03:00
Robert Collins
c85dd85f1a
Issue #26807 : mock_open 'files' no longer error on readline at end of file.
...
Patch from Yolanda Robla.
2016-05-16 15:22:45 +12:00
Robert Collins
9549a3e3d4
Issue #26807 : mock_open 'files' no longer error on readline at end of file.
...
Patch from Yolanda Robla.
2016-05-16 15:22:01 +12:00
Martin Panter
e6f060903c
Issue #17214 : Percent-encode non-ASCII bytes in redirect targets
...
Some servers send Location header fields with non-ASCII bytes, but "http.
client" requires the request target to be ASCII-encodable, otherwise a
UnicodeEncodeError is raised. Based on patch by Christian Heimes.
Python 2 does not suffer any problem because it allows non-ASCII bytes in the
HTTP request target.
2016-05-16 01:14:20 +00:00
Martin Panter
ce6e06874b
Issue #14132 : Fix redirect handling when target is just a query string
2016-05-16 01:07:13 +00:00
Martin Panter
f0dbf7a6ab
Issue #26870 : Add readline.set_auto_history(), originally by Tyler Crompton
2016-05-15 01:26:25 +00:00
Yury Selivanov
059320bab8
Merge 3.5 (issue #26848 )
2016-05-13 15:39:09 -04:00
Yury Selivanov
7657f6ba21
Issue #26848 : Fix asyncio/subprocess.communicate() to handle empty input.
2016-05-13 15:35:28 -04:00
Serhiy Storchaka
18ee29d0b8
Issue #26039 : zipfile.ZipFile.open() can now be used to write data into a ZIP
...
file, as well as for extracting data. Patch by Thomas Kluyver.
2016-05-13 13:52:49 +03:00
Senthil Kumaran
5d1110a952
merge from 3.5
...
Issue #26892 : Honor debuglevel flag in urllib.request.HTTPHandler.
Patch contributed by Chi Hsuan Yen.
2016-05-13 01:35:29 -07:00
Senthil Kumaran
9642eedc0a
Issue #26892 : Honor debuglevel flag in urllib.request.HTTPHandler.
...
Patch contributed by Chi Hsuan Yen.
2016-05-13 01:32:42 -07:00
Martin Panter
f94ec1bd83
Issue #22274 : Merge stderr=STDOUT fix from 3.5
2016-05-13 07:45:21 +00:00
Martin Panter
c76358924f
Issue #22274 : Redirect stderr=STDOUT when stdout not redirected, by Akira Li
2016-05-13 01:54:44 +00:00
Serhiy Storchaka
ea36c941a1
Issue #23640 : int.from_bytes() no longer bypasses constructors for subclasses.
2016-05-12 10:37:58 +03:00
Serhiy Storchaka
9de7efe5ab
Removed duplicated NEWS entity for issue #26881 .
2016-05-11 22:25:05 +03:00
Steven D'Aprano
3414e4a34f
NEWS message for issue #26977 .
2016-05-11 12:41:19 +10:00
Eric Snow
228ab1ff6b
Issue #21099 : Switch applicable importlib tests to use PEP 451 API.
2016-05-10 16:21:03 -06:00
Serhiy Storchaka
1f364438ad
Issue #23640 : int.from_bytes() no longer bypasses constructors for subclasses.
2016-05-12 10:39:32 +03:00
Serhiy Storchaka
25885d1dc5
Issue #27005 : Optimized the float.fromhex() class method for exact float.
2016-05-12 10:21:14 +03:00
Serhiy Storchaka
871639a6d5
Merge 3.5.
2016-05-11 22:25:31 +03:00
Steven D'Aprano
441581a79f
Update NEWS.
2016-05-11 13:01:42 +10:00
Steven D'Aprano
6494449a98
Merge NEWS update from 3.5 for issue #26977 .
2016-05-11 12:46:40 +10:00
Eric Snow
d65018b17c
Fixes #19711 : Add tests for reloading namespace packages.
2016-05-10 15:29:05 -06:00
Serhiy Storchaka
6a8af9ab36
Issue #25745 : Fixed leaking a userptr in curses panel destructor.
2016-05-09 00:14:22 +03:00
Serhiy Storchaka
df40b62390
Issue #25745 : Fixed leaking a userptr in curses panel destructor.
2016-05-09 00:11:59 +03:00
Serhiy Storchaka
3e99fdeed5
Issue #26881 : The modulefinder module now supports extended opcode arguments.
2016-05-08 23:44:54 +03:00
Serhiy Storchaka
02d9f5e5b2
Issue #26881 : The modulefinder module now supports extended opcode arguments.
2016-05-08 23:43:50 +03:00
Serhiy Storchaka
ce41287e99
Issue #18531 : Single var-keyword argument of dict subtype was passed
...
unscathed to the C-defined function. Now it is converted to exact dict.
2016-05-08 23:36:44 +03:00
Serhiy Storchaka
dea76376cb
Issue #23815 : Fixed crashes related to directly created instances of types in
...
_tkinter and curses.panel modules.
2016-05-08 20:46:55 +03:00
Serhiy Storchaka
e3f1b0911e
Issue #23815 : Fixed crashes related to directly created instances of types in
...
_tkinter and curses.panel modules.
2016-05-08 20:46:22 +03:00
Martin Panter
1ce738e08f
Merge typo fixes from 3.5
2016-05-08 14:02:35 +00:00
Martin Panter
f0564164ba
Fix typos in comments, documentation and test method names
2016-05-08 13:48:10 +00:00
Serhiy Storchaka
17e22959a4
Issue #17765 : weakref.ref() no longer silently ignores keyword arguments.
...
Patch by Georg Brandl.
2016-05-07 15:43:59 +03:00
Serhiy Storchaka
21eb48764c
Issue #17765 : weakref.ref() no longer silently ignores keyword arguments.
...
Patch by Georg Brandl.
2016-05-07 15:41:09 +03:00
Serhiy Storchaka
1acbf853c8
Issue #26736 : Used HTTPS for external links in the documentation if possible.
2016-05-07 10:49:58 +03:00
Serhiy Storchaka
6dff0205b7
Issue #26736 : Used HTTPS for external links in the documentation if possible.
2016-05-07 10:49:07 +03:00
Raymond Hettinger
584e8aedc3
Issue 26915: Add identity checks to the collections ABC __contains__ methods.
2016-05-05 11:14:06 +03:00
Serhiy Storchaka
fcce462e9c
Issue #26811 : gc.get_objects() no longer contains a broken tuple with NULL
...
pointer.
2016-05-04 21:42:52 +03:00
Serhiy Storchaka
7822f151b6
Issue #26811 : gc.get_objects() no longer contains a broken tuple with NULL
...
pointer.
2016-05-04 21:42:05 +03:00
Jason R. Coombs
ad039f7548
Issue #20120 : Merge with 3.5
2016-05-04 12:00:32 -04:00
Jason R. Coombs
422cf2b4ad
Issue #20120 : Use RawConfigParser for .pypirc parsing, removing support for interpolation unintentionally added with move to Python 3. Behavior no longer does any interpolation in .pypirc files, matching behavior in Python 2.7 and Setuptools 19.0.
2016-05-04 11:57:32 -04:00
Serhiy Storchaka
45cdcd93c9
Issue #26873 : xmlrpc now raises ResponseError on unsupported type tags
...
instead of silently return incorrect result.
2016-05-04 11:27:17 +03:00
Serhiy Storchaka
290fed43d9
Issue #26873 : xmlrpc now raises ResponseError on unsupported type tags
...
instead of silently return incorrect result.
2016-05-04 11:26:42 +03:00
Serhiy Storchaka
c2f7d87897
Issue #26932 : Fixed support of RTLD_* constants defined as enum values,
...
not via macros (in particular on Android). Patch by Chi Hsuan Yen.
2016-05-04 09:44:44 +03:00
Serhiy Storchaka
47d1d7f48a
Issue #26711 : Fixed the comparison of plistlib.Data with other types.
2016-05-01 13:36:42 +03:00
Serhiy Storchaka
dd1bcdf618
Issue #26711 : Fixed the comparison of plistlib.Data with other types.
2016-05-01 13:36:16 +03:00
Meador Inge
f1e2671fdf
Issue #24114 : Fix an uninitialized variable in `ctypes.util`.
...
The bug only occurs on SunOS when the ctypes implementation searches
for the `crle` program. Patch by Xiang Zhang. Tested on SunOS by
Kees Bos.
2016-04-30 22:17:22 -05:00
Meador Inge
8988ebf2a7
Issue #24114 : Fix an uninitialized variable in `ctypes.util`.
...
The bug only occurs on SunOS when the ctypes implementation searches
for the `crle` program. Patch by Xiang Zhang. Tested on SunOS by
Kees Bos.
2016-04-30 21:56:59 -05:00
Martin Panter
51b697b7f3
Issue #26864 : Merge no_proxy fixes from 3.5
2016-04-30 01:30:57 +00:00
Martin Panter
aa27982ffc
Issue #26864 : Fix case insensitivity and suffix comparison with no_proxy
...
Patch by Xiang Zhang.
2016-04-30 01:03:40 +00:00
Berker Peksag
3a31cca4ab
Issue #24902 : Print server URL on http.server startup
...
Initial patch by Felix Kaiser.
2016-04-29 16:48:11 +03:00
Serhiy Storchaka
b275210a3b
Issue #25788 : fileinput.hook_encoded() now supports an "errors" argument
...
for passing to open. Original patch by Joseph Hackman.
2016-04-27 23:13:46 +03:00
Serhiy Storchaka
cd9b5c2f40
Issue #26634 : recursive_repr() now sets __qualname__ of wrapper.
...
Patch by Xiang Zhang.
2016-04-26 09:31:11 +03:00
Serhiy Storchaka
b3b366d803
Issue #26634 : recursive_repr() now sets __qualname__ of wrapper.
...
Patch by Xiang Zhang.
2016-04-26 09:30:44 +03:00
Senthil Kumaran
0996fa3bd8
merge 3.5
...
Issue #26804 : urllib.request will prefer lower_case proxy environment variables
over UPPER_CASE or Mixed_Case ones.
Patch contributed by Hans-Peter Jansen. Reviewed by Martin Panter and Senthil Kumaran.
2016-04-25 08:18:07 -07:00
Senthil Kumaran
a7c0ff2f0b
Issue #26804 : urllib.request will prefer lower_case proxy environment variables
...
over UPPER_CASE or Mixed_Case ones.
Patch contributed by Hans-Peter Jansen. Reviewed by Martin Panter and Senthil Kumaran.
2016-04-25 08:16:23 -07:00
Serhiy Storchaka
81e7f94076
Merge 3.5
2016-04-25 08:58:59 +03:00
Serhiy Storchaka
685fbed7f9
Issue #26837 : assertSequenceEqual() now correctly outputs non-stringified
...
differing items (like bytes in the -b mode). This affects assertListEqual()
and assertTupleEqual().
2016-04-25 08:58:25 +03:00
Berker Peksag
e50d8465ab
Issue #26041 : Remove "will be removed in Python 3.7" from description messages
...
We will keep platform.dist() and platform.linux_distribution() to make porting
from Python 2 easier.
Patch by Kumaripaba Miyurusara Athukorala.
2016-04-24 03:32:50 +03:00
Berker Peksag
8d8221f0d6
Issue #26041 : Remove "will be removed in Python 3.7" from description messages
...
We will keep platform.dist() and platform.linux_distribution() to make porting
from Python 2 easier.
Patch by Kumaripaba Miyurusara Athukorala.
2016-04-24 03:32:24 +03:00
Serhiy Storchaka
745145a7da
Issue #26822 : itemgetter, attrgetter and methodcaller objects no longer
...
silently ignore keyword arguments.
2016-04-23 10:53:43 +03:00
Serhiy Storchaka
c2a2a751cf
Issue #26822 : itemgetter, attrgetter and methodcaller objects no longer
...
silently ignore keyword arguments.
2016-04-23 10:51:39 +03:00
Serhiy Storchaka
8b9eefc363
Issue #26733 : Disassembling a class now disassembles class and static methods.
...
Patch by Xiang Zhang.
2016-04-23 09:24:29 +03:00
Serhiy Storchaka
585c93daea
Issue #26733 : Disassembling a class now disassembles class and static methods.
...
Patch by Xiang Zhang.
2016-04-23 09:23:52 +03:00
Martin Panter
da28494d0a
Issue #22359 : Merge cross-compilation fix from 3.5
2016-04-23 01:18:54 +00:00
Martin Panter
1046d5c653
Issue #22359 : Disable running cross-compiled _freeze_importlib and pgen
...
Patch by Xavier de Gaye.
2016-04-23 00:58:44 +00:00
Victor Stinner
f5c4b99034
PyMem_Malloc() now uses the fast pymalloc allocator
...
Issue #26249 : PyMem_Malloc() allocator family now uses the pymalloc allocator
rather than system malloc(). Applications calling PyMem_Malloc() without
holding the GIL can now crash: use PYTHONMALLOC=debug environment variable to
validate the usage of memory allocators in your application.
2016-04-22 16:26:23 +02:00
Victor Stinner
b4faa8ef93
Merge 3.5
2016-04-20 18:23:59 +02:00
Victor Stinner
d7a71224d8
Issue #26799 : Fix typo in Misc/NEWS
2016-04-20 18:23:49 +02:00
Victor Stinner
c88390f02d
Merge 3.5: Issue #26799
2016-04-20 18:12:38 +02:00
Victor Stinner
4e75ca87e3
python-gdb.py: get C types at runtime
...
Issue #26799 : Fix python-gdb.py: don't get once C types when the Python code
is loaded, but get C types on demande. The C types can change if
python-gdb.py is loaded before the Python executable.
Patch written by Thomas Ilsche.
2016-04-20 18:07:21 +02:00
Victor Stinner
61f68dbd17
Issue #21668 : Fix author of the patch.
...
Sorry, it was hard to retrieve the original author of the patch in this issue
with a long history and many authors.
2016-04-20 09:58:12 +02:00
Martin Panter
abe4d52a1a
Merge doc and comment fixes from 3.5
2016-04-19 23:23:16 +00:00
Victor Stinner
0b2e98d53d
Optimize func(*tuple) function call
...
Issue #26802 : Optimize function calls only using unpacking like "func(*tuple)"
(no other positional argument, no keyword): avoid copying the tuple.
Patch written by Joe Jevnik.
2016-04-19 22:54:37 +02:00
Victor Stinner
5bfe0da808
Merge 3.5: issue #26801
2016-04-19 22:29:11 +02:00
Victor Stinner
119ebb70e9
Fix shutil.get_terminal_size() error handling
...
Issue #26801 : Fix error handling in shutil.get_terminal_size(), catch
AttributeError instead of NameError. Patch written by Emanuel Barry.
test_shutil: skip the functional test using "stty size" command if
os.get_terminal_size() is missing.
2016-04-19 22:24:56 +02:00
Victor Stinner
1fa5a38e92
Merge 3.5: Issue #21668
2016-04-19 15:58:33 +02:00
Victor Stinner
def8072c34
setup.py: add missing libm dependency
...
Issue #21668 : Link audioop, _datetime, _ctypes_test modules to libm, except on
Mac OS X. Patch written by Xavier de Gaye.
2016-04-19 15:58:11 +02:00
Lars Gustäbel
7c3e6848f2
Issue #24838 : Merge tarfile fix from 3.5.
2016-04-19 08:53:14 +02:00
Lars Gustäbel
0f450abec4
Issue #24838 : tarfile's ustar and gnu formats now correctly calculate name and
...
link field limits for multibyte character encodings like utf-8.
2016-04-19 08:43:17 +02:00
Martin Panter
8f26565ba9
Fix spelling (inital), grammar (may translates) in documentation, comments
2016-04-19 04:03:41 +00:00
Martin Panter
791ac54a44
Issue #26657 : Merge http.server fix from 3.5
2016-04-18 07:16:17 +00:00
Martin Panter
d274b3f1f1
Issue #26657 : Fix Windows directory traversal vulnerability with http.server
...
Based on patch by Philipp Hagemeister. This fixes a regression caused by
revision f4377699fd47.
2016-04-18 03:45:18 +00:00
Serhiy Storchaka
b6a9c9761c
Issue #26778 : Fixed "a/an/and" typos in code comment, documentation and error
...
messages.
2016-04-17 09:39:28 +03:00
Serhiy Storchaka
6a7b3a77b4
Issue #26778 : Fixed "a/an/and" typos in code comment and documentation.
2016-04-17 08:32:47 +03:00
Martin Panter
d77133b4ce
Issue #26717 : Merge wsgiref fix from 3.5
2016-04-17 02:36:50 +00:00
Martin Panter
50dd1f7dd6
Issue #26717 : Stop encoding Latin-1-ized WSGI paths with UTF-8
...
Patch by Anthony Sottile.
2016-04-17 02:17:03 +00:00
Martin Panter
528619b6c3
Issue #26782 : Add STARTUPINFO to subprocess.__all__ on Windows
2016-04-16 23:42:37 +00:00
Benjamin Peterson
259d247b31
merge 3.5 ( #26659 )
2016-04-16 14:54:27 -07:00
Benjamin Peterson
2b601d3905
add gc support to slice ( closes #26659 )
2016-04-16 14:47:12 -07:00
Gregory P. Smith
79a12a2aa5
Issue #25702 : A --with-lto configure option has been added that will
...
enable link time optimizations at build time during a make profile-opt.
2016-04-15 16:58:51 -07:00
Gregory P. Smith
d82da9f7f2
Issue #25702 : A --with-lto configure option has been added that will
...
enable link time optimizations at build time during a make profile-opt.
2016-04-15 16:57:04 -07:00
Martin Panter
cda80940ed
Issue #15984 : Merge PyUnicode doc from 3.5
2016-04-15 02:27:11 +00:00
Martin Panter
6245cb3c01
Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
...
This affects documentation, code comments, and a debugging messages.
2016-04-15 02:14:19 +00:00
Serhiy Storchaka
131b8f8eee
Issue #26718 : super.__init__ no longer leaks memory if called multiple times.
...
NOTE: A direct call of super.__init__ is not endorsed!
2016-04-13 15:28:53 +03:00
Serhiy Storchaka
3d7497608b
Issue #26718 : super.__init__ no longer leaks memory if called multiple times.
...
NOTE: A direct call of super.__init__ is not endorsed!
2016-04-13 15:27:33 +03:00
Steve Dower
a4d41b3a3e
Closes #26624 : Adds validation of ucrtbase[d].dll version with warning for old versions.
2016-04-12 20:11:45 -07:00
Steve Dower
a7a222fde7
Closes #26624 : Adds validation of ucrtbase[d].dll version with warning for old versions.
2016-04-12 20:11:25 -07:00
Martin Panter
0cab9c1eba
Issue #26404 : Add context manager to socketserver, by Aviv Palivoda
2016-04-13 00:36:52 +00:00
Victor Stinner
7258176c68
Merge 3.5 (os.urandom)
2016-04-12 22:38:22 +02:00
Victor Stinner
9d24271d86
Fix os.urandom() on Solaris 11.3
...
Issue #26735 : Fix os.urandom() on Solaris 11.3 and newer when reading more than
1,024 bytes: call getrandom() multiple times with a limit of 1024 bytes per
call.
2016-04-12 22:28:49 +02:00
Martin Panter
da3bb38452
Issue #26585 : Eliminate _quote_html() and use html.escape(quote=False)
...
Patch by Xiang Zhang.
2016-04-11 00:40:08 +00:00
Martin Panter
50ab1a3694
Issue #26685 : Raise OSError if closing a socket fails
2016-04-11 00:38:12 +00:00
Serhiy Storchaka
403002723f
Issue #25339 : PYTHONIOENCODING now has priority over locale in setting the
...
error handler for stdin and stdout.
2016-04-10 14:35:21 +03:00
Serhiy Storchaka
fc43511867
Issue #25339 : PYTHONIOENCODING now has priority over locale in setting the
...
error handler for stdin and stdout.
2016-04-10 14:34:13 +03:00
Berker Peksag
734423b87b
Issue #16329 : Add .webm to mimetypes.types_map
...
Patch by Giampaolo Rodola'.
2016-04-09 08:00:53 +03:00
Berker Peksag
d7fdc86153
Issue #16329 : Add .webm to mimetypes.types_map
...
Patch by Giampaolo Rodola'.
2016-04-09 08:00:20 +03:00
Berker Peksag
ba22cf8bdc
Issue #13952 : Add .csv to mimetypes.types_map
...
Patch by Geoff Wilson.
2016-04-09 07:53:00 +03:00
Berker Peksag
a2d7cf087f
Issue #13952 : Add .csv to mimetypes.types_map
...
Patch by Geoff Wilson.
2016-04-09 07:52:05 +03:00
Brett Cannon
5f0507d8ab
Issue #26587 : Allow .pth files to specify file paths as well as
...
directories.
Thanks to Wolfgang Langner for the bug report and initial version of
the patch.
2016-04-08 15:04:28 -07:00
Brett Cannon
9e080e0e74
Issue #25609 : Introduce contextlib.AbstractContextManager and
...
typing.ContextManager.
2016-04-08 12:15:27 -07:00
Serhiy Storchaka
c5b5ba9bda
Issue #26709 : Fixed Y2038 problem in loading binary PLists.
2016-04-08 15:00:33 +03:00
Serhiy Storchaka
94ad49fabc
Issue #26709 : Fixed Y2038 problem in loading binary PLists.
2016-04-08 15:00:02 +03:00
Martin Panter
b15c304984
Issue #6953 : Merge readline doc from 3.5
2016-04-05 10:17:38 +00:00
Martin Panter
0f7673943a
Issue #6953 : Rearrange and expand Readline module documentation
...
* Group functions into six new subsections
* Document the underlying Readline function or variable accessed
* get_history_length() returns the history file limit
* clear_history() is conditionally compiled in
* Clarify zero and one bases for history item indexes
* parse_and_bind() uses its argument directly as an init line
* Change "command line" to "line buffer" for consistency
* read_init_file() also executes the file
* read_history_file() replaces the previous history
* write_history_file() overwrites any existing file
* Differentiate history file lines from history list items, which could be
multi-line
* Add more information about completion, also addressing Issue #10796
* libedit (Editline) may be used on any platform; detection is OS X specific
2016-04-05 07:37:22 +00:00
Martin Panter
c86c91aab0
Merge typo fixes from 3.5
2016-04-05 06:20:32 +00:00
Martin Panter
cc71a795df
Fix typos in documentation and comments
2016-04-05 06:19:42 +00:00
Martin Panter
a3506005b3
Issue #23735 : Merge Readline resize handling from 3.5
2016-04-03 03:19:27 +00:00
Martin Panter
5dbbf1abba
Issue #23735 : Add SIGWINCH handler for Readline 6.3+ support, by Eric Price
2016-04-03 02:54:58 +00:00
Martin Panter
519f91215b
Issue #25951 : Fix SSLSocket.sendall() to return None, by Aviv Palivoda
2016-04-03 02:12:54 +00:00
Martin Panter
b93e4b2480
Issue #26586 : Merge excessive HTTP header handling from 3.5
2016-04-03 01:28:49 +00:00
Martin Panter
acc03195b0
Issue #26586 : Handle excessive header fields in http.server, by Xiang Zhang
2016-04-03 00:45:46 +00:00
Martin Panter
dcfebb32e2
Issue #26676 : Add missing XMLPullParser to ElementTree.__all__
2016-04-01 06:55:55 +00:00
Martin Panter
047f3b7376
Issue #22854 : Merge UnsupportedOperation fixes from 3.5
2016-03-31 08:25:59 +00:00
Martin Panter
754aab28ed
Issue #22854 : Clarify documentation about UnsupportedOperation and add tests
...
Also change BufferedReader.writable() and BufferedWriter.readable() to always
return False.
2016-03-31 07:21:56 +00:00
Serhiy Storchaka
ab0d198c7a
Issue #26492 : Exhausted iterator of array.array now conforms with the behavior
...
of iterators of other mutable sequences: it lefts exhausted even if iterated
array is extended.
2016-03-30 21:11:16 +03:00
Serhiy Storchaka
ab479c49d3
Issue #26494 : Fixed crash on iterating exhausting iterators.
...
Affected classes are generic sequence iterators, iterators of str, bytes,
bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding
views and os.scandir() iterator.
2016-03-30 20:41:15 +03:00
Serhiy Storchaka
fbb1c5ee06
Issue #26494 : Fixed crash on iterating exhausting iterators.
...
Affected classes are generic sequence iterators, iterators of str, bytes,
bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding
views and os.scandir() iterator.
2016-03-30 20:40:02 +03:00
Victor Stinner
9759dd3343
Issue #26295 : When using "python3 -m test --testdir=TESTDIR", regrtest doesn't
...
add "test." prefix to test module names.
regrtest also prepends testdir to sys.path.
2016-03-30 02:32:52 +02:00
Victor Stinner
b1511f789e
doctest now supports packages
...
Issue #26641 : doctest.DocFileTest and doctest.testfile() now support packages
(module splitted into multiple directories) for the package parameter.
2016-03-30 01:29:05 +02:00
Martin Panter
ef4bb1e994
Issue #23804 : Merge SSL zero read fix from 3.5
2016-03-28 01:09:13 +00:00