Package pyxmpp :: Module jid
[show private | hide private]
[frames | no frames]

Module pyxmpp.jid

jid -- Jabber ID handling

Normative reference:
  - `RFC 3920 <http://www.ietf.org/rfc/rfc3920.txt>`__

Classes
JID JID.

Exceptions
JIDError Exception raised when invalid JID is used...

Function Summary
  are_domains_equal(a, b)
Compare two International Domain Names.

Variable Summary
str __revision__ = '$Id: jid.py 612 2005-12-26 11:11:32Z jaj...
SRE_Pattern node_invalid_re = ["&'/:<>@\s-]
SRE_Pattern resource_invalid_re = [\s-]

Imported modules:
encodings.idna, re, warnings, weakref
Imported variables:
nodeprep, resourceprep
Function Details

are_domains_equal(a, b)

Compare two International Domain Names.

:Parameters:
    - `a`,`b`: domains names to compare

:return: True `a` and `b` are equal as domain names.

Variable Details

__revision__

Type:
str
Value:
'$Id: jid.py 612 2005-12-26 11:11:32Z jajcus $'                        

node_invalid_re

Type:
SRE_Pattern
Value:
["&'/:<>@\s-]                                                        

resource_invalid_re

Type:
SRE_Pattern
Value:
[\s-]                                                                

Generated by Epydoc 2.1 on Wed May 31 22:36:59 2006 http://epydoc.sf.net