OLD | NEW |
(Empty) | |
| 1 Changelog for six |
| 2 ================= |
| 3 |
| 4 This file lists the changes in each six version. |
| 5 |
| 6 1.8.0 |
| 7 ----- |
| 8 |
| 9 - Issue #90: Add six.moves.shlex_quote. |
| 10 |
| 11 - Issue #59: Add six.moves.intern. |
| 12 |
| 13 - Add six.urllib.parse.uses_(fragment|netloc|params|query|relative). |
| 14 |
| 15 - Issue #88: Fix add_metaclass when the class has __slots__ containing |
| 16 "__weakref__" or "__dict__". |
| 17 |
| 18 - Issue #89: Make six use absolute imports. |
| 19 |
| 20 - Issue #85: Always accept *updated* and *assigned* arguments for wraps(). |
| 21 |
| 22 - Issue #86: In reraise(), instantiate the exception if the second argument is |
| 23 None. |
| 24 |
| 25 - Pull request #45: Add six.moves.email_mime_nonmultipart. |
| 26 |
| 27 - Issue #81: Add six.urllib.request.splittag mapping. |
| 28 |
| 29 - Issue #80: Add six.urllib.request.splituser mapping. |
| 30 |
| 31 1.7.3 |
| 32 ----- |
| 33 |
| 34 - Issue #77: Fix import six on Python 3.4 with a custom loader. |
| 35 |
| 36 - Issue #74: six.moves.xmlrpc_server should map to SimpleXMLRPCServer on Python |
| 37 2 as documented not xmlrpclib. |
| 38 |
| 39 1.7.2 |
| 40 ----- |
| 41 |
| 42 - Issue #72: Fix installing on Python 2. |
| 43 |
| 44 1.7.1 |
| 45 ----- |
| 46 |
| 47 - Issue #71: Make the six.moves meta path importer handle reloading of the six |
| 48 module gracefully. |
| 49 |
| 50 1.7.0 |
| 51 ----- |
| 52 |
| 53 - Pull request #30: Implement six.moves with a PEP 302 meta path hook. |
| 54 |
| 55 - Pull request #32: Add six.wraps, which is like functools.wraps but always sets |
| 56 the __wrapped__ attribute. |
| 57 |
| 58 - Pull request #35: Improve add_metaclass, so that it doesn't end up inserting |
| 59 another class into the hierarchy. |
| 60 |
| 61 - Pull request #34: Add import mappings for dummy_thread. |
| 62 |
| 63 - Pull request #33: Add import mappings for UserDict and UserList. |
| 64 |
| 65 - Pull request #31: Select the implementations of dictionary iterator routines |
| 66 at import time for a 20% speed boost. |
| 67 |
| 68 1.6.1 |
| 69 ----- |
| 70 |
| 71 - Raise an AttributeError for six.moves.X when X is a module not available in |
| 72 the current interpreter. |
| 73 |
| 74 1.6.0 |
| 75 ----- |
| 76 |
| 77 - Raise an AttributeError for every attribute of unimportable modules. |
| 78 |
| 79 - Issue #56: Make the fake modules six.moves puts into sys.modules appear not to |
| 80 have a __path__ unless they are loaded. |
| 81 |
| 82 - Pull request #28: Add support for SplitResult. |
| 83 |
| 84 - Issue #55: Add move mapping for xmlrpc.server. |
| 85 |
| 86 - Pull request #29: Add move for urllib.parse.splitquery. |
| 87 |
| 88 1.5.2 |
| 89 ----- |
| 90 |
| 91 - Issue #53: Make the fake modules six.moves puts into sys.modules appear not to |
| 92 have a __name__ unless they are loaded. |
| 93 |
| 94 1.5.1 |
| 95 ----- |
| 96 |
| 97 - Issue #51: Hack around the Django autoreloader after recent six.moves changes. |
| 98 |
| 99 1.5.0 |
| 100 ----- |
| 101 |
| 102 - Removed support for Python 2.4. This is because py.test no longer supports |
| 103 2.4. |
| 104 |
| 105 - Fix various import problems including issues #19 and #41. six.moves modules |
| 106 are now lazy wrappers over the underlying modules instead of the actual |
| 107 modules themselves. |
| 108 |
| 109 - Issue #49: Add six.moves mapping for tkinter.ttk. |
| 110 |
| 111 - Pull request #24: Add __dir__ special method to six.moves modules. |
| 112 |
| 113 - Issue #47: Fix add_metaclass on classes with a string for the __slots__ |
| 114 variable. |
| 115 |
| 116 - Issue #44: Fix interpretation of backslashes on Python 2 in the u() function. |
| 117 |
| 118 - Pull request #21: Add import mapping for urllib's proxy_bypass function. |
| 119 |
| 120 - Issue #43: Add import mapping for the Python 2 xmlrpclib module. |
| 121 |
| 122 - Issue #39: Add import mapping for the Python 2 thread module. |
| 123 |
| 124 - Issue #40: Add import mapping for the Python 2 gdbm module. |
| 125 |
| 126 - Issue #35: On Python versions less than 2.7, print_ now encodes unicode |
| 127 strings when outputing to standard streams. (Python 2.7 handles this |
| 128 automatically.) |
| 129 |
| 130 1.4.1 |
| 131 ----- |
| 132 |
| 133 - Issue #32: urllib module wrappings don't work when six is not a toplevel file. |
| 134 |
| 135 1.4.0 |
| 136 ----- |
| 137 |
| 138 - Issue #31: Add six.moves mapping for UserString. |
| 139 |
| 140 - Pull request #12: Add six.add_metaclass, a decorator for adding a metaclass to |
| 141 a class. |
| 142 |
| 143 - Add six.moves.zip_longest and six.moves.filterfalse, which correspond |
| 144 respectively to itertools.izip_longest and itertools.ifilterfalse on Python 2 |
| 145 and itertools.zip_longest and itertools.filterfalse on Python 3. |
| 146 |
| 147 - Issue #25: Add the unichr function, which returns a string for a Unicode |
| 148 codepoint. |
| 149 |
| 150 - Issue #26: Add byte2int function, which complements int2byte. |
| 151 |
| 152 - Add a PY2 constant with obvious semantics. |
| 153 |
| 154 - Add helpers for indexing and iterating over bytes: iterbytes and indexbytes. |
| 155 |
| 156 - Add create_bound_method() wrapper. |
| 157 |
| 158 - Issue #23: Allow multiple base classes to be passed to with_metaclass. |
| 159 |
| 160 - Issue #24: Add six.moves.range alias. This exactly the same as the current |
| 161 xrange alias. |
| 162 |
| 163 - Pull request #5: Create six.moves.urllib, which contains abstractions for a |
| 164 bunch of things which are in urllib in Python 3 and spread out across urllib, |
| 165 urllib2, and urlparse in Python 2. |
| 166 |
| 167 1.3.0 |
| 168 ----- |
| 169 |
| 170 - Issue #21: Add methods to access the closure and globals of a function. |
| 171 |
| 172 - In six.iter(items/keys/values/lists), passed keyword arguments through to the |
| 173 underlying method. |
| 174 |
| 175 - Add six.iterlists(). |
| 176 |
| 177 - Issue #20: Fix tests if tkinter is not available. |
| 178 |
| 179 - Issue #17: Define callable to be builtin callable when it is available again |
| 180 in Python 3.2+. |
| 181 |
| 182 - Issue #16: Rename Python 2 exec_'s arguments, so casually calling exec_ with |
| 183 keyword arguments will raise. |
| 184 |
| 185 - Issue #14: Put the six.moves package in sys.modules based on the name six is |
| 186 imported under. |
| 187 |
| 188 - Fix Jython detection. |
| 189 |
| 190 - Pull request #4: Add email_mime_multipart, email_mime_text, and |
| 191 email_mime_base to six.moves. |
| 192 |
| 193 1.2.0 |
| 194 ----- |
| 195 |
| 196 - Issue #13: Make iterkeys/itervalues/iteritems return iterators on Python 3 |
| 197 instead of iterables. |
| 198 |
| 199 - Issue #11: Fix maxsize support on Jython. |
| 200 |
| 201 - Add six.next() as an alias for six.advance_iterator(). |
| 202 |
| 203 - Use the builtin next() function for advance_iterator() where is available |
| 204 (2.6+), not just Python 3. |
| 205 |
| 206 - Add the Iterator class for writing portable iterators. |
| 207 |
| 208 1.1.0 |
| 209 ----- |
| 210 |
| 211 - Add the int2byte function. |
| 212 |
| 213 - Add compatibility mappings for iterators over the keys, values, and items of a |
| 214 dictionary. |
| 215 |
| 216 - Fix six.MAXSIZE on platforms where sizeof(long) != sizeof(Py_ssize_t). |
| 217 |
| 218 - Issue #3: Add six.moves mappings for filter, map, and zip. |
| 219 |
| 220 1.0.0 |
| 221 ----- |
| 222 |
| 223 - Issue #2: u() on Python 2.x now resolves unicode escapes. |
| 224 |
| 225 - Expose an API for adding mappings to six.moves. |
| 226 |
| 227 1.0 beta 1 |
| 228 ---------- |
| 229 |
| 230 - Reworked six into one .py file. This breaks imports. Please tell me if you |
| 231 are interested in an import compatibility layer. |
OLD | NEW |