Vinay Sajip
ae0915e42d
Closes bpo-29939: suppress compiler warnings in _ctypes_test ( #1039 )
...
Changed test code to suppress a compiler warning, while taking care to avoid the code being optimized out by the compiler.
(cherry picked from commit 164d30eb1e )
2017-04-07 23:24:51 +01:00
Barry Warsaw
f688f180b2
Fix a minor typo. ( #1032 ) ( #1036 )
...
(cherry picked from commit dd9a0a14c8 )
2017-04-07 16:50:20 -04:00
Senthil Kumaran
041e6006db
Remove Invalid comment in test_urllib2.py ( #1021 )
...
(cherry picked from commit fd0cd07a5a )
2017-04-07 00:56:41 -07:00
cocoatomo
2cfe583ac8
[3.5] bpo-19225: Lack of c api exceptions doc ( #965 )
...
* Keep the c-api exception doc up-to-date
cherry-pick'ed from ec1f5df..e3d6db3 and fix conflict
2017-04-06 17:00:15 +03:00
Senthil Kumaran
2d8bda5c16
correct parse_qs and parse_qsl test case descriptions. ( #968 ) ( #998 )
...
(cherry picked from commit 257b980b31 )
2017-04-05 06:52:53 -07:00
Serhiy Storchaka
846bd39a9c
Miscellaneous minor fixes of Misc/NEWS formatting. ( #1002 ) ( #1006 )
...
(cherry picked from commit a0157b5f11 )
2017-04-05 13:42:37 +03:00
Senthil Kumaran
0f9ceaf322
bpo-29725: DOC: add text for arraysize in sqlite3.Cursor ( #947 ) ( #986 )
...
(cherry picked from commit 02e1213800 )
2017-04-03 22:28:23 -07:00
Senthil Kumaran
9881e02d69
Minor spell fix and formatting fixes in urllib tests. ( #959 ) ( #960 )
...
(cherry picked from commit efbd4ea65d )
2017-04-02 01:37:04 -07:00
T. Wouters
553275d125
bpo-29941: Assert fixes ( #886 ) ( #956 )
...
Make a non-Py_DEBUG, asserts-enabled build of CPython possible. This means
making sure helper functions are defined when NDEBUG is not defined, not
just when Py_DEBUG is defined.
Also fix a division-by-zero in obmalloc.c that went unnoticed because in
Py_DEBUG mode, elsize is never zero.
(cherry picked from commit a00c3fd12d and 06bb4873d6 )
2017-04-01 20:20:24 -07:00
Senthil Kumaran
51fc7e3d6a
bpo-26947: DOC: clarify wording on hashable in glossary ( #948 ) ( #958 )
...
(cherry picked from commit 64c887ab3a )
2017-04-01 20:00:41 -07:00
INADA Naoki
f315812113
bpo-29952: Use usual terminology of dict (GH-923)
...
s/keys and elements/keys and values/
(cherry picked from commit cdcac039fb )
2017-03-31 15:43:35 +09:00
Senthil Kumaran
6356a3b710
Remove catching OSError in ftphandler test. Only URLError is raised in urllib.request module. ( #918 ) ( #921 )
...
(cherry picked from commit ed3dd1c02a )
2017-03-30 23:15:56 -07:00
T. Wouters
9273dfe180
bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. ( #912 )
...
Fix the use of recursion in itertools.chain.from_iterable. Using recursion
is unnecessary, and can easily cause stack overflows, especially when
building in low optimization modes or with Py_DEBUG enabled.
(cherry picked from commit 5466d4af5f )
2017-03-30 12:48:55 -07:00
Serhiy Storchaka
8b8bde44f3
bpo-29935: Fixed error messages in the index() method of tuple, list and deque ( #887 ) ( #907 ) ( #909 )
...
when pass indices of wrong type.
(cherry picked from commit d4edfc9abf )
(cherry picked from commit bf4bb2e430 )
2017-03-30 20:31:46 +03:00
Serhiy Storchaka
c90ff1b78c
bpo-27863: Fixed multiple crashes in ElementTree. ( #765 ) ( #904 )
...
(cherry picked from commit 576def096e )
2017-03-30 10:32:19 +03:00
Senthil Kumaran
0fadf25e69
Remove an unrequired TODO in test_urllib2. ( #897 ) ( #901 )
...
(cherry picked from commit e6911a44f6 )
2017-03-29 23:56:57 -07:00
Senthil Kumaran
d1dbbaab01
bpo-29917: DOC: Remove link from PyMethodDef ( #890 ) ( #895 )
...
(cherry picked from commit c3c7ef0885 )
2017-03-29 22:29:06 -07:00
Mariatta
eef6e11f98
bpo-29677: DOC: clarify documentation for round (GH-877) (GH-893)
...
(cherry picked from commit 85deefcf61 )
2017-03-29 19:10:22 -07:00
Xiang Zhang
9f8e090458
bpo-28699: fix abnormal behaviour of pools in multiprocessing.pool (GH-884)
...
an exception raised at the very first of an iterable would cause pools behave abnormally
(swallow the exception or hang)
2017-03-29 12:51:29 +08:00
Mariatta
0957f262c5
bpo-16011: clarify that 'in' always returns a boolean value (GH-152) (GH-875)
...
(cherry picked from commit 0ae7c8bd61 )
2017-03-28 09:32:50 -07:00
INADA Naoki
e6a4953156
bpo-29643: Fix check for --enable-optimizations (GH-871)
...
The presence of the ``--enable-optimizations`` flag is indicated by the
value of ``$enableval``, but the configure script was checking ``$withval``,
resulting in the ``--enable-optimizations`` flag being effectively ignored.
(cherry picked from commit 8cea5929f5 )
2017-03-29 00:26:29 +09:00
Mariatta
8994f36287
bpo-29677: DOC: clarify documentation for round (GH-357) (GH-863)
...
(cherry picked from commit 6003db7db5 )
2017-03-27 17:09:21 -07:00
Brett Cannon
cb09f421c8
Drop the standard gcc test build on Travis (GH-853) (GH-860)
...
Instead have gcc be used for the coverage build so gcc is exercised in at least one place.
(cherry picked from commit ad2f9e2c8a )
2017-03-27 16:46:46 -07:00
Victor Stinner
cf57fe13b4
bpo-27425: Add .gitattributes, fix Windows tests ( #844 )
...
Mark binary files as binay in .gitattributes to not translate newline
characters in Git repositories on Windows.
2017-03-27 16:11:34 +02:00
Zachary Ware
ec3a32699e
Minor test cleanup (GH-837) (GH-839)
...
* Remove unused test file
* Remove duplicated text in sndhdrdata README
(cherry picked from commit b8a7daf077 )
2017-03-27 00:38:20 -05:00
Zachary Ware
c2492ddd7c
Treat Sphinx warnings as errors (GH-832) (GH-835)
...
(cherry picked from commit 334e9ec938 )
2017-03-26 22:54:45 -05:00
Ned Deily
8ce3085bf1
bpo-29888: Fix the link referring to the "Python download page" (GH-824) (GH-827)
...
(cherry picked from commit f8beb9831a )
2017-03-26 13:59:01 -04:00
Mariatta
55717b4b48
bpo-29862: Fix grammar in importlib.reload() exception (GH-809) (GH-812)
...
(cherry picked from commit 9f0aa4843f )
2017-03-25 03:42:38 -07:00
Serhiy Storchaka
1fc1f8d7f7
bpo-25803: Avoid incorrect errors raised by Path.mkdir(exist_ok=True) ( #805 ) ( #807 )
...
when the OS gives priority to errors such as EACCES over EEXIST.
(cherry picked from commit af7b9ec5c8 )
2017-03-24 21:46:46 +02:00
Antoine Pitrou
80cb6ed4db
bpo-29861: release references to multiprocessing Pool tasks ( #743 ) ( #801 )
...
* bpo-29861: release references to multiprocessing Pool tasks (#743 )
* bpo-29861: release references to multiprocessing Pool tasks
Release references to tasks, their arguments and their results as soon
as they are finished, instead of keeping them alive until another task
arrives.
* Comments in test
(cherry picked from commit 8988945cdc )
* Fix Misc/NEWS??
2017-03-24 15:19:18 +01:00
Christophe Zeitouny
6a45811d06
faulthandler: Restore the old sigaltstack during teardown (GH-777) (GH-796)
...
(cherry picked from commit 20fbf8accd )
2017-03-24 04:21:37 -07:00
Mariatta
a6a856f4d8
Remove an outdated statement in execution model docs (GH-754) (GH-774)
...
(cherry picked from commit fad7f15606 )
2017-03-22 18:55:33 -07:00
INADA Naoki
d7df9e61c8
doc: minor fix for library/profile (GH-767)
...
(cherry picked from commit bd3d8ba3b2 )
2017-03-22 17:14:17 +09:00
Xiang Zhang
cb4beb6b89
fix function name in tabnanny documentation (GH-763)
2017-03-22 16:03:27 +08:00
Ned Deily
ed512cba78
bpo-27593: Revise git SCM build info. ( #744 ) ( #746 )
...
Use --short form of git hash. Use output from "git describe" for tag.
Expected outputs:
1. previous hg
2. previous git
3. updated git
Release (tagged) build:
1. Python 3.7.0a0 (v3.7.0a0:4def2a2901a5, ...
2. Python 3.7.0a0 (v3.7.0a0^0:05f53735c8912f8df1077e897f052571e13c3496, ...
3. Python 3.7.0a0 (v3.7.0a0:05f53735c8, ...
Development build:
1. Python 3.7.0a0 (default:41df79263a11, ...
2. Python 3.7.0a0 (master:05f53735c8912f8df1077e897f052571e13c3496, ...
3. Python 3.7.0a0 (heads/master-dirty:05f53735c8, ...
"dirty" means the working tree has uncommitted changes.
See "git help describe" for more info.
(cherry picked from commit 554626ada7 )
2017-03-21 00:35:51 -04:00
Serhiy Storchaka
4276068fe5
bpo-28876: bool of large range raises OverflowError ( #699 ) ( #735 )
...
(cherry picked from commit e46fb86118 )
2017-03-20 09:37:31 +02:00
Mariatta
7cc071c96b
bpo-29856: Fix typo in curses documentation (GH-730) (GH-732)
...
From Shifted Dxit -> Shifted Exit in Doc/library/curses.rst
(cherry picked from commit 64508780d7 )
2017-03-19 20:58:34 -07:00
Serhiy Storchaka
08612ed6a9
bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. ( #514 ) ( #727 )
...
(cherry picked from commit a5af6e1af7 )
2017-03-20 00:51:16 +02:00
Serhiy Storchaka
bb67f10179
bpo-29845: Mark tests that use _testcapi as CPython-only ( #711 ) ( #726 )
...
(cherry picked from commit 24c738a9e9 )
2017-03-19 21:38:53 +02:00
Serhiy Storchaka
2c5b2c3832
bpo-29116: Fix error messages for concatenating bytes and bytearray with unsupported type. ( #709 ) ( #724 )
...
(cherry picked from commit 6b5a9ec478 )
2017-03-19 21:06:44 +02:00
Serhiy Storchaka
88b32eb7b3
bpo-28749: Fixed the documentation of the mapping codec APIs. ( #487 ) ( #715 )
...
Added the documentation for PyUnicode_Translate().
(cherry picked from commit c85a26628c )
2017-03-19 20:26:42 +02:00
Brett Cannon
3091636f16
Drop C++ header compatibility test ( #718 ) ( #720 )
...
The $CXX environment variable is not exported under the 'c' language on Travis.
(cherry picked from commit 77ed11552d )
2017-03-19 10:03:48 -07:00
Brett Cannon
825153bf8f
Combine the C++ header CI build into the main C build (GH-697) (GH-705)
...
This will eliminate one of the builds in Travis, allowing for CI overall to complete faster.
(cherry picked from commit 993d4b3440 )
2017-03-17 15:41:48 -07:00
Vinay Sajip
e59af55c28
bpo-29808: Do not fail in SysLogHandler constructor if syslog isn't available. ( #695 )
...
bpo-29808: SysLogHandler: Do not fail if initial connect to syslog failed.
(cherry picked from commit 1b038e0738 )
2017-03-17 19:54:50 +00:00
Berker Peksag
41b4a2189f
bpo-16355: Clarify when inspect.getcomments() returns None ( #428 ) ( #691 )
...
Initial patch by Vajrasky Kok.
(cherry picked from commit 3f2155ffe6 )
2017-03-17 14:37:51 +03:00
Mariatta
091d90f9a4
bpo-29820: othergui.rst: Remove outdated information (GH-685) (GH-689)
...
(cherry picked from commit 1bb0f3762e )
2017-03-16 19:57:12 -07:00
Steve Dower
00cbb8a0fa
Takes vcruntime140.dll from the correct source. ( #683 )
2017-03-16 10:45:41 -07:00
Berker Peksag
9a29d7577a
Change assertRaises to assertRaisesRegex in test_xmlrpc ( #481 ) ( #675 )
...
(cherry picked from commit c6b448b36d )
2017-03-15 14:13:09 +03:00
Michael Seifert
0641ada9b7
bpo-29800: Fix crashes in partial.__repr__ if the keys of partial.keywords are not strings ( #649 ) ( #672 )
2017-03-15 09:42:30 +02:00
Xiang Zhang
59883bb252
ftplib.FTP.retrbinary callback gets a bytes, not a str (GH-652) (GH-658)
2017-03-13 11:06:58 +08:00