Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed AttributeError: module 'collection' has no attribute 'MutableMapping' in python 3.10 #254

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions flanker/addresslib/_parser/addr_spec_parsetab.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@

# addr_spec_parsetab.py
# This file is automatically generated. Do not edit.
# pylint: disable=W,C,R
_tabversion = '3.10'

_lr_method = 'LALR'

_lr_signature = 'addr_specFWSP AT DOT COMMA SEMICOLON LANGLE RANGLE ATOM DOT_ATOM LBRACKET RBRACKET DTEXT DQUOTE QTEXT QPAIR LPAREN RPAREN CTEXT URLmailbox_or_url_list : mailbox_or_url_list delim mailbox_or_url\n | mailbox_or_url_list delim\n | mailbox_or_urldelim : delim fwsp COMMA\n | delim fwsp SEMICOLON\n | COMMA\n | SEMICOLONmailbox_or_url : mailbox\n | urlurl : ofwsp URL ofwspmailbox : addr_spec\n | angle_addr\n | name_addrname_addr : ofwsp phrase angle_addrangle_addr : ofwsp LANGLE addr_spec RANGLE ofwspaddr_spec : ofwsp local_part AT domain ofwsplocal_part : DOT_ATOM\n | ATOM\n | quoted_stringdomain : DOT_ATOM\n | ATOM\n | domain_literalquoted_string : DQUOTE quoted_string_text DQUOTE\n | DQUOTE DQUOTEquoted_string_text : quoted_string_text QTEXT\n | quoted_string_text QPAIR\n | quoted_string_text fwsp\n | QTEXT\n | QPAIR\n | fwspdomain_literal : LBRACKET domain_literal_text RBRACKET\n | LBRACKET RBRACKETdomain_literal_text : domain_literal_text DTEXT\n | domain_literal_text fwsp\n | DTEXT\n | fwspcomment : LPAREN comment_text RPAREN\n | LPAREN RPARENcomment_text : comment_text CTEXT\n | comment_text fwsp\n | CTEXT\n | fwspphrase : phrase fwsp ATOM\n | phrase fwsp DOT_ATOM\n | phrase fwsp DOT\n | phrase fwsp quoted_string\n | phrase ATOM\n | phrase DOT_ATOM\n | phrase DOT\n | phrase quoted_string\n | ATOM\n | DOT_ATOM\n | DOT\n | quoted_stringofwsp : fwsp comment fwsp\n | fwsp comment\n | comment fwsp\n | comment\n | fwsp\n |fwsp : FWSP'
_lr_signature = 'addr_specAT ATOM COMMA CTEXT DOT DOT_ATOM DQUOTE DTEXT FWSP LANGLE LBRACKET LPAREN QPAIR QTEXT RANGLE RBRACKET RPAREN SEMICOLON URLmailbox_or_url_list : mailbox_or_url_list delim mailbox_or_url\n | mailbox_or_url_list delim\n | mailbox_or_urldelim : delim fwsp COMMA\n | delim fwsp SEMICOLON\n | COMMA\n | SEMICOLONmailbox_or_url : mailbox\n | urlurl : ofwsp URL ofwspmailbox : addr_spec\n | angle_addr\n | name_addrname_addr : ofwsp phrase angle_addrangle_addr : ofwsp LANGLE addr_spec RANGLE ofwspaddr_spec : ofwsp local_part AT domain ofwsplocal_part : DOT_ATOM\n | ATOM\n | quoted_stringdomain : DOT_ATOM\n | ATOM\n | domain_literalquoted_string : DQUOTE quoted_string_text DQUOTE\n | DQUOTE DQUOTEquoted_string_text : quoted_string_text QTEXT\n | quoted_string_text QPAIR\n | quoted_string_text fwsp\n | QTEXT\n | QPAIR\n | fwspdomain_literal : LBRACKET domain_literal_text RBRACKET\n | LBRACKET RBRACKETdomain_literal_text : domain_literal_text DTEXT\n | domain_literal_text fwsp\n | DTEXT\n | fwspcomment : LPAREN comment_text RPAREN\n | LPAREN RPARENcomment_text : comment_text CTEXT\n | comment_text fwsp\n | CTEXT\n | fwspphrase : phrase fwsp ATOM\n | phrase fwsp DOT_ATOM\n | phrase fwsp DOT\n | phrase fwsp quoted_string\n | phrase ATOM\n | phrase DOT_ATOM\n | phrase DOT\n | phrase quoted_string\n | ATOM\n | DOT_ATOM\n | DOT\n | quoted_stringofwsp : fwsp comment fwsp\n | fwsp comment\n | comment fwsp\n | comment\n | fwsp\n |fwsp : FWSP'

