cpython/Doc/library
Miss Islington (bot) 57038bcb24
bpo-34576 warn users on security for http.server (GH-9720)
It was proposed to add an warning for http.server regarding security
issues. The wording was provided at bpo-26005 by @orsenthil
(cherry picked from commit 1d26c72e6a)

Co-authored-by: Felipe Rodrigues <felipe@felipevr.com>
2018-10-10 20:55:34 -07:00
..
2to3.rst bpo-21446: Update reload fixer to use importlib (GH-8391) 2018-07-23 11:11:22 +03:00
__future__.rst String annotations [PEP 563] (#4390) 2018-01-26 08:20:18 -08:00
__main__.rst
_dummy_thread.rst
_thread.rst
abc.rst bpo-28886: doc: Move deprecated abc decorators to separate section (GH-176) 2018-02-21 14:24:22 +09:00
aifc.rst
allos.rst
archiving.rst
argparse.rst Fix doc for `add_subparsers` arguments (GH-8884) 2018-08-23 23:22:17 -04:00
array.rst
ast.rst bpo-32911: Revert bpo-29463. (GH-7121) 2018-05-29 10:49:10 +03:00
asynchat.rst
asyncio-api-index.rst bpo-33649: Backport asyncio docs from 'master' to 3.7 (GH-9377) 2018-09-17 19:35:30 -04:00
asyncio-dev.rst bpo-33649: Backport asyncio docs from 'master' to 3.7 (GH-9377) 2018-09-17 19:35:30 -04:00
asyncio-eventloop.rst bpo-33649: More improvements (GH-9439) 2018-09-20 09:57:19 -07:00
asyncio-exceptions.rst bpo-33649: Backport asyncio docs from 'master' to 3.7 (GH-9377) 2018-09-17 19:35:30 -04:00
asyncio-future.rst bpo-33649: Add a high-level section about Futures; few quick fixes (GH-9403) 2018-09-18 15:09:51 -07:00
asyncio-llapi-index.rst bpo-34746: Fix stop -> close (GH-9437) 2018-09-19 22:21:08 -07:00
asyncio-platforms.rst bpo-33649: Backport asyncio docs from 'master' to 3.7 (GH-9377) 2018-09-17 19:35:30 -04:00
asyncio-policy.rst bpo-33649: Backport asyncio docs from 'master' to 3.7 (GH-9377) 2018-09-17 19:35:30 -04:00
asyncio-protocol.rst bpo-33649: Backport asyncio docs from 'master' to 3.7 (GH-9377) 2018-09-17 19:35:30 -04:00
asyncio-queue.rst bpo-33649: Backport asyncio docs from 'master' to 3.7 (GH-9377) 2018-09-17 19:35:30 -04:00
asyncio-stream.rst bpo-33649: Backport asyncio docs from 'master' to 3.7 (GH-9377) 2018-09-17 19:35:30 -04:00
asyncio-subprocess.rst bpo-33649: Backport asyncio docs from 'master' to 3.7 (GH-9377) 2018-09-17 19:35:30 -04:00
asyncio-sync.rst bpo-33649: Backport asyncio docs from 'master' to 3.7 (GH-9377) 2018-09-17 19:35:30 -04:00
asyncio-task.rst bpo-34476: Document that asyncio.sleep() always suspends. (GH-9643) (#9654) 2018-10-01 13:19:33 +03:00
asyncio.rst bpo-33649: Add a high-level section about Futures; few quick fixes (GH-9403) 2018-09-18 15:09:51 -07:00
asyncore.rst
atexit.rst bpo-31901: atexit callbacks should be run at subinterpreter shutdown (#4611) 2017-12-20 11:17:58 +01:00
audioop.rst
base64.rst bpo-27846: Delete incorrect note in base64 docs (GH-5666) 2018-02-14 03:48:00 +03:00
bdb.rst
binary.rst
binascii.rst bpo-33641: Convert RFC references into links. (GH-7103) 2018-05-30 22:33:23 -07:00
binhex.rst
bisect.rst
builtins.rst
bz2.rst
calendar.rst
cgi.rst bpo-33497: Add errors param to cgi.parse_multipart and make an encoding in FieldStorage use the given errors (GH-6804) (GH-6837) 2018-05-14 18:20:06 -04:00
cgitb.rst
chunk.rst
cmath.rst
cmd.rst
code.rst
codecs.rst bpo-33641: Convert RFC references into links. (GH-7103) 2018-05-30 22:33:23 -07:00
codeop.rst
collections.abc.rst bpo-32467: Let collections.abc.ValuesView inherit from Collection (#5152) 2018-01-11 21:53:49 -08:00
collections.rst Fix missing line from example shell session (GH-9143) (GH-9155) 2018-09-10 19:13:02 -07:00
colorsys.rst bpo-25910: Link redirections in docs (#1933) 2018-01-20 01:25:37 +01:00
compileall.rst closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575) 2017-12-09 10:26:52 -08:00
concurrency.rst
concurrent.futures.rst Fix wrong exception reference: BrokenThreadPool -> BrokenProcessPool (GH-9533) 2018-09-24 20:35:46 -07:00
concurrent.rst
configparser.rst bpo-27351: Fix ConfigParser.read() documentation and docstring (GH-8123) 2018-09-29 10:33:05 -06:00
constants.rst DOC: fix documentation for copyright and credits (GH-5706) 2018-02-16 20:09:20 -08:00
contextlib.rst Clarify that AsyncExitStack works with coroutine functions (GH-9405) (GH-9408) 2018-10-05 22:29:17 -04:00
contextvars.rst bpo-33985: Implement ContextVar.name attribute. (GH-7980) 2018-06-28 10:39:54 -07:00
copy.rst
copyreg.rst
crypt.rst
crypto.rst
csv.rst bpo-33798: Update csv document about dict order (GH-7490) 2018-06-08 06:33:32 -07:00
ctypes.rst bpo-4260: Document that ctypes.xFUNCTYPE are decorators (GH-7924) 2018-07-13 06:35:31 -07:00
curses.ascii.rst
curses.panel.rst
curses.rst [3.7] bpo-8243: Doc patch for curses.window.addstr and curses.window.addch (GH-5179) (GH-6404) 2018-04-06 22:00:06 -04:00
custominterp.rst
dataclasses.rst Fix astuple in dataclasses documentation (GH-9631) 2018-09-29 03:55:14 -07:00
datatypes.rst
datetime.rst [3.7] bpo-34158: Documentation UTC offset update (GH-8377) (GH-9732) 2018-10-05 22:44:23 -04:00
dbm.rst Warn that dbm.dumb.open() can crash Python (GH-6047) (GH-6048) 2018-03-09 16:12:54 -08:00
debug.rst
decimal.rst
development.rst bpo-32101: Add PYTHONDEVMODE environment variable (#4624) 2017-11-30 11:40:24 +01:00
difflib.rst
dis.rst bpo-34906: Doc: Fix typos (GH-9712) 2018-10-05 07:35:18 -07:00
distribution.rst bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814) (GH-6872) 2018-05-16 10:05:46 -04:00
distutils.rst
doctest.rst
dummy_threading.rst
email.charset.rst
email.compat32-message.rst Fix "Python" casing in a few places (GH-9001) (GH-9313) 2018-09-14 12:15:10 -07:00
email.contentmanager.rst bpo-30820: Remove incorrect docs for email.contentmanager.raw_data_manager (GH-7631) (#7633) 2018-06-11 12:11:22 -04:00
email.encoders.rst
email.errors.rst bpo-27397: Make email module properly handle invalid-length base64 strings (GH-7583) (GH-7664) 2018-06-12 16:46:11 +03:00
email.examples.rst bpo-33641: Convert RFC references into links. (GH-7103) 2018-05-30 22:33:23 -07:00
email.generator.rst Spelling fixes to docs, docstrings, and comments (GH-6374) 2018-04-20 14:00:41 -07:00
email.header.rst
email.headerregistry.rst
email.iterators.rst
email.message.rst
email.mime.rst
email.parser.rst bpo-34124: Fix markup of message_from_binary_file() signature (GH-8297) 2018-07-16 21:43:41 +03:00
email.policy.rst
email.rst bpo-33859: Fix spelling mistakes in docs. (GH-7691) 2018-06-15 22:26:34 -07:00
email.util.rst
ensurepip.rst [3.7] bpo-32996: The bulk of What's New in Python 3.7 (GH-6978). (GH-6998) 2018-05-19 23:39:45 -04:00
enum.rst [3.7] bpo-29577: Enum: mixin classes don't mix well with already mixed Enums (GH-9328) (GH-9486) 2018-09-21 22:26:32 -07:00
errno.rst
exceptions.rst Clarify ValueError's broad applicability (GH-8313) (GH-8315) 2018-07-17 13:22:50 -07:00
faulthandler.rst Improve highlighting of some code blocks. (GH-6401) 2018-04-09 07:56:44 -07:00
fcntl.rst
filecmp.rst
fileformats.rst
fileinput.rst
filesys.rst
fnmatch.rst
formatter.rst
fractions.rst
frameworks.rst
ftplib.rst bpo-33641: Convert RFC references into links. (GH-7103) 2018-05-30 22:33:23 -07:00
functional.rst
functions.rst bpo-34434: Update doc for bool(), float() and int() arguments (GH-8834) 2018-08-27 06:58:56 -04:00
functools.rst Note that distinct argument patterns can be cached separately (GH-9298) (GH-9299) 2018-09-14 01:13:17 -07:00
gc.rst Revert "bpo-31356: Add context manager to temporarily disable GC GH-5495 (#5496) 2018-02-02 10:04:32 -05:00
getopt.rst
getpass.rst bpo-32651 Recommend getpass.getuser() (#5301) 2018-01-24 12:51:29 -05:00
gettext.rst
glob.rst bpo-32860: Fix a missing asterisk in the documentation for glob.iglob() (GH-5712) 2018-02-16 19:51:09 -08:00
grp.rst
gzip.rst
hashlib-blake2-tree.png
hashlib.rst [3.7] bpo-33729: Fix issues with arguments parsing in hashlib. (GH-8346) (GH-8581) 2018-07-31 10:22:44 +03:00
heapq.rst bpo-31145: Use dataclasses to create a prioritization wrapper (#5153) 2018-01-11 22:06:34 -08:00
hmac.rst bpo-33604: Remove Pending from hmac Deprecation warning. (GH-7062) 2018-05-22 16:40:44 -07:00
html.entities.rst
html.parser.rst
html.rst bpo-31865: Fix a couple of typos in the html.unescape() docs. (GH-9663) 2018-10-01 17:43:54 -07:00
http.client.rst
http.cookiejar.rst bpo-33641: Convert RFC references into links. (GH-7103) 2018-05-30 22:33:23 -07:00
http.cookies.rst
http.rst
http.server.rst bpo-34576 warn users on security for http.server (GH-9720) 2018-10-10 20:55:34 -07:00
i18n.rst
idle.rst Fix "Python" casing in a few places (GH-9001) (GH-9313) 2018-09-14 12:15:10 -07:00
imaplib.rst Fix "Python" casing in a few places (GH-9001) (GH-9313) 2018-09-14 12:15:10 -07:00
imghdr.rst
imp.rst
importlib.rst Fix the versionadded indentation in exec_module doc (GH-8719) 2018-08-12 00:01:21 -07:00
index.rst bpo-34717: Stop numbering stdlib titles/sections in the docs (GH-9370) 2018-09-17 15:42:09 -07:00
inspect.rst Fix "Python" casing in a few places (GH-9001) (GH-9313) 2018-09-14 12:15:10 -07:00
internet.rst
intro.rst
io.rst bpo-33804: Document that the argument for io.TextIOBase.read() is optional (GH-7510) 2018-07-07 13:39:03 -07:00
ipaddress.rst bpo-27683: Fix a regression for host() of ipaddress network objects (GH-6016) 2018-03-20 18:22:23 -07:00
ipc.rst bpo-33649: Backport asyncio docs from 'master' to 3.7 (GH-9377) 2018-09-17 19:35:30 -04:00
itertools.rst Add a prepend() recipe to teach a chain() idiom (GH-6415) (GH-6421) 2018-04-08 14:37:30 -07:00
json.rst bpo-34379: Doc: Move note for json.dump (GH-8730) 2018-08-11 01:02:03 -07:00
keyword.rst
language.rst
linecache.rst
locale.rst bpo-31900: Fix localeconv() encoding for LC_NUMERIC (#4174) 2018-01-15 15:58:02 +01:00
logging.config.rst bpo-33400: Removed references to RFC3339 and ISO8601 from the logging documentation. (GH-7297) (GH-7302) 2018-06-01 18:54:30 +01:00
logging.handlers.rst bpo-34334: Don't log traceback twice in QueueHandler (GH-9537) (GH-9581) 2018-10-07 00:33:37 -04:00
logging.rst [3.7] bpo-34065: Improve the markup of logging.basicConfig() arguments (GH-8153). (GH-8156) 2018-07-07 19:12:11 +03:00
lzma.rst
macpath.rst
mailbox.rst bpo-25910: Link redirections in docs (#1933) 2018-01-20 01:25:37 +01:00
mailcap.rst
markup.rst
marshal.rst
math.rst bpo-26701: Add documentation for __trunc__ (GH-6049) 2018-03-11 01:10:32 +10:00
mimetypes.rst
misc.rst
mm.rst
mmap.rst Fix typos '.::' should typically just be '::'. (GH-6165) (GH-6300) 2018-03-29 04:34:44 -04:00
modulefinder.rst
modules.rst
msilib.rst
msvcrt.rst
multiprocessing.rst bpo-32362: Fix references to non-existent multiprocessing.Connection() (GH-6223) 2018-04-29 12:09:34 -07:00
netdata.rst
netrc.rst bpo-28334: netrc() now uses expanduser() to find .netrc file (GH-4537) 2017-11-25 13:37:22 +03:00
nis.rst
nntplib.rst bpo-33641: Convert RFC references into links. (GH-7103) 2018-05-30 22:33:23 -07:00
numbers.rst
numeric.rst
operator.rst
optparse.rst bpo-33892: Doc: Use gender neutral words (GH-7770) 2018-06-17 21:49:43 -07:00
os.path.rst bpo-15221: Update os.path.is*() documentation (GH-5185) 2018-01-14 20:57:51 -08:00
os.rst bpo-31368: Enhance os.preadv() documentation (GH-7254) 2018-05-30 16:22:13 -07:00
ossaudiodev.rst [3.7] bpo-32746: Fix multiple typos (GH-5144) (GH-5520) 2018-02-03 20:41:43 -05:00
othergui.rst bpo-25910: Fixes redirection from http to https (#4674) 2017-12-06 17:39:33 +01:00
parser.rst
pathlib-inheritance.png
pathlib-inheritance.svg
pathlib.rst bpo-34825: Add more entries to os to pathlib reference table (GH-9608) (#9717) 2018-10-05 19:06:17 +03:00
pdb.rst Doc: Remove superfluous markup. (GH-8112) 2018-07-06 02:34:24 -07:00
persistence.rst
pickle.rst Fix typo in object.__getnewargs__() documentation (GH-7554) 2018-06-09 18:01:36 -07:00
pickletools.rst
pipes.rst
pkgutil.rst
platform.rst [3.7] bpo-26544: Fixed implementation of platform.libc_ver(). (GH-7684). (GH-8193) 2018-07-09 12:55:35 +03:00
plistlib.rst bpo-33801: Remove non-ordered dict comment from plistlib doc (GH-7495) (GH-7546) 2018-06-08 17:57:43 -04:00
poplib.rst
posix.rst
pprint.rst bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814) (GH-6872) 2018-05-16 10:05:46 -04:00
profile.rst bpo-5978: Document that profiling needs cmd/function to return (GH-7938) 2018-07-28 05:23:42 -07:00
pty.rst
pwd.rst
py_compile.rst bpo-29708: Setting SOURCE_DATE_EPOCH forces hash-based .pyc files (GH-5200) 2018-01-24 13:26:18 -08:00
pyclbr.rst Fix "Python" casing in a few places (GH-9001) (GH-9313) 2018-09-14 12:15:10 -07:00
pydoc.rst
pyexpat.rst
python.rst bpo-32216: Add documentation for dataclasses (GH-6886) 2018-05-16 02:17:03 -07:00
queue.rst bpo-14976: Reentrant simple queue (#3346) 2018-01-16 00:27:16 +01:00
quopri.rst bpo-32701: Clarify the quotetabs flag in quopri documentation (GH-5401) 2018-01-29 19:36:06 -08:00
random.rst
re.rst Correct grammar mistake in re.rst. (GH-9745) 2018-10-06 12:56:45 -07:00
readline.rst bpo-13631: Fix the order of initialization for readline libedit on macOS. (GH-6915) (GH-6928) 2018-05-17 03:27:33 -04:00
reprlib.rst
resource.rst
rlcompleter.rst
runpy.rst
sched.rst Improve Scheduler Objects documentation. (GH-4556) 2017-11-24 21:43:01 -08:00
secrets.rst bpo-25910: Fixes redirection from http to https (#4674) 2017-12-06 17:39:33 +01:00
select.rst bpo-32568: make select.epoll() and its docs consistent (GH-7840) (GH-8024) 2018-06-30 16:03:19 +03:00
selectors.rst
shelve.rst
shlex.rst
shutil.rst bpo-26330: Update shutil.disk_usage() documentation (GH-5184) 2018-01-14 21:08:37 -08:00
signal.rst bpo-33550: Warn not to set SIGPIPE to SIG_DFL (GH-6773) 2018-08-24 19:28:58 -07:00
site.rst Fix site module documentation. (GH-8441) 2018-07-24 10:30:33 -07:00
smtpd.rst
smtplib.rst closes bpo-34525: Fix smtplib's authobject() documentation (GH-8965) 2018-09-10 11:13:13 -07:00
sndhdr.rst
socket.rst [3.7] closes bpo-25041: Document AF_PACKET socket address format. (GH-9207) 2018-09-11 18:46:36 -07:00
socketserver.rst bpo-33540: Add block_on_close attr to socketserver (GH-6911) 2018-05-23 18:34:43 -07:00
spwd.rst
sqlite3.rst bpo-8145: Improve isolation_level documentation (GH-8499) 2018-07-29 12:06:35 +01:00
ssl.rst bpo-34906: Doc: Fix typos (GH-9712) 2018-10-05 07:35:18 -07:00
stat.rst
statistics.rst [3.7] bpo-33573: docs to suggest median() alternatives for non-numeric data (GH-7587) (GH-7906) 2018-06-25 14:18:54 +03:00
stdtypes.rst bpo-28617 Fixed docs inaccuracies about the types that support membership tests (GH-9086) 2018-09-11 11:13:33 -07:00
string.rst bpo-34273: Change 'Fixed point' to 'Fixed-point notation'. (GH-8673) 2018-08-06 05:47:36 -07:00
stringprep.rst bpo-33641: Convert RFC references into links. (GH-7103) 2018-05-30 22:33:23 -07:00
struct.rst bpo-33032: Mention the implicit cache in struct.Struct() docs (GH-7700) 2018-09-10 21:50:41 -07:00
subprocess.rst Make docs of exitcode for subprocess.getstatusoutput more clear. (GH-9477) 2018-09-21 13:34:46 -07:00
sunau.rst
superseded.rst
symbol.rst
symtable.rst
sys.rst bpo-34901: add isolated (-I) flag to sys.flags (GH-9708) 2018-10-07 09:18:20 -07:00
sysconfig.rst
syslog.rst Fix "Python" casing in a few places (GH-9001) (GH-9313) 2018-09-14 12:15:10 -07:00
tabnanny.rst
tarfile.rst bpo-30693: zip+tarfile: sort directory listing (#2263) 2018-01-31 17:01:55 -05:00
telnetlib.rst
tempfile.rst Clarified the tempfile.tempdir documentation (GH-7829) (GH-7841) 2018-06-21 04:03:29 -04:00
termios.rst
test.rst Fix "Python" casing in a few places (GH-9001) (GH-9313) 2018-09-14 12:15:10 -07:00
text.rst
textwrap.rst
threading.rst closes bpo-34004: Skip lock interruption tests on musl. (GH-9224) 2018-09-12 14:10:56 -07:00
time.rst bpo-32593: Drop FreeBSD 9 and older support (#5232) 2018-01-22 18:32:50 +01:00
timeit.rst bpo-28240: timeit: Update repeat() doc (GH-7419) (GH-7457) 2018-06-06 19:05:46 +02:00
tk.rst
tkinter.rst bpo-33280: Reorganize external Tcl/Tk references. (GH-6473) 2018-04-25 11:30:58 -07:00
tkinter.scrolledtext.rst
tkinter.tix.rst
tkinter.ttk.rst bpo-32585: Add tkinter.ttk.Spinbox. (GH-5221) (GH-5592) 2018-02-09 13:40:14 +02:00
token.rst
tokenize.rst Improve highlighting of some code blocks. (GH-6401) 2018-04-09 07:56:44 -07:00
trace.rst
traceback.rst bpo-27910: Update documentation of traceback module (GH-6116) 2018-08-02 19:51:48 +03:00
tracemalloc.rst bpo-32121: Add most_recent_first parameter to tracemalloc.Traceback.format (#4534) 2017-11-30 00:05:07 +01:00
tty.rst
tulip_coro.dia
tulip_coro.png
turtle-star.pdf
turtle-star.png
turtle-star.ps
turtle.rst
types.rst bpo-32717: Document PEP 560 (GH-6726) 2018-05-08 11:52:36 -07:00
typing.rst Clarify that Type[SomeTypeVar] is legal (GH-9585) 2018-09-26 08:21:15 -07:00
undoc.rst
unicodedata.rst update to Unicode 11.0.0 (closes bpo-33778) (GH-7439) (GH-7470) 2018-06-07 03:36:22 -04:00
unittest.mock-examples.rst Fix "Python" casing in a few places (GH-9001) (GH-9313) 2018-09-14 12:15:10 -07:00
unittest.mock.rst bpo-32933: Implement __iter__ method on mock_open() (GH-5974) 2018-09-15 00:30:04 +03:00
unittest.rst [3.7] Make it clear that the msg argument to assertWarns/assertWarnsRegex/assertRaisesRegex is keyword-only. (GH-9680) (GH-9681) 2018-10-05 22:39:47 -04:00
unix.rst
urllib.error.rst bpo-33641: Convert RFC references into links. (GH-7103) 2018-05-30 22:33:23 -07:00
urllib.parse.rst bpo-33641: Convert RFC references into links. (GH-7103) 2018-05-30 22:33:23 -07:00
urllib.request.rst bpo-34418: Fix HTTPErrorProcessor documentation (GH-8793) 2018-08-17 06:02:08 -04:00
urllib.robotparser.rst
urllib.rst
uu.rst
uuid.rst bpo-33640, uuid.UUID doc: document endian of bytes parameter (GH-7263) 2018-06-04 10:17:28 -07:00
venv.rst bpo-24356: Specify which Python binary will be used with venv (GH-6589) 2018-07-28 17:48:29 +01:00
warnings.rst bpo-31975 (PEP 565): Show DeprecationWarning in __main__ (GH-4458) 2018-01-08 12:45:02 +10:00
wave.rst
weakref.rst
webbrowser.rst
windows.rst
winreg.rst
winsound.rst
wsgiref.rst bpo-33641: Convert RFC references into links. (GH-7103) 2018-05-30 22:33:23 -07:00
xdrlib.rst
xml.dom.minidom.rst
xml.dom.pulldom.rst [3.7] bpo-17239: Disable external entities in SAX parser (GH-9217) (GH-9511) 2018-09-24 05:38:37 -07:00
xml.dom.rst bpo-25910: Link redirections in docs (#1933) 2018-01-20 01:25:37 +01:00
xml.etree.elementtree.rst bpo-32800: Update link to w3c doc for xml default namespaces (GH-5609) (GH-5611) 2018-02-10 18:08:34 -05:00
xml.rst [3.7] bpo-17239: Disable external entities in SAX parser (GH-9217) (GH-9511) 2018-09-24 05:38:37 -07:00
xml.sax.handler.rst
xml.sax.reader.rst
xml.sax.rst [3.7] bpo-17239: Disable external entities in SAX parser (GH-9217) (GH-9511) 2018-09-24 05:38:37 -07:00
xml.sax.utils.rst
xmlrpc.client.rst bpo-33859: Fix spelling mistakes in docs. (GH-7691) 2018-06-15 22:26:34 -07:00
xmlrpc.rst
xmlrpc.server.rst
zipapp.rst bpo-34906: Doc: Fix typos (GH-9712) 2018-10-05 07:35:18 -07:00
zipfile.rst bpo-30693: zip+tarfile: sort directory listing (#2263) 2018-01-31 17:01:55 -05:00
zipimport.rst
zlib.rst bpo-32969: Expose some missing constants in zlib and fix the doc (GH-5988) 2018-03-06 21:26:19 -08:00