[pypy-commit] pypy py3.5: Describe key-value reverse order bug for dicts

2016-08-23 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r86452:36436e3e01af Date: 2016-08-23 17:42 +0200 http://bitbucket.org/pypy/pypy/changeset/36436e3e01af/ Log:Describe key-value reverse order bug for dicts diff --git a/pypy/interpreter/astcompiler/codegen.py

[pypy-commit] pypy py3.5: Change error message on unpack and extended unpack if there are more values expected than available

2016-08-23 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r86443:0a1d00e6444f Date: 2016-08-23 13:36 +0200 http://bitbucket.org/pypy/pypy/changeset/0a1d00e6444f/ Log:Change error message on unpack and extended unpack if there are more values expected than available

[pypy-commit] pypy py3.5: Change const.value to const.obj in test_obj because Const in AST changed attribute name

2016-08-19 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r86323:147982173b0f Date: 2016-08-19 19:08 +0200 http://bitbucket.org/pypy/pypy/changeset/147982173b0f/ Log:Change const.value to const.obj in test_obj because Const in AST changed attribute name diff --git

[pypy-commit] pypy py3.5: Change POP_EXCEPT back to -1

2016-08-18 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r86289:6cf3401c7f36 Date: 2016-08-18 20:44 +0200 http://bitbucket.org/pypy/pypy/changeset/6cf3401c7f36/ Log:Change POP_EXCEPT back to -1 diff --git a/pypy/interpreter/astcompiler/assemble.py

[pypy-commit] pypy py3.5: Merge with py3.5-async

2016-08-18 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r86288:10f2791aaf2d Date: 2016-08-18 20:22 +0200 http://bitbucket.org/pypy/pypy/changeset/10f2791aaf2d/ Log:Merge with py3.5-async diff --git a/pypy/interpreter/astcompiler/assemble.py

[pypy-commit] pypy py3.5-async: Check for correct values in 'async for' test

2016-08-18 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86287:5f146fc69289 Date: 2016-08-18 20:17 +0200 http://bitbucket.org/pypy/pypy/changeset/5f146fc69289/ Log:Check for correct values in 'async for' test diff --git a/pypy/module/_asyncio/test/test_asyncio.py

[pypy-commit] pypy py3.5-async: Change stack effect of POP_EXCEPT from -1 to -2, to compensate the depth in 'async for', because all except-finally depths are different in cpython. shorten the 'async

2016-08-18 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86273:e51e6872dbf1 Date: 2016-08-18 15:54 +0200 http://bitbucket.org/pypy/pypy/changeset/e51e6872dbf1/ Log:Change stack effect of POP_EXCEPT from -1 to -2, to compensate the depth in 'async for', because

[pypy-commit] pypy py3.5-async: Change POP_TOP to DUP_TOP in async_for, should fix TypeError after execution of 'async for'

2016-08-18 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86270:331fd07f62f8 Date: 2016-08-18 12:01 +0200 http://bitbucket.org/pypy/pypy/changeset/331fd07f62f8/ Log:Change POP_TOP to DUP_TOP in async_for, should fix TypeError after execution of 'async for'

[pypy-commit] pypy py3.5-async: Minor change in TODO for __anext__

2016-08-17 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86257:2ec473a26e63 Date: 2016-08-17 19:06 +0200 http://bitbucket.org/pypy/pypy/changeset/2ec473a26e63/ Log:Minor change in TODO for __anext__ diff --git a/pypy/interpreter/typedef.py

[pypy-commit] pypy py3.5-async: Add TODO for __anext__ in coroutine wrapper

2016-08-17 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86256:0797bd9ecb43 Date: 2016-08-17 19:04 +0200 http://bitbucket.org/pypy/pypy/changeset/0797bd9ecb43/ Log:Add TODO for __anext__ in coroutine wrapper diff --git a/pypy/interpreter/typedef.py

[pypy-commit] pypy py3.5-async: Change __next__ to __anext__ in coroutine

2016-08-17 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86255:bc47d0d39227 Date: 2016-08-17 19:01 +0200 http://bitbucket.org/pypy/pypy/changeset/bc47d0d39227/ Log:Change __next__ to __anext__ in coroutine diff --git a/pypy/interpreter/typedef.py

[pypy-commit] pypy py3.5-async: Add lookup for __anext__ in next() and __anext__ to typedef of coroutines, add better (offline) async_for test, remove old async_for test and change it back to test onl

2016-08-17 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86250:d819f16ccf3f Date: 2016-08-17 17:25 +0200 http://bitbucket.org/pypy/pypy/changeset/d819f16ccf3f/ Log:Add lookup for __anext__ in next() and __anext__ to typedef of coroutines, add better (offline)

[pypy-commit] pypy py3.5-async: Add StopAsyncIteration exception, expand test to check 'async for' in test_asyncio

