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
Senthil Kumaran
6fce35354a
merge 3.5.
...
[minor] - Correct the docstring of locale.str. Patch by poleto.
2016-04-12 23:15:44 -07:00
Senthil Kumaran
a3c532b0ed
[minor] - Correct the docstring of locale.str. Patch by poleto.
2016-04-12 23:14:14 -07:00
Martin Panter
81939db712
Issue #25496 : Merge tarfile doc from 3.5
2016-04-13 03:31:33 +00:00
Martin Panter
7f7c605f29
Issue #25496 : Document compresslevel defaults to 9, by Hamza T Khan
2016-04-13 03:24:06 +00: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
1b80b24007
configure: fix HAVE_GETRANDOM_SYSCALL check
...
syscall() function requires #include <unistd.h>.
2016-04-12 22:34:58 +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
Victor Stinner
328cb1fed0
Update pygettext.py to get ride of imp
...
Issue #26639 : Replace imp with importlib in Tools/i18n/pygettext.py.
Remove _get_modpkg_path(), replaced with importlib.util.find_spec().
2016-04-12 18:46:10 +02:00
Victor Stinner
a07614aa31
Merge 3.5
2016-04-12 18:33:54 +02:00
Victor Stinner
c6ec54d8eb
Issue #26647 : Fix typo in test_grammar
...
Patch written by Demur Rumed.
2016-04-12 18:33:41 +02:00
Victor Stinner
7e50978a4e
Issue #26647 : Cleanup modulefinder
...
Use directly dis.opmap[name] rather than dis.opname.index(name).
Patch written by Demur Rumed.
2016-04-12 18:17:06 +02:00
Victor Stinner
7b228231c7
Issue #26647 : Cleanup opcode
...
Simplify code to build opcode.opname. Patch written by Demur Rumed.
2016-04-12 18:15:26 +02:00
Georg Brandl
2cfa4c7b27
merge with 3.5
2016-04-12 07:52:22 +02:00
Georg Brandl
7ff033bd62
Clarify greedy-qualifier example, avoid HTML.
2016-04-12 07:51:41 +02:00
Serhiy Storchaka
2940255df2
Issue #26733 : Fixed formatting line numbers in test_dis.
...
Based on patch by Xiang Zhang.
2016-04-12 08:47:08 +03:00
Serhiy Storchaka
247763d64e
Issue #26733 : Fixed formatting line numbers in test_dis.
...
Based on patch by Xiang Zhang.
2016-04-12 08:46:28 +03:00
Serhiy Storchaka
96790a4b82
Issue #25910 : Fixed more links in the docs.
2016-04-11 17:33:27 +03:00
Serhiy Storchaka
de886d9233
Issue #25910 : Fixed more links in the docs.
2016-04-11 17:32:33 +03:00
Victor Stinner
21de67f900
Merge 3.5
2016-04-11 16:23:37 +02:00
Victor Stinner
a9901e86ba
typing doc: add versionadded 3.5
2016-04-11 16:23:22 +02:00
Berker Peksag
1dc2dda4e3
Add a versionchanged directive to document addition of the new 'namereplace' error handler.
...
Reported by Robert on docs@p.o.
2016-04-11 13:50:04 +03:00
Berker Peksag
2c57da0e48
Add a versionchanged directive to document addition of the new 'namereplace' error handler.
...
Reported by Robert on docs@p.o.
2016-04-11 13:49:46 +03:00
Serhiy Storchaka
313f4c6db6
Null merge
2016-04-11 12:39:18 +03:00
Serhiy Storchaka
ba416eef18
Merge heads
2016-04-11 12:39:07 +03:00
Serhiy Storchaka
a1f5f8bc79
Merge heads
2016-04-11 12:38:54 +03:00
Serhiy Storchaka
336fc5bbb0
Issue #25910 : Fixed dead links in the docs.
2016-04-11 12:34:07 +03:00
Berker Peksag
8e72f503b1
Fix typos in mock and exceptions docs
...
The default value of __len__ is 0, not 1:
>>> from unittest.mock import MagicMock
>>> mock = MagicMock()
>>> len(mock)
0
Reported by Alex on docs@p.o.
Remove the remaining VMSError reference. VMS support is gone.
2016-04-11 12:23:25 +03:00
Berker Peksag
8fafc74d45
Fix typos in mock and exceptions docs
...
The default value of __len__ is 0, not 1:
>>> from unittest.mock import MagicMock
>>> mock = MagicMock()
>>> len(mock)
0
Reported by Alex on docs@p.o.
Remove the remaining VMSError reference. VMS support is gone.
2016-04-11 12:23:04 +03:00
Serhiy Storchaka
90be7333ea
Issue #25910 : Fixed dead links in the docs.
2016-04-11 12:18:56 +03:00
Serhiy Storchaka
59865e7fe1
Issue #26200 : Restored more safe usages of Py_SETREF.
2016-04-11 09:57:37 +03:00
Serhiy Storchaka
864b63c33f
Issue #26200 : Restored more safe usages of Py_SETREF.
2016-04-11 09:53:37 +03:00
Martin Panter
a29f720493
Issue #14456 : Merge signal doc fix from 3.5
2016-04-11 02:45:22 +00:00
Martin Panter
199e3f8b96
Issue #14456 : Remove contradiction about blocking signals from bad merge
2016-04-11 02:44:34 +00: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
f01e408c16
Issue #26200 : Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
...
in places where Py_DECREF was used.
2016-04-10 18:12:01 +03:00
Serhiy Storchaka
57a01d3a0e
Issue #26200 : Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
...
in places where Py_DECREF was used.
2016-04-10 18:05:40 +03:00
Serhiy Storchaka
47c5474aa0
Issue #26623 : TypeError message for JSON unserializible object now contains
...
object's type name, not object's representation.
Based on patch by Mahmoud Lababidi.
2016-04-10 15:46:30 +03:00
Serhiy Storchaka
03f17f8671
Issue #17339 : Improved TypeError message in bytes constructor.
2016-04-10 14:44:59 +03:00
Serhiy Storchaka
96cdbe7bc8
Issue #26719 : More efficient formatting of ints and floats in json.
2016-04-10 14:43:04 +03:00
Serhiy Storchaka
e0805cf10e
Issue #26719 : More efficient formatting of ints and floats in json.
2016-04-10 14:41:19 +03: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
Martin Panter
cfff15d274
Issue #26712 : Merge string_tests cleanup from 3.5
2016-04-10 09:16:23 +00:00
Martin Panter
731b1b12b8
Remove relics of str8 (became bytes) and buffer (bytearray) type tests
...
Remove redundant tests now that str is unicode.
2016-04-10 08:48:51 +00:00