You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Get ready for release 3.3.1
This commit is contained in:
16
NEWS.md
16
NEWS.md
@@ -1,4 +1,18 @@
|
|||||||
3.3.0 2019-03-23 Holy Week
|
3.3.1 2019-04-19 Good Friday
|
||||||
|
==========================
|
||||||
|
|
||||||
|
Lots of decomplation bugs, especially in the 3.x series fixed. Don't worry though, many more remain.
|
||||||
|
|
||||||
|
* Add annotation return values in 3.6+
|
||||||
|
* Fix 3.6+ lambda parameter handling decompilation
|
||||||
|
* Fix 3.7+ chained comparision decompilation
|
||||||
|
* split out semantic-action customization into more separate files
|
||||||
|
* Add 3.8 try/else
|
||||||
|
* Fix 2.7 generator decompilation
|
||||||
|
* Fix some parser failures fixes in 3.4+ using test_pyenvlib
|
||||||
|
* Add more run tests
|
||||||
|
|
||||||
|
3.3.0 2019-43-14 Holy Week
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
* First cut at Python 3.8 (many bugs remain)
|
* First cut at Python 3.8 (many bugs remain)
|
||||||
|
@@ -98,7 +98,7 @@ class Python3Parser(PythonParser):
|
|||||||
sstmt ::= return RETURN_LAST
|
sstmt ::= return RETURN_LAST
|
||||||
|
|
||||||
return_if_stmts ::= return_if_stmt come_from_opt
|
return_if_stmts ::= return_if_stmt come_from_opt
|
||||||
return_if_stmts ::= _stmts return_if_stmt
|
return_if_stmts ::= _stmts return_if_stmt _come_froms
|
||||||
return_if_stmt ::= ret_expr RETURN_END_IF
|
return_if_stmt ::= ret_expr RETURN_END_IF
|
||||||
returns ::= _stmts return_if_stmt
|
returns ::= _stmts return_if_stmt
|
||||||
|
|
||||||
|
@@ -17,15 +17,10 @@ spark grammar differences over Python 3.3 for Python 3.4
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
from uncompyle6.parser import PythonParserSingle
|
from uncompyle6.parser import PythonParserSingle
|
||||||
from spark_parser import DEFAULT_DEBUG as PARSER_DEFAULT_DEBUG
|
|
||||||
from uncompyle6.parsers.parse33 import Python33Parser
|
from uncompyle6.parsers.parse33 import Python33Parser
|
||||||
|
|
||||||
class Python34Parser(Python33Parser):
|
class Python34Parser(Python33Parser):
|
||||||
|
|
||||||
def __init__(self, debug_parser=PARSER_DEFAULT_DEBUG):
|
|
||||||
super(Python34Parser, self).__init__(debug_parser)
|
|
||||||
self.customized = {}
|
|
||||||
|
|
||||||
def p_misc34(self, args):
|
def p_misc34(self, args):
|
||||||
"""
|
"""
|
||||||
expr ::= LOAD_ASSERT
|
expr ::= LOAD_ASSERT
|
||||||
|
@@ -12,4 +12,4 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
# This file is suitable for sourcing inside bash as
|
# This file is suitable for sourcing inside bash as
|
||||||
# well as importing into Python
|
# well as importing into Python
|
||||||
VERSION='3.3.0' # noqa
|
VERSION='3.3.1' # noqa
|
||||||
|
Reference in New Issue
Block a user