_lr_action_items = {'FWSP':([0,2,4,6,7,10,14,15,16,17,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,38,39,40,41,42,43,44,],[4,4,-61,4,4,4,-42,4,-38,-41,-30,-29,-28,4,-40,-37,-39,4,4,-20,-21,-22,-27,-26,-25,-36,-35,4,-32,-34,-33,-31,]),'QPAIR':([4,10,20,21,22,24,33,34,35,],[-61,21,-30,-29,-28,34,-27,-26,-25,]),'QTEXT':([4,10,20,21,22,24,33,34,35,],[-61,22,-30,-29,-28,35,-27,-26,-25,]),'DTEXT':([4,29,38,39,40,42,43,],[-61,39,-36,-35,43,-34,-33,]),'DQUOTE':([0,1,2,3,4,7,8,10,16,18,20,21,22,24,26,33,34,35,],[-60,-59,-58,10,-61,-56,-57,23,-38,-55,-30,-29,-28,36,-37,-27,-26,-25,]),'LBRACKET':([19,],[29,]),'DOT_ATOM':([0,1,2,3,4,7,8,16,18,19,26,],[-60,-59,-58,11,-61,-56,-57,-38,-55,30,-37,]),'AT':([9,11,12,13,23,36,],[19,-17,-18,-19,-24,-23,]),'LPAREN':([0,1,4,28,30,31,32,41,44,],[6,6,-61,6,-20,-21,-22,-32,-31,]),'ATOM':([0,1,2,3,4,7,8,16,18,19,26,],[-60,-59,-58,12,-61,-56,-57,-38,-55,31,-37,]),'RPAREN':([4,6,14,15,17,25,27,],[-61,16,-42,26,-41,-40,-39,]),'RBRACKET':([4,29,38,39,40,42,43,],[-61,41,-36,-35,44,-34,-33,]),'CTEXT':([4,6,14,15,17,25,27,],[-61,17,-42,27,-41,-40,-39,]),'$end':([1,2,4,5,7,8,16,18,26,28,30,31,32,37,41,44,],[-59,-58,-61,0,-56,-57,-38,-55,-37,-60,-20,-21,-22,-16,-32,-31,]),}
_lr_action_items = {'DOT_ATOM':([0,2,3,4,5,12,13,15,18,24,25,],[-60,8,-59,-58,-61,-56,-57,-38,29,-55,-37,]),'ATOM':([0,2,3,4,5,12,13,15,18,24,25,],[-60,9,-59,-58,-61,-56,-57,-38,30,-55,-37,]),'DQUOTE':([0,2,3,4,5,11,12,13,15,20,21,22,23,24,25,34,35,36,],[-60,11,-59,-58,-61,19,-56,-57,-38,33,-28,-29,-30,-55,-37,-25,-26,-27,]),'FWSP':([0,4,5,6,11,12,14,15,16,17,20,21,22,23,25,26,27,28,29,30,31,32,34,35,36,38,39,40,41,42,43,44,],[5,5,-61,5,5,5,5,-38,-41,-42,5,-28,-29,-30,-37,-39,-40,5,-20,-21,-22,5,-25,-26,-27,5,-32,-35,-36,-31,-33,-34,]),'LPAREN':([0,3,5,28,29,30,31,39,42,],[6,6,-61,6,-20,-21,-22,-32,-31,]),'$end':([1,3,4,5,12,13,15,24,25,28,29,30,31,37,39,42,],[0,-59,-58,-61,-56,-57,-38,-55,-37,-60,-20,-21,-22,-16,-32,-31,]),'RPAREN':([5,6,14,16,17,26,27,],[-61,15,25,-41,-42,-39,-40,]),'CTEXT':([5,6,14,16,17,26,27,],[-61,16,26,-41,-42,-39,-40,]),'QTEXT':([5,11,20,21,22,23,34,35,36,],[-61,21,34,-28,-29,-30,-25,-26,-27,]),'QPAIR':([5,11,20,21,22,23,34,35,36,],[-61,22,35,-28,-29,-30,-25,-26,-27,]),'RBRACKET':([5,32,38,40,41,43,44,],[-61,39,42,-35,-36,-33,-34,]),'DTEXT':([5,32,38,40,41,43,44,],[-61,40,43,-35,-36,-33,-34,]),'AT':([7,8,9,10,19,33,],[18,-17,-18,-19,-24,-23,]),'LBRACKET':([18,],[32,]),}

_lr_action = {}
for _k, _v in _lr_action_items.items():
Expand All @@ -16,7 +17,7 @@
_lr_action[_x][_k] = _y
del _lr_action_items

_lr_goto_items = {'fwsp':([0,2,6,7,10,15,24,28,29,40,],[1,8,14,18,20,25,33,1,38,42,]),'comment':([0,1,28,],[2,7,2,]),'domain':([19,],[28,]),'comment_text':([6,],[15,]),'ofwsp':([0,28,],[3,37,]),'local_part':([3,],[9,]),'quoted_string_text':([10,],[24,]),'domain_literal_text':([29,],[40,]),'addr_spec':([0,],[5,]),'quoted_string':([3,],[13,]),'domain_literal':([19,],[32,]),}
_lr_goto_items = {'addr_spec':([0,],[1,]),'ofwsp':([0,28,],[2,37,]),'fwsp':([0,4,6,11,12,14,20,28,32,38,],[3,13,17,23,24,27,36,3,41,44,]),'comment':([0,3,28,],[4,12,4,]),'local_part':([2,],[7,]),'quoted_string':([2,],[10,]),'comment_text':([6,],[14,]),'quoted_string_text':([11,],[20,]),'domain':([18,],[28,]),'domain_literal':([18,],[31,]),'domain_literal_text':([32,],[38,]),}

_lr_goto = {}
for _k, _v in _lr_goto_items.items():
Expand Down
Loading