2016-08-17 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86243:7d96e4bc57bb Date: 2016-08-17 13:04 +0200 http://bitbucket.org/pypy/pypy/changeset/7d96e4bc57bb/ Log:Add StopAsyncIteration exception, expand test to check 'async for' in test_asyncio diff --git

[pypy-commit] pypy py3.5-async: Add description to test_asynchronous_context_managers

2016-08-16 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86223:bd2d21b70e51 Date: 2016-08-16 16:22 +0200 http://bitbucket.org/pypy/pypy/changeset/bd2d21b70e51/ Log:Add description to test_asynchronous_context_managers diff --git

[pypy-commit] pypy py3.5-async: Fix async with test, coroutines can assign lock in any order, but release of one lock has to appear before hold of the other lock

2016-08-16 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86222:034dc2c2ce1c Date: 2016-08-16 16:18 +0200 http://bitbucket.org/pypy/pypy/changeset/034dc2c2ce1c/ Log:Fix async with test, coroutines can assign lock in any order, but release of one lock has to

[pypy-commit] pypy py3.5-async: Fix async with test, fixes timing for messages expected in assert

2016-08-16 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86214:ce0987e21403 Date: 2016-08-16 11:20 +0200 http://bitbucket.org/pypy/pypy/changeset/ce0987e21403/ Log:Fix async with test, fixes timing for messages expected in assert diff --git

[pypy-commit] pypy py3.5-async: Merge with py3.5

2016-08-16 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86213:a955efeebd40 Date: 2016-08-16 11:14 +0200 http://bitbucket.org/pypy/pypy/changeset/a955efeebd40/ Log:Merge with py3.5 diff too long, truncating to 2000 out of 4303 lines diff --git a/include/PyPy.h

[pypy-commit] pypy py3.5: Add asyncio test for asynchronous context managers

2016-08-15 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r86205:90eef5573de8 Date: 2016-08-15 22:11 +0200 http://bitbucket.org/pypy/pypy/changeset/90eef5573de8/ Log:Add asyncio test for asynchronous context managers diff --git a/pypy/module/_asyncio/test/test_asyncio.py

[pypy-commit] pypy py3.5: Merge with py3k

2016-08-15 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r86196:360908aa059a Date: 2016-08-15 12:16 +0200 http://bitbucket.org/pypy/pypy/changeset/360908aa059a/ Log:Merge with py3k diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py ---

[pypy-commit] pypy py3.5: Undo change of conftest (load python3 again), needs more fixes later

2016-08-14 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r86187:d564da75d49d Date: 2016-08-14 16:16 +0200 http://bitbucket.org/pypy/pypy/changeset/d564da75d49d/ Log:Undo change of conftest (load python3 again), needs more fixes later diff --git a/pypy/conftest.py

[pypy-commit] pypy py3.5: Change python environment in conftest to python3.5

2016-08-13 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r86184:6d502390ba4f Date: 2016-08-13 19:54 +0200 http://bitbucket.org/pypy/pypy/changeset/6d502390ba4f/ Log:Change python environment in conftest to python3.5 diff --git a/pypy/conftest.py b/pypy/conftest.py ---

[pypy-commit] pypy py3.5: Fix BUILD_SET_UNPACK by changing iterator to iter instead of itervalues as w_item should never be a dict anyway

2016-08-12 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r86173:f658ed1189a5 Date: 2016-08-12 17:57 +0200 http://bitbucket.org/pypy/pypy/changeset/f658ed1189a5/ Log:Fix BUILD_SET_UNPACK by changing iterator to iter instead of itervalues as w_item should never be a

[pypy-commit] pypy py3.5: Fix validate tests, ast classes "arguments", "classdef" and "call" don't have stararg and kwarg anymore

2016-08-11 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r86161:14df96842b97 Date: 2016-08-11 21:54 +0200 http://bitbucket.org/pypy/pypy/changeset/14df96842b97/ Log:Fix validate tests, ast classes "arguments", "classdef" and "call" don't have stararg and kwarg

[pypy-commit] pypy py3.5: Merge with py3.5-async

2016-08-11 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r86159:83d383a3859c Date: 2016-08-11 20:31 +0200 http://bitbucket.org/pypy/pypy/changeset/83d383a3859c/ Log:Merge with py3.5-async diff too long, truncating to 2000 out of 40779 lines diff --git a/.hgtags b/.hgtags

[pypy-commit] pypy py3.5-async: Fix compiler test (positional arguments can follow starred arguments)

2016-08-11 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86157:18060b1572d4 Date: 2016-08-11 19:42 +0200 http://bitbucket.org/pypy/pypy/changeset/18060b1572d4/ Log:Fix compiler test (positional arguments can follow starred arguments) diff --git

