Overview

89% Excellent!

In The Last 30 Days:

0

Recent Activity

89% master #259

17 Jul 2017, 11:55 a.m. spaceone 1327b29 (master)

make __str__ compatible with py2 (six-decorator) (#233)

* make __str__ compatible with py2 (six-decorator)
See also: #232 and #229

- master #258

None web-flow fd519fa (master)

No Python modules were found.

- Issue#133 #257

None web-flow 39cd669 (Issue#133)

No Python modules were found.

- master #256

None spaceone 3aecf1d (master)

No Python modules were found.

89% on_error#128 #255

17 Feb 2017, 8:10 p.m. web-flow cc19ac1 (on_error#128)

Merge branch 'master' into on_error#128

89% on_error#128 #254

15 Feb 2017, 11:40 p.m. spaceone bccfe7f (on_error#128)

specific handlers can overwrite error handling settings

89% master #253

15 Feb 2017, 10:10 p.m. spaceone 1b69122 (master)

Write a test for issue #226

* waiting for an already finished event should work

89% on_error#128 #252

12 Feb 2017, 11:28 a.m. spaceone 1d52151 (on_error#128)

Add error flags for throwing errors back into generator

The following code demonstrates this behavior. As foo.on_error is
'throw_last' the on_error_1 handler is executed as well as on_error_2
which is the exception throwed back to the bar handler.

from circuits import Event, Component, handler, Debugger
import pytest

class foo(Event):
on_error = 'throw_last'

class bar(Event):
pass

class Foo(Component):
@handler('foo', priority=2)
def _on_error_1(self):
raise ValueError('test')

@handler('foo', priority=1)
def _on_error_2(self):
raise ValueError('test2')

def bar(self):
with pytest.raises(ValueError) as exc:
x = yield self.call(foo())
assert exc.value.args[0] == 'test2'
print('DONE')

x = Foo()
x += Debugger()
x.fire(bar())
x.run()

89% master #251

11 Feb 2017, 11:15 p.m. spaceone 351410d (master)

Add HTTP 308 moved permanently (RFC 7538) (#224)

89% Issue#133 #250

2 Feb 2017, 11:17 a.m. web-flow d6d8381 (Issue#133)

Merge branch 'master' into Issue#133