- 24 Nis, 2017 3 kayıt (commit)
-
-
Patrick Maupin yazdı
-
Patrick Maupin yazdı
* Enhance code generator performance - Algorithmic gains in pretty printer and string prettifier - Diminishing gains from a few closures in code_gen - One code-gen fix (and a test case) for None leaking into code-gen result list. - rtrip gains via new fast comparison function - PEP8 fixes
-
Patrick Maupin yazdı
* Fix new deprecation warnings - Change to DeprecationWarning to reduce noise in other testers - Set stack level so warning appears with proper source line - Check for warning in test * Explicitly verify warning content - Bonus: works with all testrunners.
-
- 22 Nis, 2017 20 kayıt (commit)
-
-
Patrick Maupin yazdı
-
Patrick Maupin yazdı
- We already pass these, but some other unparsers don't, so it's worth adding them to the regression.
-
Patrick Maupin yazdı
Add support for __future__ unicode_literals
-
Patrick Maupin yazdı
-- This only affects a very few modules that did not roundtrip properly
-
Patrick Maupin yazdı
Deprecate old API (issue #59)
-
Patrick Maupin yazdı
-
Patrick Maupin yazdı
Dual docs -- issue #63
-
Patrick Maupin yazdı
-
Patrick Maupin yazdı
-
Patrick Maupin yazdı
-
Patrick Maupin yazdı
- Plus add more verbose changelog format as suggested by Berker
-
Patrick Maupin yazdı
Add support for ASTs compiled with single or eval options
-
Patrick Maupin yazdı
-
Patrick Maupin yazdı
- Clean up code providing new functionality - (Thanks for the initial functionality, Ryan)
👍 - run extended test cases via astor.rtrip - add regression tests for new features based on rtrip failures - fix failing regressions -
Patrick Maupin yazdı
-
Patrick Maupin yazdı
-
Patrick Maupin yazdı
Otherwise, pretty printer will think it can break them up, and no joy will come from that.
-
Patrick Maupin yazdı
-
Patrick Maupin yazdı
-
Patrick Maupin yazdı
Add support for variable annotations
-
- 21 Nis, 2017 6 kayıt (commit)
-
-
Ryan Gonzalez yazdı
-
Lenny Truong yazdı
-
Lenny Truong yazdı
-
Lenny Truong yazdı
-
Lenny Truong yazdı
-
Lenny Truong yazdı
-
- 19 Nis, 2017 2 kayıt (commit)
-
-
Ryan Gonzalez yazdı
-
Ryan Gonzalez yazdı
-
- 11 Nis, 2017 1 kayıt (commit)
-
-
Ryan Gonzalez yazdı
-
- 23 Nis, 2016 2 kayıt (commit)
-
-
Berker Peksag yazdı
Include tests in release source tarball
-
Edward Betts yazdı
A test suite is a very useful thing, it would be great to include it in the pypi release tarball. That way people who download and build the release can run the tests to ensure the library is working. Linux distributions, such as Debian, base their packages of Python modules on the pypi release. This means the test suite can be run when building a Debian package, it should catch mistakes in the packaging or errors in dependencies. I've written some more on this topic on the Debian Python mailing list. https://lists.debian.org/debian-python/2016/04/msg00074.html
-
- 15 Tem, 2015 3 kayıt (commit)
-
-
Berker Peksag yazdı
Add test for elif
-
Patrick Maupin yazdı
-
Patrick Maupin yazdı
-
- 12 Tem, 2015 3 kayıt (commit)
-
-
Berker Peksag yazdı
precedence for `await` and `async for`
-
Zack M. Davis yazdı
Lib/test/test_coroutines.py in the Python 3.5 codebase was observed to not successfully roundtrip under astor.rtrip due to an await expression of an await expression (the offending coroutine function has been excerpted in the `test_double_await` test method introduced in this commit). The `await` operator has very high precedence, greater than that of exponentiation, as documented at https://docs.python.org/3.5/reference/expressions.html#operator-precedence.
-
Zack M. Davis yazdı
Without this, the call to set_precedence in visit_For calls get_op_precedence, which raises a KeyError.
-