[pypy-commit] pypy py3.5-async: Fix and rename test_crap_after_starargs (allowed in PEP 448), dirty fix in function calls if argument order is reversed (happens if stararg occurs after kwarg)

2016-08-11 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86156:ab59452c8103 Date: 2016-08-11 19:29 +0200 http://bitbucket.org/pypy/pypy/changeset/ab59452c8103/ Log:Fix and rename test_crap_after_starargs (allowed in PEP 448), dirty fix in function calls if

[pypy-commit] pypy py3.5-async: Fix test_ast to check for correct 'arguments'-fields in test_fields

2016-08-10 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86130:fffb365644a3 Date: 2016-08-10 16:10 +0200 http://bitbucket.org/pypy/pypy/changeset/fffb365644a3/ Log:Fix test_ast to check for correct 'arguments'-fields in test_fields diff --git

[pypy-commit] pypy py3.5-async: Merge with py3.5-async-translate

2016-08-09 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86117:b7ea325def94 Date: 2016-08-09 17:53 +0200 http://bitbucket.org/pypy/pypy/changeset/b7ea325def94/ Log:Merge with py3.5-async-translate diff --git a/pypy/interpreter/astcompiler/codegen.py

[pypy-commit] pypy py3.5-async: remove setup_class in test_asyncio, make better use of test_gil_issue

2016-08-08 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86085:9faaeb88a806 Date: 2016-08-08 19:02 +0200 http://bitbucket.org/pypy/pypy/changeset/9faaeb88a806/ Log:remove setup_class in test_asyncio, make better use of test_gil_issue diff --git

[pypy-commit] pypy py3.5-async: Add test for asyncio checking a GIL initialization error on running "await asyncio.open_connection"

2016-08-08 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86077:3e98b6f5791a Date: 2016-08-08 18:00 +0200 http://bitbucket.org/pypy/pypy/changeset/3e98b6f5791a/ Log:Add test for asyncio checking a GIL initialization error on running "await

[pypy-commit] pypy py3.5-async: Fix test for build_set_unpack, add test for build_map_unpack_with_call, fix getFuncDesc

2016-08-06 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86049:7f49d892fb4d Date: 2016-08-06 20:40 +0200 http://bitbucket.org/pypy/pypy/changeset/7f49d892fb4d/ Log:Fix test for build_set_unpack, add test for build_map_unpack_with_call, fix getFuncDesc diff

[pypy-commit] pypy py3.5-async: Add tests for build_set/tuple/list_unpack

2016-08-05 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86044:60ce08921aef Date: 2016-08-05 22:06 +0200 http://bitbucket.org/pypy/pypy/changeset/60ce08921aef/ Log:Add tests for build_set/tuple/list_unpack diff --git a/pypy/interpreter/test/test_interpreter.py

[pypy-commit] pypy py3.5-async: Add tests for BUILD_MAP_UNPACK

2016-08-05 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86043:0f39cfd33706 Date: 2016-08-05 21:42 +0200 http://bitbucket.org/pypy/pypy/changeset/0f39cfd33706/ Log:Add tests for BUILD_MAP_UNPACK diff --git a/pypy/interpreter/test/test_interpreter.py

[pypy-commit] pypy py3.5-async: (plan_rich) Fix cast in memoryobject for rpython

2016-08-05 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86042:da8ab61904e8 Date: 2016-08-05 20:58 +0200 http://bitbucket.org/pypy/pypy/changeset/da8ab61904e8/ Log:(plan_rich) Fix cast in memoryobject for rpython diff --git a/pypy/module/thread/os_lock.py

[pypy-commit] pypy py3.5-async: More parser tests for async and await

2016-08-03 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86008:3f09fda522df Date: 2016-08-03 21:50 +0200 http://bitbucket.org/pypy/pypy/changeset/3f09fda522df/ Log:More parser tests for async and await diff --git a/pypy/interpreter/pyparser/test/test_pyparse.py

[pypy-commit] pypy py3.5-async: Fix pyparser (now allows async and await as variable names)

2016-08-03 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r86007:4ae7acb78ae8 Date: 2016-08-03 21:41 +0200 http://bitbucket.org/pypy/pypy/changeset/4ae7acb78ae8/ Log:Fix pyparser (now allows async and await as variable names) diff --git

[pypy-commit] pypy py3.5-async: Add parser and syntax tests for async and await, remove set_sentinel comment

2016-08-02 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85995:cf642e39ca7f Date: 2016-08-02 21:51 +0200 http://bitbucket.org/pypy/pypy/changeset/cf642e39ca7f/ Log:Add parser and syntax tests for async and await, remove set_sentinel comment diff --git

[pypy-commit] pypy py3.5-async: Fix import error (PyPyClassCollector does not seem to exist anymore, pypydir was imported from the wrong file in apptest)

