Hynek Schlawack hynek

hynek commented on pull request dreid/treq#84
Hynek Schlawack

This is exciting! Could you please: add docstrings to all methods you’ve added including the tests (see this article if you are unsure what to do)…

Hynek Schlawack
Hynek Schlawack
minor style: fix indenting for multiline statement
1 commit with 7 additions and 7 deletions
hynek commented on pull request hynek/vim-python-pep8-indent#39
Hynek Schlawack

well whatever, thanks :)

Hynek Schlawack

No, unless it’s a docstring, it’s literal strings so any indentation would have to be removed by hand. Does pep8 say anything about that?

hynek commented on pull request hynek/vim-python-pep8-indent#38
Hynek Schlawack

thanks!

Hynek Schlawack
Hynek Schlawack
doc: fix comment about 'sw': 0 is used to follow 'ts'
1 commit with 2 additions and 1 deletion
hynek commented on issue hynek/attrs#7
Hynek Schlawack

I’m not sure how I feel about this; in any case the @attr.s(repr=False) would have to be renamed to @attr.s(repr_default=False) and the logic chang…

hynek commented on issue hynek/attrs#8
Hynek Schlawack

I’ve played with it a bit but I’m not sure it’s possible when not using properties that are pretty special. :-/ Gotta dig deeper…

hynek commented on issue hynek/attrs#9
Hynek Schlawack

That’s the price for allowing positional arguments… Your example from above would create the following constructor: def __init__(self, x, y="yyy", z)

Hynek Schlawack

Yeah this is annoying. Within ''' and """ groups should be no auto-indent whatsoever.

hynek commented on pull request hynek/vim-python-pep8-indent#38
Hynek Schlawack

I have to admit that I don’t understand either; would you mind expanding the comment and explain what everything is about? Thanks!

hynek commented on pull request hynek/vim-python-pep8-indent#39
Hynek Schlawack

That reminds me, is there some kind of linter for vimL that could catch this? A flake8-alike so to speak?

Hynek Schlawack
  • Hynek Schlawack fafd22e
    Mark as major so I don't have to rewrite changelog
hynek created tag 15.1.0 at hynek/structlog
Hynek Schlawack
  • Hynek Schlawack 655551f
    Tolerate missing __name__ keys
hynek pushed to master at hynek/homepage
Hynek Schlawack
hynek commented on issue mitsuhiko/platter#10
Hynek Schlawack

One last update, they seem to be related after all and I just used the wrong pip for PyPy. The solution to this whole bug is simple: use the correc…

hynek commented on issue mitsuhiko/platter#10
Hynek Schlawack

I’ve dug into this and I think the problems are unrelated. PyPy simply does not work wit wheels that have compiled C code. Which sucks because many…

hynek commented on issue mitsuhiko/platter#10
Hynek Schlawack

Apparently same problem applies to Python 3.3: [precise.build] run: dist/ddns-0-linux-x86_64/install.sh -p python3.3 /vrmd/ddns [precise.build] out…

Hynek Schlawack
hynek commented on issue itamarst/crochet#78
Hynek Schlawack

I made an example project: https://github.com/hynek/wsgi_test I use --lazy-apps and it explodes as I remembered it: Traceback (most recent call las…

hynek created branch master at hynek/wsgi_test
hynek created repository hynek/wsgi_test
hynek commented on issue itamarst/crochet#77
Hynek Schlawack

It does indeed!

hynek commented on issue itamarst/crochet#78
Hynek Schlawack

Oh and quitting is a problem too: Sat Feb 21 20:23:11 2015 - [emperor] stop the uwsgi instance development.ini Sat Feb 21 20:23:11 2015 - received …

hynek commented on issue itamarst/crochet#78
Hynek Schlawack

I had lazy-apps previously but IIRC it crashed right away. Making crochet.setup() idempotent sound like a good idea though.

hynek commented on issue itamarst/crochet#77
Hynek Schlawack

I had a bad conscience reporting it because nope, nothing. :-/

hynek commented on issue itamarst/crochet#78
Hynek Schlawack

I think uWSGI is mostly C, but it’s totally possible that it‘s the same pattern. I’m calling crochet.setup() in the main function that is used by …