Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Side by Side Diff: third_party/google-endpoints/future-0.16.0-py2.7.egg-info/PKG-INFO

Issue 2666783008: Add google-endpoints to third_party/. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Metadata-Version: 1.1
2 Name: future
3 Version: 0.16.0
4 Summary: Clean single-source support for Python 3 and 2
5 Home-page: https://python-future.org
6 Author: Ed Schofield
7 Author-email: ed@pythoncharmers.com
8 License: MIT
9 Description:
10 future: Easy, safe support for Python 2/3 compatibility
11 =======================================================
12
13 ``future`` is the missing compatibility layer between Python 2 and Pytho n
14 3. It allows you to use a single, clean Python 3.x-compatible codebase t o
15 support both Python 2 and Python 3 with minimal overhead.
16
17 It is designed to be used as follows::
18
19 from __future__ import (absolute_import, division,
20 print_function, unicode_literals)
21 from builtins import (
22 bytes, dict, int, list, object, range, str,
23 ascii, chr, hex, input, next, oct, open,
24 pow, round, super,
25 filter, map, zip)
26
27 followed by predominantly standard, idiomatic Python 3 code that then ru ns
28 similarly on Python 2.6/2.7 and Python 3.3+.
29
30 The imports have no effect on Python 3. On Python 2, they shadow the
31 corresponding builtins, which normally have different semantics on Pytho n 3
32 versus 2, to provide their Python 3 semantics.
33
34
35 Standard library reorganization
36 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37
38 ``future`` supports the standard library reorganization (PEP 3108) throu gh the
39 following Py3 interfaces:
40
41 >>> # Top-level packages with Py3 names provided on Py2:
42 >>> import html.parser
43 >>> import queue
44 >>> import tkinter.dialog
45 >>> import xmlrpc.client
46 >>> # etc.
47
48 >>> # Aliases provided for extensions to existing Py2 module names:
49 >>> from future.standard_library import install_aliases
50 >>> install_aliases()
51
52 >>> from collections import Counter, OrderedDict # backported to P y2.6
53 >>> from collections import UserDict, UserList, UserString
54 >>> import urllib.request
55 >>> from itertools import filterfalse, zip_longest
56 >>> from subprocess import getoutput, getstatusoutput
57
58
59 Automatic conversion
60 --------------------
61
62 An included script called `futurize
63 <http://python-future.org/automatic_conversion.html>`_ aids in convertin g
64 code (from either Python 2 or Python 3) to code compatible with both
65 platforms. It is similar to ``python-modernize`` but goes further in
66 providing Python 3 compatibility through the use of the backported types
67 and builtin functions in ``future``.
68
69
70 Documentation
71 -------------
72
73 See: http://python-future.org
74
75
76 Credits
77 -------
78
79 :Author: Ed Schofield
80 :Sponsor: Python Charmers Pty Ltd, Australia, and Python Charmers Pte
81 Ltd, Singapore. http://pythoncharmers.com
82 :Others: See docs/credits.rst or http://python-future.org/credits.html
83
84
85 Licensing
86 ---------
87 Copyright 2013-2016 Python Charmers Pty Ltd, Australia.
88 The software is distributed under an MIT licence. See LICENSE.txt.
89
90
91 Keywords: future past python3 migration futurize backport six 2to3 modernize pas teurize 3to2
92 Platform: UNKNOWN
93 Classifier: Programming Language :: Python
94 Classifier: Programming Language :: Python :: 2.6
95 Classifier: Programming Language :: Python :: 2.7
96 Classifier: Programming Language :: Python :: 3
97 Classifier: Programming Language :: Python :: 3.3
98 Classifier: Programming Language :: Python :: 3.4
99 Classifier: Programming Language :: Python :: 3.5
100 Classifier: License :: OSI Approved
101 Classifier: License :: OSI Approved :: MIT License
102 Classifier: Development Status :: 4 - Beta
103 Classifier: Intended Audience :: Developers
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698