Results 76 comments of Mantas Zimnickas

Had exactly same error, because I assumed, this is possible: ``` python menu.register(menu.Menu('main').register( menu.Node(id='item1', label='Item 1', pattern_name='item1'), menu.Node(id='item2', label='Item 2', pattern_name='item2'), )) ``` I like declarative way of defining menus,...

@evmorov I had same thought, some languages, for example JavaScript drastically differs between versions. I think, language mapping based on file extension should be change on path. This: ``` ruby...

Yes, property class is here: https://bitbucket.org/sirex/django-sboard/src/517be713b1d7/sboard/models.py#cl-172 But for now, I did a workaround, and made referenced node loading from database only through ref attribute, direct call just returns lazy reference...

``` ====================================================================== ERROR: testSchemaDictProperty (tests.test_schema.PropertyTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/sirex/devel/couchdbkit/tests/test_schema.py", line 1356, in testSchemaDictProperty b1.d = {23: {'i': 321}} File "/home/sirex/devel/couchdbkit/couchdbkit/schema/base.py", line 216, in __setattr__ object.__setattr__(self, key,...

+1 for `to_json` or anything, that preserve primitive types, serializable to json.

I think vim's fold commands can be used to toggle code and output: ``` (1) (2) (3) notebook:hide-cell-code Z c or Z a or z c notebook:show-cell-code Z o or...

At least this sounds useful: ```python def foo(i): pp(i, when=i > 42) ```

I want to keep all debugging code self contained. There are cases, when I leave debugging code for several days, and once I come back to it, I want to...

I never used anything similar to context, usually I get away with just if statements.

On my terminal, time color is almost invisible, here is how it looks: ![Ekrano nuotrauka iš 2019-09-03 16-48-14](https://user-images.githubusercontent.com/297583/64178849-d5c7b100-ce6a-11e9-8281-935ef20a29a6.png) It would be nice, if column colors would be taken from pygments...