Commit graph

89696 commits

Author SHA1 Message Date
Serhiy Storchaka
442a894d1e Issue #24284: The startswith and endswith methods of the str class no longer
return True when finding the empty string and the indexes are completely out
of range.
2015-05-31 09:16:13 +03:00
Serhiy Storchaka
d4ea03c785 Issue #24284: The startswith and endswith methods of the str class no longer
return True when finding the empty string and the indexes are completely out
of range.
2015-05-31 09:15:51 +03:00
Benjamin Peterson
49fc2c3bba merge 3.5 2015-05-31 00:22:49 -05:00
Benjamin Peterson
3d4a457663 improve section title 2015-05-31 00:22:42 -05:00
Yury Selivanov
23f8d52087 Issue 24004: Add a unittest for @asyncio.coroutine supporting Awaitables
(Merge 3.5)
2015-05-30 21:04:58 -04:00
Yury Selivanov
ad583a8e6d Issue 24004: Add a unittest for @asyncio.coroutine supporting Awaitables 2015-05-30 21:04:37 -04:00
Yury Selivanov
f525e5fb3e Issue 24004: Support Awaitables (pep 492) in @asyncio.coroutine decorator
(Merge 3.5)
2015-05-30 21:02:49 -04:00
Yury Selivanov
353f2299bf Issue 24004: Support Awaitables (pep 492) in @asyncio.coroutine decorator
(Merge 3.4)
2015-05-30 21:02:34 -04:00
Yury Selivanov
a316085192 Issue 24004: Support Awaitables (pep 492) in @asyncio.coroutine decorator 2015-05-30 21:02:12 -04:00
Larry Hastings
115b0da540 Change SOURCE_URI for pydoc source URLs to point back to correct branch for 3.6. 2015-05-30 17:28:56 -07:00
Yury Selivanov
c8687822c1 Issue #23934: Fix inspect.signature to fail correctly for builtin types.
Initial patch by James Powell. (Merge 3.5)
2015-05-30 17:09:15 -04:00
Yury Selivanov
bf304fcb32 Issue #23934: Fix inspect.signature to fail correctly for builtin types.
Initial patch by James Powell.
2015-05-30 17:08:36 -04:00
Eric Snow
97abf97e45 Merge from 3.5. 2015-05-30 14:56:30 -06:00
Eric Snow
dce09c34a0 Issue #16991: Add odictobject.h on Windows. 2015-05-30 14:56:04 -06:00
Eric Snow
06a6a83826 Issue #16991: Use the correct version for master. 2015-05-30 14:34:10 -06:00
Eric Snow
59b2f6803c Merge from 3.5. 2015-05-30 14:26:40 -06:00
Eric Snow
f3b73ad51d Issue #16991: Add PyODict* to Windows builds. 2015-05-30 14:19:27 -06:00
Eric Snow
e39facfdbc Issue #16991: Ensure that the proper OrderedDict is used in tests. 2015-05-30 13:24:54 -06:00
Eric Snow
7a3414c201 Merge from 3.5. 2015-05-30 12:55:22 -06:00
Eric Snow
e3dfa9e5ce Issue #16991: Fix a few leaks and other memory-related concerns in OrderedDict. 2015-05-30 12:51:15 -06:00
Eric Snow
1edcb2242b Merge from 3.5. 2015-05-30 12:06:26 -06:00
Eric Snow
d0a06455a5 Issue #16991: Drop Py_ODict_GetItemId. 2015-05-30 12:06:03 -06:00
Eric Snow
3ef8958e40 Merge from 3.5. 2015-05-30 12:00:05 -06:00
Eric Snow
82a94186c8 merge 2015-05-30 11:59:17 -06:00
Yury Selivanov
d1402acc09 Issue 22357: Merge from 3.5 2015-05-30 13:54:52 -04:00
Yury Selivanov
582b8c7629 Issue 22357: Merge from 3.4 2015-05-30 13:54:36 -04:00
Yury Selivanov
0339568753 Issue 22357: Document __qualname__ in inspect.rst 2015-05-30 13:53:49 -04:00
Yury Selivanov
b5379ed2b6 docs: Sync whatsnew/3.5.rst with 3.6 2015-05-30 13:47:57 -04:00
Eric Snow
67fb92e8c6 Issue #16991: Do not return None from OrderedDict.__reversed__. 2015-05-30 11:43:36 -06:00
Eric Snow
c5e59609ac Issue #16991: Properly handle return values in several places. 2015-05-30 11:28:56 -06:00
Serhiy Storchaka
e971297c01 Issue #5633: Fixed timeit when the statement is a string and the setup is not.
Refactored timeit.__init__ for unified handling of stmt and setup parameters.
2015-05-30 19:45:36 +03:00
Serhiy Storchaka
1b560cbf85 Issue #5633: Fixed timeit when the statement is a string and the setup is not.
Refactored timeit.__init__ for unified handling of stmt and setup parameters.
2015-05-30 19:44:55 +03:00
Serhiy Storchaka
f28fa66351 Issue #5633: Fixed timeit when the statement is a string and the setup is not. 2015-05-30 19:38:26 +03:00
Eric Snow
6e15fdfdec Merge from 3.5. 2015-05-30 09:34:28 -06:00
Eric Snow
8c7ed012b8 Issue #16991: Use PyObject_TypeCheck instead of PyObject_IsInstance. 2015-05-30 09:29:53 -06:00
Yury Selivanov
0521b28fc3 Null merge 2015-05-30 10:59:09 -04:00
Yury Selivanov
7aa5341164 Reverting my previous commit.
Something went horribly wrong when I was doing `hg rebase`.
2015-05-30 10:57:56 -04:00
Yury Selivanov
802d45b660 Merge 3.5 2015-05-30 10:49:27 -04:00
Yury Selivanov
5844436adf docs/whatsnew: Mention OrderedDict C implementation 2015-05-30 10:49:09 -04:00
Serhiy Storchaka
e90982111a Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains()
to check for and handle errors correctly.
2015-05-30 17:48:54 +03:00
Serhiy Storchaka
ac5569b1fa Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains()
to check for and handle errors correctly.
2015-05-30 17:48:19 +03:00
Serhiy Storchaka
fa494fd883 Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains()
to check for and handle errors correctly.
2015-05-30 17:45:22 +03:00
Serhiy Storchaka
f49c42324f Use test.support.start_threads() in threaded lru_cache tests. 2015-05-30 15:49:42 +03:00
Serhiy Storchaka
bf2b3b72d3 Use test.support.start_threads() in threaded lru_cache tests. 2015-05-30 15:49:17 +03:00
Serhiy Storchaka
2806518e0c Specify default values of semantic booleans in Argument Clinic generated signatures as booleans. 2015-05-30 11:32:58 +03:00
Serhiy Storchaka
8b2e8b6cce Specify default values of semantic booleans in Argument Clinic generated signatures as booleans. 2015-05-30 11:30:39 +03:00
Serhiy Storchaka
dcb591f8f3 Use converter names instead of format units in Argument Clinic descriptions
in builtin and _crypt modules.
2015-05-30 11:10:58 +03:00
Serhiy Storchaka
7e810a6e3d Use converter names instead of format units in Argument Clinic descriptions
in builtin and _crypt modules.
2015-05-30 11:09:35 +03:00
Raymond Hettinger
b811b649ca merge 2015-05-29 22:14:50 -07:00
Raymond Hettinger
4c97a62ae3 Issue #23509: Speed up Counter operators
(Based on patch by Serhiy Storchaka.)
2015-05-29 22:14:07 -07:00