-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
496 changed files
with
16,020 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+9 Bytes
(100%)
mongo_win/Lib/collections/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
mongo_win/Lib/distutils/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file modified
BIN
+9 Bytes
(100%)
mongo_win/Lib/encodings/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+9 Bytes
(100%)
mongo_win/Lib/encodings/__pycache__/utf_16_be.cpython-37.pyc
Binary file not shown.
Binary file modified
BIN
+9 Bytes
(100%)
mongo_win/Lib/encodings/__pycache__/utf_16_le.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+9 Bytes
(100%)
mongo_win/Lib/importlib/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+9 Bytes
(100%)
mongo_win/Lib/importlib/__pycache__/machinery.cpython-37.pyc
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license | ||
|
||
# Copyright (C) 2003-2007, 2009, 2011 Nominum, Inc. | ||
# | ||
# Permission to use, copy, modify, and distribute this software and its | ||
# documentation for any purpose with or without fee is hereby granted, | ||
# provided that the above copyright notice and this permission notice | ||
# appear in all copies. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS" AND NOMINUM DISCLAIMS ALL WARRANTIES | ||
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NOMINUM BE LIABLE FOR | ||
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT | ||
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
|
||
"""dnspython DNS toolkit""" | ||
|
||
__all__ = [ | ||
'dnssec', | ||
'e164', | ||
'edns', | ||
'entropy', | ||
'exception', | ||
'flags', | ||
'hash', | ||
'inet', | ||
'ipv4', | ||
'ipv6', | ||
'message', | ||
'name', | ||
'namedict', | ||
'node', | ||
'opcode', | ||
'query', | ||
'rcode', | ||
'rdata', | ||
'rdataclass', | ||
'rdataset', | ||
'rdatatype', | ||
'renderer', | ||
'resolver', | ||
'reversename', | ||
'rrset', | ||
'set', | ||
'tokenizer', | ||
'tsig', | ||
'tsigkeyring', | ||
'ttl', | ||
'rdtypes', | ||
'update', | ||
'version', | ||
'wiredata', | ||
'zone', | ||
] |
Binary file added
BIN
+642 Bytes
mongo_win/Lib/site-packages/dns/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.5 KB
mongo_win/Lib/site-packages/dns/__pycache__/reversename.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.09 KB
mongo_win/Lib/site-packages/dns/__pycache__/tsigkeyring.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import sys | ||
import decimal | ||
from decimal import Context | ||
|
||
PY3 = sys.version_info[0] == 3 | ||
PY2 = sys.version_info[0] == 2 | ||
|
||
|
||
if PY3: | ||
long = int | ||
xrange = range | ||
else: | ||
long = long # pylint: disable=long-builtin | ||
xrange = xrange # pylint: disable=xrange-builtin | ||
|
||
# unicode / binary types | ||
if PY3: | ||
text_type = str | ||
binary_type = bytes | ||
string_types = (str,) | ||
unichr = chr | ||
def maybe_decode(x): | ||
return x.decode() | ||
def maybe_encode(x): | ||
return x.encode() | ||
def maybe_chr(x): | ||
return x | ||
def maybe_ord(x): | ||
return x | ||
else: | ||
text_type = unicode # pylint: disable=unicode-builtin, undefined-variable | ||
binary_type = str | ||
string_types = ( | ||
basestring, # pylint: disable=basestring-builtin, undefined-variable | ||
) | ||
unichr = unichr # pylint: disable=unichr-builtin | ||
def maybe_decode(x): | ||
return x | ||
def maybe_encode(x): | ||
return x | ||
def maybe_chr(x): | ||
return chr(x) | ||
def maybe_ord(x): | ||
return ord(x) | ||
|
||
|
||
def round_py2_compat(what): | ||
""" | ||
Python 2 and Python 3 use different rounding strategies in round(). This | ||
function ensures that results are python2/3 compatible and backward | ||
compatible with previous py2 releases | ||
:param what: float | ||
:return: rounded long | ||
""" | ||
d = Context( | ||
prec=len(str(long(what))), # round to integer with max precision | ||
rounding=decimal.ROUND_HALF_UP | ||
).create_decimal(str(what)) # str(): python 2.6 compat | ||
return long(d) |
Oops, something went wrong.