Shantanu

Results 122 issues of Shantanu

**Is your feature request related to a problem? Please describe.** Black's general philosophy is to prefer double quotes, but only if doing so doesn't involve additional escaping. In both of...

T: design
F: strings
S: needs discussion

**Describe the bug** Black should put parentheses and wrap this tuple over multiple lines: ``` def asdf(): for item in items: yield item, "this is a really long string describing...

T: bug
F: strings
F: linetoolong

The positional-only arg tests are based on those in CPython's master's Lib/test/test_ast.py

This ensures that the tests in common.py are a superset of those in 3.8's Lib/test/test_tools/test_unparse.py

Thanks for a useful library! astunparse doesn't special case docstrings: ``` >>> print(astunparse.unparse(ast.parse('''def f(): """multi\n line\n docstring\n """ '''))) def f(): 'multi\n line\n docstring\n ' ``` whereas Python 3.9 handles...

README mentions support for Python 2.6 through 3.5, however astunparse appears to have Python 3.8 support. I noticed, however, that there don't appear to be any tests for the walrus...

This test fails (if you unskip it) for Python 3.6 and 3.7 (but works for Python 3.8, presumably because of ast.Constant changes?) ``` @unittest.skipUnless(sys.version_info < (3, 6), "Only works for...

Thanks venturing into hell to bring us mwparser! I encountered an issue with tables and definition lists, hopefully the following makes it clear: ``` >>> import mwparserfromhell >>> [x.tag for...