2016-08-02 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85984:cf27d3b81de8 Date: 2016-08-02 13:27 +0200 http://bitbucket.org/pypy/pypy/changeset/cf27d3b81de8/ Log:Fix import error (PyPyClassCollector does not seem to exist anymore, pypydir was imported from

[pypy-commit] pypy py3.5-async: Add note for dirty fix

2016-08-01 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85973:55d7fbdc81b4 Date: 2016-08-01 22:21 +0200 http://bitbucket.org/pypy/pypy/changeset/55d7fbdc81b4/ Log:Add note for dirty fix diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py ---

[pypy-commit] pypy py3.5-async: Merge with py3k

2016-08-01 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85968:2688a6d60ce4 Date: 2016-08-01 20:41 +0200 http://bitbucket.org/pypy/pypy/changeset/2688a6d60ce4/ Log:Merge with py3k diff too long, truncating to 2000 out of 43939 lines diff --git a/.hgtags b/.hgtags

[pypy-commit] pypy py3.5-async: Remove wrong handle_with_stmt from merge

2016-08-01 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85969:6f1bd36b0cda Date: 2016-08-01 20:45 +0200 http://bitbucket.org/pypy/pypy/changeset/6f1bd36b0cda/ Log:Remove wrong handle_with_stmt from merge diff --git a/pypy/interpreter/astcompiler/astbuilder.py

[pypy-commit] pypy py3.5-async: Fix switched None and iterable object on stack in GET_AWAITABLE (maybe a better fix is possible)

2016-08-01 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85967:131f3d3c8682 Date: 2016-08-01 19:16 +0200 http://bitbucket.org/pypy/pypy/changeset/131f3d3c8682/ Log:Fix switched None and iterable object on stack in GET_AWAITABLE (maybe a better fix is possible)

[pypy-commit] pypy py3.5-async: Pass object to function returned by lookup instead of None

2016-07-31 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85953:8a281ce6dd54 Date: 2016-07-31 22:53 +0200 http://bitbucket.org/pypy/pypy/changeset/8a281ce6dd54/ Log:Pass object to function returned by lookup instead of None diff --git a/pypy/interpreter/generator.py

[pypy-commit] pypy py3.5-async: Peek instead of pull in GET_ANEXT

2016-07-30 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85941:e35d85a4246f Date: 2016-07-30 23:10 +0200 http://bitbucket.org/pypy/pypy/changeset/e35d85a4246f/ Log:Peek instead of pull in GET_ANEXT diff --git a/pypy/interpreter/pyopcode.py

[pypy-commit] pypy py3.5-async: Add SETUP_ASYNC_WITH to stackdepth calculation, change stackeffect values for SETUP_ and BEFORE_ASYNC_WITH

2016-07-30 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85939:5680318123b9 Date: 2016-07-30 22:29 +0200 http://bitbucket.org/pypy/pypy/changeset/5680318123b9/ Log:Add SETUP_ASYNC_WITH to stackdepth calculation, change stackeffect values for SETUP_ and

[pypy-commit] pypy py3.5-async: Fix call for __aiter__ and __anext__ in pyopcodes, check for illegal object types returned in GET_AITER and GET_ANEXT, fix error message in generator

2016-07-30 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85933:5af313e59b4f Date: 2016-07-30 18:33 +0200 http://bitbucket.org/pypy/pypy/changeset/5af313e59b4f/ Log:Fix call for __aiter__ and __anext__ in pyopcodes, check for illegal object types returned in

[pypy-commit] pypy py3.5-async: Remove __next__ and __iter__ from coroutine typedef

2016-07-30 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85929:0737f371adfa Date: 2016-07-30 16:11 +0200 http://bitbucket.org/pypy/pypy/changeset/0737f371adfa/ Log:Remove __next__ and __iter__ from coroutine typedef diff --git a/pypy/interpreter/typedef.py

[pypy-commit] pypy py3.5-async: Check for illegal return value in GetAwaitableIter after __await__ call, fix GetAwaitableIter call in pyopcodes

2016-07-30 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85928:60d844fa622a Date: 2016-07-30 15:32 +0200 http://bitbucket.org/pypy/pypy/changeset/60d844fa622a/ Log:Check for illegal return value in GetAwaitableIter after __await__ call, fix GetAwaitableIter

[pypy-commit] pypy py3.5-async: Only call __await__ if it exists

2016-07-29 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85918:5a3b4f095c70 Date: 2016-07-29 22:05 +0200 http://bitbucket.org/pypy/pypy/changeset/5a3b4f095c70/ Log:Only call __await__ if it exists diff --git a/pypy/interpreter/generator.py

[pypy-commit] pypy py3.5-async: Add check in getAwaitableIter for Generator with ITERABLE_COROUTINE flag, fix parameters, switch order of Coroutine and Generator check in pyframe

