List of commits:
Subject Hash Author Date (UTC)
Fix wrapping into StopIteration of return values in generators and coroutines (#644) b7c9150b68516878175e5373983189d6deea470c Yury Selivanov 2017-03-12 19:53:07
bpo-29742: asyncio get_extra_info() throws exception (#525) 2b27e2e6a35c3d3e369612b984017fe0d1bfcf0c Nikolay Kim 2017-03-12 19:23:30
bpo-28667: Fix a compile warning on FreeBSD when compare with FD_SETSIZE. (#501) 783d0c1a1c723733adcdf4249240246fc35a5bcb Serhiy Storchaka 2017-03-12 12:43:12
bpo-15695: Add PyAPI_FUNC() to _PyDict_SizeOf() declaration. (#639) bc44f045e6a801903bd7530a4fc5474e657832da Serhiy Storchaka 2017-03-12 12:15:54
bpo-26121: Revert to using the own implementations of lgamma and gamma on all platforms. (#637) 4125e5c60e24ffcff8031817dc60984335917f59 Serhiy Storchaka 2017-03-12 12:08:06
bpo-8256: Fixed possible failing or crashing input() (#517) c2cf12857187aa147c268651f10acd6da2c9cb74 Serhiy Storchaka 2017-03-12 11:50:36
bpo-26121: Use C library implementation for math functions erf() and erfc() on Windows. (#632) 4dadcd4ed7824c7904add78577e6a05864cfe493 Serhiy Storchaka 2017-03-12 11:39:22
bpo-29723: Add missing NEWS entry (#638) 27abb0e533a6f7ad195bd56b064c32164296a56e Nick Coghlan 2017-03-12 11:34:32
bpo-28692: Deprecate using non-integer value for selecting a plural form in gettext. (#507) f6595983e08fe20cf06a2535d74d912c6dbb044f Serhiy Storchaka 2017-03-12 11:15:01
bpo-20185: Convert the resource moduel to Argument Clinic. (#545) 1989763f0d0858ce6274f5e1d725b5b8da91a780 Serhiy Storchaka 2017-03-12 11:08:30
bpo-29723: Consistently configure sys.path[0] (#575) d2977a3ae2cc6802921b1e3b6e9d13fcfbda872d Nick Coghlan 2017-03-12 10:38:32
bpo-29798: Handle git worktree in `make patchcheck` (#629) 6a6d090612dd7deaac2bc0399fad743e5e2db606 Nick Coghlan 2017-03-12 09:37:09
bpo-15695: Implemented StgDict.__sizeof__(). (#509) 8999caeb003ed292011e98b8a30746cce787a125 Serhiy Storchaka 2017-03-12 09:12:30
bpo-24037: Add Argument Clinic converter `bool(accept={int})`. (#485) 202fda55c2dffe27125703225e5af92254602dc6 Serhiy Storchaka 2017-03-12 08:10:47
bpo-20185: Convert the marshal module to Argument Clinic. (#541) 0767ad40bfe83525d2ba290cc6eb7c97ce01cdd6 Serhiy Storchaka 2017-03-12 07:20:15
bpo-29746: Update marshal docs to Python 3. (#547) c611a5b1d4fab0123bf622f06c3bfa510221dc32 Serhiy Storchaka 2017-03-12 06:53:22
bpo-29763: Use support.unlink instead of os.unlink (GH-624) 93710c152e6bcfffdf2f1f15bb5f75b013aef422 Zachary Ware 2017-03-12 04:10:07
bpo-29656: Handle PR branches in 'make patchcheck' (#302) 482f7a274fa52b7ba34ff308cd9acdcac9f41ba5 Nick Coghlan 2017-03-12 03:19:08
bpo-26121: Use C library implementation for math functions: (#515) 97553fdf9daa8231eb05a1ca9933a2b03b0bdad0 Serhiy Storchaka 2017-03-11 21:37:16
Only trigger AppVeyor on code or config changes (GH-611) c5d3bfea0b0bba34bc3cd517a12153e189c80556 Zachary Ware 2017-03-11 20:55:35
Commit b7c9150b68516878175e5373983189d6deea470c - Fix wrapping into StopIteration of return values in generators and coroutines (#644)
Author: Yury Selivanov
Author date (UTC): 2017-03-12 19:53
Committer name: GitHub
Committer date (UTC): 2017-03-12 19:53
Parent(s): 2b27e2e6a35c3d3e369612b984017fe0d1bfcf0c
Signer:
Signing key:
Signing status: N
Tree: fa75438db1961d80c67986809c1c91e934089308
File Lines added Lines deleted
Lib/test/test_coroutines.py 15 0
Objects/genobject.c 1 2
File Lib/test/test_coroutines.py changed (mode: 100644) (index b4c7b5be6e..a69583b5f9)
... ... class CoroutineTest(unittest.TestCase):
1103 1103 "coroutine is being awaited already"): "coroutine is being awaited already"):
1104 1104 waiter(coro).send(None) waiter(coro).send(None)
1105 1105
1106 def test_await_16(self):
1107 # See https://bugs.python.org/issue29600 for details.
1108
1109 async def f():
1110 return ValueError()
1111
1112 async def g():
1113 try:
1114 raise KeyError
1115 except:
1116 return await f()
1117
1118 _, result = run_async(g())
1119 self.assertIsNone(result.__context__)
1120
1106 1121 def test_with_1(self): def test_with_1(self):
1107 1122 class Manager: class Manager:
1108 1123 def __init__(self, name): def __init__(self, name):
File Objects/genobject.c changed (mode: 100644) (index 24a1da6f3e..8c2213e5bf)
... ... _PyGen_SetStopIterationValue(PyObject *value)
574 574 PyObject *e; PyObject *e;
575 575
576 576 if (value == NULL || if (value == NULL ||
577 (!PyTuple_Check(value) &&
578 !PyObject_TypeCheck(value, (PyTypeObject *) PyExc_StopIteration)))
577 (!PyTuple_Check(value) && !PyExceptionInstance_Check(value)))
579 578 { {
580 579 /* Delay exception instantiation if we can */ /* Delay exception instantiation if we can */
581 580 PyErr_SetObject(PyExc_StopIteration, value); PyErr_SetObject(PyExc_StopIteration, value);
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/benf_wspdigital/cpython

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/benf_wspdigital/cpython

Clone this repository using git:
git clone git://git.rocketgit.com/user/benf_wspdigital/cpython

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main