def split(self, s):
parts = []<EOL>b = <NUM_LIT:0><EOL>while <NUM_LIT:1>:<EOL><INDENT>m = self.splitp.match(s, b)<EOL>if m is None:<EOL><INDENT>break<EOL><DEDENT>b,e = m.span()<EOL>parts.append(s[b:e])<EOL>b = e+<NUM_LIT:1><EOL><DEDENT>return parts<EOL>
Split the string on (.) while preserving any (.) inside the
'{}' alternalte syntax for full ns qualification.
@param s: A plain or qualifed name.
@type s: str
@return: A list of the name's parts.
@rtype: [str,..]