2016-07-29 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85913:0f9d6b6049cc Date: 2016-07-29 18:49 +0200 http://bitbucket.org/pypy/pypy/changeset/0f9d6b6049cc/ Log:Add check in getAwaitableIter for Generator with ITERABLE_COROUTINE flag, fix parameters, switch

[pypy-commit] pypy py3.5-async: Implement GET_AITER and GET_ANEXT

2016-07-28 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85892:e38fb5ed53db Date: 2016-07-28 15:23 +0200 http://bitbucket.org/pypy/pypy/changeset/e38fb5ed53db/ Log:Implement GET_AITER and GET_ANEXT diff --git a/pypy/interpreter/pyopcode.py

[pypy-commit] pypy py3.5-async: Implement GET_YIELD_FROM_ITER and GET_AWAITABLE

2016-07-28 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85891:02979b72fd21 Date: 2016-07-28 14:05 +0200 http://bitbucket.org/pypy/pypy/changeset/02979b72fd21/ Log:Implement GET_YIELD_FROM_ITER and GET_AWAITABLE diff --git a/pypy/interpreter/pyopcode.py

[pypy-commit] pypy py3.5-async: Only check flags if iterable object is a coroutine, split getawaitable for generator and coroutine

2016-07-25 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85866:088b0533e388 Date: 2016-07-25 21:45 +0200 http://bitbucket.org/pypy/pypy/changeset/088b0533e388/ Log:Only check flags if iterable object is a coroutine, split getawaitable for generator and

[pypy-commit] pypy py3.5-async: (Forgot braces at if)

2016-07-24 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85848:c6060c5133e5 Date: 2016-07-24 18:53 +0200 http://bitbucket.org/pypy/pypy/changeset/c6060c5133e5/ Log:(Forgot braces at if) diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py ---

[pypy-commit] pypy py3.5-async: Check for coroutine flags in yield_from and get_yield_from_iter and raise TypeError

2016-07-23 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85835:9579049b127b Date: 2016-07-23 21:44 +0200 http://bitbucket.org/pypy/pypy/changeset/9579049b127b/ Log:Check for coroutine flags in yield_from and get_yield_from_iter and raise TypeError diff --git

[pypy-commit] pypy py3.5-async: Set last_token only if token is available in pytokenizer (fixes tests), create new test

2016-07-22 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85817:4f0931e016f6 Date: 2016-07-22 21:18 +0200 http://bitbucket.org/pypy/pypy/changeset/4f0931e016f6/ Log:Set last_token only if token is available in pytokenizer (fixes tests), create new test diff

[pypy-commit] pypy py3.5-async: Only return token.Async and token.Await if it's not a function name, create dummy method _set_sentinel for thread module (not yet implemented) -> asyncio can be importe

2016-07-22 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85816:2d1d323942eb Date: 2016-07-22 20:58 +0200 http://bitbucket.org/pypy/pypy/changeset/2d1d323942eb/ Log:Only return token.Async and token.Await if it's not a function name, create dummy method

[pypy-commit] pypy py3.5-async: Start implementing cast in memoryobject (change from cpython 3.3)

2016-07-20 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85785:bf2cf63e4730 Date: 2016-07-20 22:19 +0200 http://bitbucket.org/pypy/pypy/changeset/bf2cf63e4730/ Log:Start implementing cast in memoryobject (change from cpython 3.3) diff --git

[pypy-commit] pypy py3.5-async: (Typo in comment showing wrong cpython version in sre change)

2016-07-20 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85780:31ed20ca2d98 Date: 2016-07-20 15:01 +0200 http://bitbucket.org/pypy/pypy/changeset/31ed20ca2d98/ Log:(Typo in comment showing wrong cpython version in sre change) diff --git

[pypy-commit] pypy py3.5-async: Add comment explaining change of MAGIC number in sre module

2016-07-20 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85779:5dbcd8246ec7 Date: 2016-07-20 14:59 +0200 http://bitbucket.org/pypy/pypy/changeset/5dbcd8246ec7/ Log:Add comment explaining change of MAGIC number in sre module diff --git a/rpython/rlib/rsre/rsre_char.py

[pypy-commit] pypy py3.5-async: Update sre MAGIC number for constants in rpython

2016-07-20 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85778:628c5ed8c43e Date: 2016-07-20 14:47 +0200 http://bitbucket.org/pypy/pypy/changeset/628c5ed8c43e/ Log:Update sre MAGIC number for constants in rpython diff --git a/rpython/rlib/rsre/rsre_char.py

[pypy-commit] pypy py3.5-async: Implement MAXGROUPS in the sre module

2016-07-20 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85777:b8cce74eca8e Date: 2016-07-20 14:29 +0200 http://bitbucket.org/pypy/pypy/changeset/b8cce74eca8e/ Log:Implement MAXGROUPS in the sre module diff --git a/pypy/interpreter/generator.py

