Gregory P. Smith
ad45ab876f
Exclude super long running tests from the PROFILE_TASK for PGO
...
builds. multiprocessing and subprocess tests in particular
along with test_asyncore and test_gdb. Running them does not
meaningfully add to the profile guidance.
2016-04-15 16:45:43 -07:00
Martin Panter
dfa7e8c493
Issue #26535 : Merge struct doc from 3.5
2016-04-15 23:16:51 +00:00
Martin Panter
b030991a5f
Issue #26535 : Correct docs regarding the struct buffer size
2016-04-15 23:03:54 +00:00
Berker Peksag
43de36d2c7
Issue #26766 : Remove redundant bytearray_format() from bytearrayobject.c
2016-04-16 01:20:47 +03:00
Brett Cannon
1f8a1cc0f7
Merge for issue #26760
2016-04-15 12:44:09 -07:00
Brett Cannon
abf797df66
Issue #26760 : Minimally document PyFrameObject
2016-04-15 12:43:50 -07:00
Steven D'Aprano
6dda1b14af
Remove python fallback for compare_digest.
...
See https://mail.python.org/pipermail/python-dev/2016-April/144198.html
https://mail.python.org/pipermail/python-dev/2016-April/144203.html
2016-04-16 04:33:55 +10:00
Brett Cannon
d48a202fb6
Merge for issue #25609
2016-04-15 10:51:46 -07:00
Brett Cannon
f3ad042bfb
Issue #25609 : Backport typing.ContextManager.
...
This has no semantic impact as the class is guarded with a hasattr()
check; this is being done to keep typing.py in sync between Python 3.5
and 3.6 as requested by Guido.
2016-04-15 10:51:30 -07:00
Victor Stinner
e914d41312
Issue #26766 : Fix _PyBytesWriter_Finish()
...
Return a bytearray object when bytearray is requested and when the small buffer
is used.
Fix also test_bytes: bytearray%args must return a bytearray type.
2016-04-15 17:52:27 +02:00
Serhiy Storchaka
12bb6f4c7d
Null merge
2016-04-15 14:14:05 +03:00
Serhiy Storchaka
3c149a6832
Issue #26764 : Bacported tests for bytes formatting.
2016-04-15 14:13:37 +03:00
Serhiy Storchaka
c9a59e6e4f
Issue #26764 : Fixed SystemError in bytes.__rmod__.
2016-04-15 14:11:10 +03:00
Martin Panter
cda80940ed
Issue #15984 : Merge PyUnicode doc from 3.5
2016-04-15 02:27:11 +00:00
Martin Panter
20d325574e
Issue #15984 : Correct PyUnicode_FromObject() and _FromEncodedObject() docs
2016-04-15 00:56:21 +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
Steven D'Aprano
8ca020e1cc
Fix missing parens.
2016-04-15 10:06:18 +10:00
Steven D'Aprano
08fbef040a
Improve tests with more modern assert* methods and subTests.
2016-04-15 10:04:24 +10:00
Steven D'Aprano
a873f68248
run Tools/reindent.py on secrets.py to satisfy the checkwhitespace hook
2016-04-15 01:55:14 +10:00
Steven D'Aprano
95702725ff
Add secrets module and tests.
2016-04-15 01:51:31 +10:00
Zachary Ware
15d2d49ce6
Closes #26706 : Merge with 3.5
2016-04-14 10:22:58 -05:00
Zachary Ware
7d82d0366b
Issue #26706 : Update OpenSSL version in PCbuild/readme.txt
...
Thanks to Shaun Walbridge for noticing.
2016-04-14 10:22:12 -05:00
Berker Peksag
2c164b738d
Fix unused variable 'libver' warning in Modules/_ssl.c
...
It can be seen on various buildbots like 3.x.cea-indiana-amd64
and 3.x.murray-snowleopard:
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Modules/_ssl.c:2227: warning: unused variable 'libver'
/Users/buildbot/buildarea/3.x.murray-snowleopard/build/Modules/_ssl.c:2227: warning: unused variable ‘libver’
2016-04-14 16:49:21 +03:00
Berker Peksag
dfcb041195
Fix unused variable 'libver' warning in Modules/_ssl.c
...
It can be seen on various buildbots like 3.x.cea-indiana-amd64
and 3.x.murray-snowleopard:
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Modules/_ssl.c:2227: warning: unused variable 'libver'
/Users/buildbot/buildarea/3.x.murray-snowleopard/build/Modules/_ssl.c:2227: warning: unused variable ‘libver’
2016-04-14 16:48:48 +03:00
Serhiy Storchaka
23c5cbbdde
fs_unicode_converter is no longer used.
2016-04-14 12:36:11 +03:00
Serhiy Storchaka
2eb6b0d1bd
Issues #26716 , #26057 : Regenerate Argument Clinic code.
2016-04-14 12:30:54 +03:00
Serhiy Storchaka
d6117a4296
Issue #26716 : Regenerate Argument Clinic code.
2016-04-14 12:28:01 +03:00
Ethan Furman
0fe7978c68
Issue26748: Enum classes should evaluate as True
2016-04-13 23:55:40 -07:00
Ethan Furman
de4e079d3d
Issue26748: Enum classes should evaluate as True
2016-04-13 23:53:45 -07:00
Ethan Furman
5de67b106a
Issue26748: Enum classes should evaluate as True
2016-04-13 23:52:09 -07:00
Serhiy Storchaka
21a663ea28
Issue #26057 : Got rid of nonneeded use of PyUnicode_FromObject().
2016-04-13 15:37:23 +03: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
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