Victor Stinner
219a3f991a
Update gitignore from master ( #1329 )
...
Ignore more generated files.
2017-04-28 02:56:40 +02:00
Mariatta
24404b4c92
[2.7] bpo-30182: Use the correct name for ISO in Unicode HOWTO. (GH-1312). ( #1315 )
...
(cherry picked from commit 6fde770e4e
)
2017-04-26 22:25:40 -07:00
Dong-hee Na
19b3a4885c
[2.7] bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1305)
2017-04-26 09:55:32 -07:00
Serhiy Storchaka
bfc7dff63b
[2.7] bpo-15718: Document the upper bound constrain on the __len__ return value. (GH-1256). ( #1261 )
...
(cherry picked from commit 85157cd89a
)
2017-04-23 08:58:09 +03:00
Mariatta
91e5ee597e
[2.7] Add missing .gitignore entries for VS2015 IntelliSense DB (GH-1223). ( #1227 )
...
(cherry picked from commit 8e675286a9
)
2017-04-20 20:56:11 -07:00
Berker Peksag
fb12365c43
Remove redundant comma in argparse HOWTO (GH-1141)
...
Reported by Sean Canavan on docs@p.o.
(cherry picked from commit 8526fb74ed
)
2017-04-20 07:41:01 +03:00
cocoatomo
450a69c6a4
bpo-19225: Remove duplicated description for standard warning categories (GH-1068)
2017-04-20 06:57:21 +03:00
Serhiy Storchaka
2a1bf0633c
[2.7] [3.5] bpo-30070: Fixed leaks and crashes in errors handling in the parser module. (GH-1131). (GH-1185) ( #1189 )
...
(cherry picked from commit a79f4c2195
).
(cherry picked from commit 952a05e4e2
)
2017-04-20 00:48:57 +03:00
Serhiy Storchaka
64aa4df850
[2.7] bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (GH-1096) (GH-1180) ( #1183 )
...
raised an error.
(cherry picked from commit bf623ae884
)
(cherry picked from commit 680fea4
)
2017-04-19 22:34:58 +03:00
Christopher Snyder
32c43fbfee
Fix typo in HTTPConnection.set_tunnel description ( #1179 )
2017-04-19 08:45:16 -07:00
Serhiy Storchaka
89f9eb5b19
bpo-29943: Remove the PySlice_GetIndicesEx() macro. ( #1050 )
2017-04-16 10:08:47 +03:00
Serhiy Storchaka
5e79321742
bpo-30074: Fix compile warnings of _PySlice_Unpack and convert missed ( #1154 )
...
PySlice_GetIndicesEx in _ctypes.c.
2017-04-15 20:11:12 +03:00
Serhiy Storchaka
50f948edda
bpo-30011: Fixed race condition in HTMLParser.unescape(). ( #1140 )
2017-04-15 18:35:46 +03:00
Xiang Zhang
5fbdfc36f3
bpo-30068: add missing iter(self) in _io._IOBase.readlines when hint is present ( #1152 )
2017-04-15 13:18:22 +08:00
Michael Seifert
0b46fcf45a
[2.7] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1147)
2017-04-14 19:04:22 -07:00
Mariatta
b2b00e039c
[2.7] bpo-29738: Fix memory leak in _get_crl_dp (GH-526) (GH-1144)
...
* Remove conditional on free of `dps`, since `dps` is now allocated for
all versions of OpenSSL
* Remove call to `x509_check_ca` since it was only used to cache
the `crldp` field of the certificate
CRL_DIST_POINTS_free is available in all supported versions of OpenSSL
(recent 0.9.8+) and LibreSSL.
(cherry picked from commit 2849cc34a8
)
2017-04-14 18:24:22 -07:00
Serhiy Storchaka
53ad68434c
bpo-30021: Add examples for re.escape(). ( #1048 ) ( #1118 )
...
And fix the parameter name.
(cherry picked from commit 8fc7bc2b76
)
2017-04-13 19:47:18 +03:00
Serhiy Storchaka
65c5b096ac
bpo-30027: Fix Py3k warnings in test_xml_etree. ( #1065 )
2017-04-12 16:00:14 +03:00
Mariatta
e0cba5b45a
[2.7] bpo-29521: Fix two minor documentation build warnings (GH-41) (GH-670)
...
(cherry picked from commit 3d707be950
)
2017-04-10 10:27:50 -07:00
Mariatta
7026cd92c0
[2.7] Correct typo in configparser.rst (GH-1012) (GH-1026)
...
(cherry picked from commit 01fa9ae546
)
2017-04-09 15:16:06 -07:00
Nick Coghlan
ab16dc180e
bpo-29506: Clarify deep copy note in copy module
...
The reference to administrative data was confusing to readers,
so this simplifies the note to explain that deep copying may copy
more then you intended, such as data that you expected to be
shared between copies.
Patch by Sanyam Khurana.
2017-04-09 20:57:29 +10:00
Nick Coghlan
d6d943a090
Issue #29798 : Handle git worktree in patchcheck ( #1057 )
...
The original attempted fix missed an `isdir()` call in
`get_base_branch()`.
2017-04-09 18:32:48 +10:00
Serhiy Storchaka
e41390aca5
bpo-27867: Expand the PySlice_GetIndicesEx macro. ( #1023 ) ( #1046 )
...
(cherry picked from commit b879fe8
)
2017-04-08 11:48:57 +03:00
cocoatomo
7f85947106
[2.7] bpo-19225: Lack of c api exceptions doc ( #964 )
...
* Keep the c-api exception doc up-to-date
cherry-pick'ed from ec1f5df..e3d6db3 and fix conflict
2017-04-08 09:19:24 +03:00
Eric Wieser
9b50786bc7
Fix references within buffer protocol docs ( #1016 )
2017-04-06 20:36:43 +03:00
Mariatta
d7564e538c
remove merge=union attribute for Misc/NEWS (GH-460) (GH-989)
...
(cherry picked from commit 060d2d776a
)
2017-04-04 14:49:31 +02:00
Victor Stinner
23d6eb656e
bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS. ( #462 ) ( #973 )
...
* bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS
Skip some tests of select.poll when running on macOS due to unresolved
issues with the underlying system poll function on some macOS versions.
(cherry picked from commit de04644627
)
2017-04-03 18:11:22 +02:00
Ivan Mokeev
d64146c4b7
Fix socket leaks ( #351 )
...
* Fix socket leaks
* Fixed sockets leak
2017-04-03 13:06:34 +02:00
Serhiy Storchaka
9c2c42c221
bpo-27863: Fixed multiple crashes in ElementTree. ( #765 ) ( #903 ) ( #963 )
...
(cherry picked from commit 576def096e
)
(cherry picked from commit a6b4e19022
)
2017-04-02 20:37:03 +03:00
Serhiy Storchaka
68903b656d
bpo-15083: Convert ElementTree doctests to unittests. ( #906 )
2017-04-02 16:55:43 +03:00
INADA Naoki
5aa913d723
bpo-29952: Use usual terminology of dict (GH-924)
...
s/keys and elements/keys and values/
(cherry picked from commit cdcac039fb
)
2017-03-31 15:53:25 +09:00
Mandeep Singh
2ee01ecf41
[2.7] bpo-22392: Improve documentation for __getinitargs__ (GH-899)
2017-03-30 13:39:06 -07:00
T. Wouters
d694a06206
bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. ( #913 )
...
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:49:22 -07:00
Serhiy Storchaka
079f21f873
bpo-29935: Fixed error messages in the index() method of tuple and list ( #887 ) ( #907 ) ( #910 )
...
when pass indices of wrong type.
(cherry picked from commit d4edfc9abf
)
(cherry picked from commit bf4bb2e430
)
2017-03-30 20:32:18 +03:00
Senthil Kumaran
3ceca68741
bpo-29917: DOC: Remove link from PyMethodDef ( #890 ) ( #896 )
...
(cherry picked from commit c3c7ef0885
)
2017-03-29 22:29:12 -07:00
Mariatta
fd704a02ca
bpo-16011: clarify that 'in' always returns a boolean value (GH-152) (GH-883)
...
(cherry picked from commit 0ae7c8bd61
)
2017-03-29 14:10:13 -07:00
INADA Naoki
6a04ef7ced
bpo-29643: Fix check for --enable-optimizations (GH-873)
...
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 01:50:48 +09:00
Brett Cannon
d6654071cf
Drop the standard gcc test build on Travis (GH-853) (GH-861)
...
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:47:35 -07:00
cocoatomo
6f95b37f29
bpo-29888: Fix the link referring to "Python download page" (GH-823)
2017-03-26 22:59:14 -04:00
Antoine Pitrou
5084ff7ddf
bpo-29861: release references to multiprocessing Pool tasks ( #743 ) ( #803 )
...
* 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 16:03:46 +01:00
cocoatomo
de65804d5c
Insert a missing semicolon in sgmllib documentation ( #772 )
2017-03-22 21:12:36 +02:00
Xiang Zhang
dae5482c9c
fix function name in tabnanny documentation (GH-764)
2017-03-22 15:22:44 +08:00
Xiang Zhang
9c0408d9b6
bpo-29876: fix DECREF for NULL value in subelement() (GH-760)
2017-03-22 14:32:52 +08:00
Xiang Zhang
e6a55dd839
bpo-29874: fix INCREF for possible NULL values in select_select() (GH-758)
2017-03-22 12:46:14 +08:00
Xiang Zhang
827c78326a
bpo-29873: fix INCREF for possible NULL value in element_getattr() (GH-757)
2017-03-22 12:25:51 +08:00
Mariatta
91f79db02a
bpo-29856: Fix typo in curses documentation (GH-730) (GH-733)
...
From Shifted Dxit -> Shifted Exit in Doc/library/curses.rst
(cherry picked from commit 64508780d7
)
2017-03-19 20:55:34 -07:00
Brett Cannon
fc714fd931
Drop C++ header compatibility test ( #718 ) ( #721 )
...
The $CXX environment variable is not exported under the 'c' language on Travis.
(cherry picked from commit 77ed11552d
)
2017-03-19 10:05:18 -07:00
Brett Cannon
a5f8165909
[2.7] Combine the C++ header CI build into the main C build (GH-697) ( #706 )
...
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:46:32 -07:00
Serhiy Storchaka
1aa1803b3d
bpo-27880: Fixed integer overflow in cPickle when pickle large strings or ( #662 )
...
too many objects.
2017-03-14 07:29:33 +02:00
Xiang Zhang
4ec14c2360
fix parameter names in ftplib documentation (GH-656)
2017-03-13 10:41:38 +08:00