[pypy-commit] pypy py3.5-async: Implement missing coroutine functions and adapt typedef, add object serialization for coroutines

2016-07-18 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85763:1eff44f9dc2e Date: 2016-07-18 18:44 +0200 http://bitbucket.org/pypy/pypy/changeset/1eff44f9dc2e/ Log:Implement missing coroutine functions and adapt typedef, add object serialization for coroutines

[pypy-commit] pypy py3.5-async: Raise runtimewarning if coroutine was never awaited in finalize

2016-07-17 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85747:5d91025f5131 Date: 2016-07-17 23:02 +0200 http://bitbucket.org/pypy/pypy/changeset/5d91025f5131/ Log:Raise runtimewarning if coroutine was never awaited in finalize diff --git

[pypy-commit] pypy py3.5-async: Implement close, finalize, throw in coroutine (adapted from generator)

2016-07-16 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85729:dbdd4a20233f Date: 2016-07-16 23:15 +0200 http://bitbucket.org/pypy/pypy/changeset/dbdd4a20233f/ Log:Implement close, finalize, throw in coroutine (adapted from generator) diff --git

[pypy-commit] pypy py3.5-async: Define close in coroutine

2016-07-15 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85725:e8c5bbda93ca Date: 2016-07-15 21:41 +0200 http://bitbucket.org/pypy/pypy/changeset/e8c5bbda93ca/ Log:Define close in coroutine diff --git a/pypy/interpreter/generator.py b/pypy/interpreter/generator.py

[pypy-commit] pypy py3.5-async: Define function with coroutine flag as coroutine

2016-07-15 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85724:aa5fb74bcfd2 Date: 2016-07-15 19:47 +0200 http://bitbucket.org/pypy/pypy/changeset/aa5fb74bcfd2/ Log:Define function with coroutine flag as coroutine diff --git a/pypy/interpreter/pycode.py

[pypy-commit] pypy py3.5-async: Create Coroutine class in generator with typedef (unfinished)

2016-07-14 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85715:15b50bccd6cd Date: 2016-07-14 23:13 +0200 http://bitbucket.org/pypy/pypy/changeset/15b50bccd6cd/ Log:Create Coroutine class in generator with typedef (unfinished) diff --git

[pypy-commit] pypy py3.5-async: Apply cpython 3.5.1 change regarding async function flag

2016-07-14 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85697:7db7039d9d40 Date: 2016-07-14 17:52 +0200 http://bitbucket.org/pypy/pypy/changeset/7db7039d9d40/ Log:Apply cpython 3.5.1 change regarding async function flag diff --git

[pypy-commit] pypy py3.5-async: set CO_GENERATOR flag in async function code

2016-07-14 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85696:43805b5f2878 Date: 2016-07-14 17:31 +0200 http://bitbucket.org/pypy/pypy/changeset/43805b5f2878/ Log:set CO_GENERATOR flag in async function code diff --git a/pypy/interpreter/astcompiler/codegen.py

[pypy-commit] pypy py3.5-async: Add Coroutine flags

2016-07-14 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85692:a48e02697dd8 Date: 2016-07-14 14:29 +0200 http://bitbucket.org/pypy/pypy/changeset/a48e02697dd8/ Log:Add Coroutine flags diff --git a/pypy/interpreter/astcompiler/consts.py

[pypy-commit] pypy py3.5-async: Implement GET_AWAITABLE, SETUP_ASYNC_WITH, BEFORE_ASYNC_WITH, GET_AITER, GET_ANEXT pyopcodes (temporarily without additional error checks), fix compiler test

2016-07-13 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85682:e3c740229eb3 Date: 2016-07-13 21:05 +0200 http://bitbucket.org/pypy/pypy/changeset/e3c740229eb3/ Log:Implement GET_AWAITABLE, SETUP_ASYNC_WITH, BEFORE_ASYNC_WITH, GET_AITER, GET_ANEXT pyopcodes

[pypy-commit] pypy py3.5-async: Add missing name for 'yield from' test

2016-07-13 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85673:8026b5c3d0c8 Date: 2016-07-13 10:50 +0200 http://bitbucket.org/pypy/pypy/changeset/8026b5c3d0c8/ Log:Add missing name for 'yield from' test diff --git a/pypy/interpreter/test/test_compiler.py

[pypy-commit] pypy py3.5-async: Implement GET_YIELD_FROM_ITER pyopcode, 'yield from' works, write test for 'yield from'

2016-07-12 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85672:74022d9a4bbc Date: 2016-07-12 22:39 +0200 http://bitbucket.org/pypy/pypy/changeset/74022d9a4bbc/ Log:Implement GET_YIELD_FROM_ITER pyopcode, 'yield from' works, write test for 'yield from' diff

[pypy-commit] pypy py3.5-async: Throw SyntaxError if 'await' outside [async] function (fixes test_invalid_2, 4, 5, 8 in test_syntax)

2016-07-11 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85659:3700b8062272 Date: 2016-07-11 19:33 +0200 http://bitbucket.org/pypy/pypy/changeset/3700b8062272/ Log:Throw SyntaxError if 'await' outside [async] function (fixes test_invalid_2,4,5,8 in

[pypy-commit] pypy py3.5-async: Throw SyntaxError if 'yield from' inside async function (fixes test_invalid_7 in test_syntax)

2016-07-11 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85658:e779f313fab5 Date: 2016-07-11 18:17 +0200 http://bitbucket.org/pypy/pypy/changeset/e779f313fab5/ Log:Throw SyntaxError if 'yield from' inside async function (fixes test_invalid_7 in test_syntax)

[pypy-commit] pypy py3.5-async: Throw SyntaxError if yield inside async function

2016-07-11 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85657:8a1e4cca3a66 Date: 2016-07-11 18:00 +0200 http://bitbucket.org/pypy/pypy/changeset/8a1e4cca3a66/ Log:Throw SyntaxError if yield inside async function diff --git a/pypy/interpreter/astcompiler/symtable.py

[pypy-commit] pypy py3.5-async: Add syntax tests for invalid async await entries

2016-07-11 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85651:5df7aae1f80a Date: 2016-07-11 11:24 +0200 http://bitbucket.org/pypy/pypy/changeset/5df7aae1f80a/ Log:Add syntax tests for invalid async await entries diff --git a/pypy/interpreter/test/test_syntax.py

[pypy-commit] pypy py3.5-async: Create missing visit_AsyncFunctionDef with codegenerator for asyncfunctions in codegen (fixes startup errors)

2016-07-10 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85649:0ebb9c362c57 Date: 2016-07-10 20:48 +0200 http://bitbucket.org/pypy/pypy/changeset/0ebb9c362c57/ Log:Create missing visit_AsyncFunctionDef with codegenerator for asyncfunctions in codegen (fixes

[pypy-commit] pypy py3.5-async: Complete astbuilder test for AsyncWith

2016-07-09 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85634:b1818584cc50 Date: 2016-07-09 21:50 +0200 http://bitbucket.org/pypy/pypy/changeset/b1818584cc50/ Log:Complete astbuilder test for AsyncWith diff --git

[pypy-commit] pypy py3.5-async: Complete astbuilder test for AsyncFor

2016-07-09 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85633:2b649eed6eb4 Date: 2016-07-09 21:21 +0200 http://bitbucket.org/pypy/pypy/changeset/2b649eed6eb4/ Log:Complete astbuilder test for AsyncFor diff --git a/pypy/interpreter/astcompiler/test/test_astbuilder.py

[pypy-commit] pypy py3.5-async: Complete astbuilder test for AsyncFunctionDef

2016-07-09 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85632:77e67b87c3c5 Date: 2016-07-09 20:22 +0200 http://bitbucket.org/pypy/pypy/changeset/77e67b87c3c5/ Log:Complete astbuilder test for AsyncFunctionDef diff --git

[pypy-commit] pypy py3.5-async: Change stack effect for with_cleanup_start back to original value (Stackdeptherror fix)

2016-07-09 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85630:cf8246dbc687 Date: 2016-07-09 17:45 +0200 http://bitbucket.org/pypy/pypy/changeset/cf8246dbc687/ Log:Change stack effect for with_cleanup_start back to original value (Stackdeptherror fix) diff

[pypy-commit] pypy py3.5-async: Add missing async opcodes in python lib

2016-07-09 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85629:062ebc10a032 Date: 2016-07-09 17:10 +0200 http://bitbucket.org/pypy/pypy/changeset/062ebc10a032/ Log:Add missing async opcodes in python lib diff --git a/lib-python/3/opcode.py b/lib-python/3/opcode.py

[pypy-commit] pypy py3.5-async: Add test_astbuilder changes of branch py3.5

2016-07-09 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85628:fe1d33bb7ba2 Date: 2016-07-09 16:44 +0200 http://bitbucket.org/pypy/pypy/changeset/fe1d33bb7ba2/ Log:Add test_astbuilder changes of branch py3.5 diff --git

[pypy-commit] pypy py3.5-async: Add unfinished astbuilder tests for async

2016-07-09 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85627:9eeb13a22e8a Date: 2016-07-09 16:42 +0200 http://bitbucket.org/pypy/pypy/changeset/9eeb13a22e8a/ Log:Add unfinished astbuilder tests for async diff --git

[pypy-commit] pypy py3.5: Fix astbuilder test for function (all astbuilder tests adjusted to check new unpack functionality)

2016-07-08 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r85611:5ef09f069fcb Date: 2016-07-08 13:39 +0200 http://bitbucket.org/pypy/pypy/changeset/5ef09f069fcb/ Log:Fix astbuilder test for function (all astbuilder tests adjusted to check new unpack functionality)

[pypy-commit] pypy py3.5: Fix astbuilder test for function annotations

2016-07-08 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r85610:50acbccac773 Date: 2016-07-08 13:22 +0200 http://bitbucket.org/pypy/pypy/changeset/50acbccac773/ Log:Fix astbuilder test for function annotations diff --git

[pypy-commit] pypy py3.5: Fix astbuilder test for decorators

2016-07-08 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r85609:b38b0afbeafe Date: 2016-07-08 13:12 +0200 http://bitbucket.org/pypy/pypy/changeset/b38b0afbeafe/ Log:Fix astbuilder test for decorators diff --git a/pypy/interpreter/astcompiler/test/test_astbuilder.py

[pypy-commit] pypy py3.5: Fix astbuilder tests for call and matmul->matmult

2016-07-08 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r85608:eb7755aa6d90 Date: 2016-07-08 13:10 +0200 http://bitbucket.org/pypy/pypy/changeset/eb7755aa6d90/ Log:Fix astbuilder tests for call and matmul->matmult diff --git

[pypy-commit] pypy py3.5: Fix ast test for attributes

2016-07-08 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r85607:c6e0ba85ad3d Date: 2016-07-08 12:27 +0200 http://bitbucket.org/pypy/pypy/changeset/c6e0ba85ad3d/ Log:Fix ast test for attributes diff --git a/pypy/interpreter/astcompiler/test/test_ast.py

[pypy-commit] pypy py3.5: Add parser test for unpack

2016-07-08 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5 Changeset: r85605:fe3dcd041142 Date: 2016-07-08 11:20 +0200 http://bitbucket.org/pypy/pypy/changeset/fe3dcd041142/ Log:Add parser test for unpack diff --git a/pypy/interpreter/pyparser/test/test_pyparse.py

[pypy-commit] pypy py3.5-async: Implement visit_AsyncFor in codegen

2016-07-07 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85604:d67ac6d8fc48 Date: 2016-07-07 21:39 +0200 http://bitbucket.org/pypy/pypy/changeset/d67ac6d8fc48/ Log:Implement visit_AsyncFor in codegen diff --git a/pypy/interpreter/astcompiler/codegen.py

[pypy-commit] pypy py3.5-async: Implement visit_AsyncWith in codegen

2016-07-07 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85602:22be1589e771 Date: 2016-07-07 18:16 +0200 http://bitbucket.org/pypy/pypy/changeset/22be1589e771/ Log:Implement visit_AsyncWith in codegen diff --git a/pypy/interpreter/astcompiler/codegen.py

[pypy-commit] pypy py3.5-async: Add stack effect for async opcodes

2016-07-07 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85600:d00cb920f5c1 Date: 2016-07-07 16:40 +0200 http://bitbucket.org/pypy/pypy/changeset/d00cb920f5c1/ Log:Add stack effect for async opcodes diff --git a/pypy/interpreter/astcompiler/assemble.py

[pypy-commit] pypy py3.5-async: Correct function call

2016-07-07 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85603:fc539047f9a8 Date: 2016-07-07 18:19 +0200 http://bitbucket.org/pypy/pypy/changeset/fc539047f9a8/ Log:Correct function call diff --git a/pypy/interpreter/astcompiler/codegen.py

[pypy-commit] pypy py3.5-async: Implement visit_Await in codegen

2016-07-07 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85601:7a4cdd986ad0 Date: 2016-07-07 18:03 +0200 http://bitbucket.org/pypy/pypy/changeset/7a4cdd986ad0/ Log:Implement visit_Await in codegen diff --git a/pypy/interpreter/astcompiler/codegen.py

[pypy-commit] pypy py3.5-async: Undo visit_annotations parameter change, add asyncfunctiondef and asyncwith

2016-07-06 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85593:90196ea803fd Date: 2016-07-06 22:22 +0200 http://bitbucket.org/pypy/pypy/changeset/90196ea803fd/ Log:Undo visit_annotations parameter change, add asyncfunctiondef and asyncwith diff --git

[pypy-commit] pypy py3.5-async: Change visit_annotations in symtable to have args and returns as parameters for async

2016-07-06 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85591:b52ebf4b8d02 Date: 2016-07-06 21:11 +0200 http://bitbucket.org/pypy/pypy/changeset/b52ebf4b8d02/ Log:Change visit_annotations in symtable to have args and returns as parameters for async diff

[pypy-commit] pypy py3.5-async: Add missing self on calls

2016-07-06 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85586:54c81e3580eb Date: 2016-07-06 19:43 +0200 http://bitbucket.org/pypy/pypy/changeset/54c81e3580eb/ Log:Add missing self on calls diff --git a/pypy/interpreter/astcompiler/astbuilder.py

  1   2   >