Skip to content

Upgrading future 0.2 to 0.3

Unknown0.2.0 → 0.3.5

Fetching 6 releases from GitHub…0 / 6
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • added: function escape(s, quote=…)
  • added: variable codepoint2name
  • added: variable entitydefs
  • added: variable html5
  • added: variable name2codepoint
  • added: class HTMLParseError(Exception)
  • added: class HTMLParser(_markupbase.ParserBase)
  • added: constructor HTMLParseError(msg, position=…)
  • added: constructor HTMLParser(strict=…)
  • added: field HTMLParser.CDATA_CONTENT_ELEMENTS
  • added: method HTMLParser.check_for_whole_start_tag(i)
  • added: method HTMLParser.clear_cdata_mode()
  • added: method HTMLParser.close()
  • added: method HTMLParser.error(message)
  • added: method HTMLParser.feed(data)
  • added: method HTMLParser.get_starttag_text()
  • added: method HTMLParser.goahead(end)
  • added: method HTMLParser.handle_charref(name)
  • added: method HTMLParser.handle_comment(data)
  • added: method HTMLParser.handle_data(data)
  • added: method HTMLParser.handle_decl(decl)
  • added: method HTMLParser.handle_endtag(tag)
  • added: method HTMLParser.handle_entityref(name)
  • added: method HTMLParser.handle_pi(data)
  • added: method HTMLParser.handle_startendtag(tag, attrs)
  • added: method HTMLParser.handle_starttag(tag, attrs)
  • added: method HTMLParser.parse_bogus_comment(i, report=…)
  • added: method HTMLParser.parse_endtag(i)
  • added: method HTMLParser.parse_html_declaration(i)
  • added: method HTMLParser.parse_pi(i)
  • added: method HTMLParser.parse_starttag(i)
  • added: method HTMLParser.reset()
  • added: method HTMLParser.set_cdata_mode(elem)
  • added: method HTMLParser.unescape(s)
  • added: method HTMLParser.unknown_decl(data)
  • added: variable attrfind
  • added: variable attrfind_tolerant
  • added: variable charref
  • added: variable commentclose
  • added: variable endendtag
  • added: variable endtagfind
  • added: variable entityref
  • added: variable incomplete
  • added: variable interesting_normal
  • added: variable locatestarttagend
  • added: variable locatestarttagend_tolerant
  • added: variable piclose
  • added: variable starttagopen
  • added: variable tagfind
  • added: variable tagfind_tolerant
  • added: class BadStatusLine(HTTPException)
  • added: class CannotSendHeader(ImproperConnectionState)
  • added: class CannotSendRequest(ImproperConnectionState)
  • added: class HTTPConnection(object)
  • added: class HTTPException(Exception)
  • added: class HTTPResponse(object)
  • added: class HTTPSConnection(HTTPConnection)
  • added: class ImproperConnectionState(HTTPException)
  • added: class IncompleteRead(HTTPException)
  • added: class InvalidURL(HTTPException)
  • added: class NotConnected(HTTPException)
  • added: class ResponseNotReady(ImproperConnectionState)
  • added: class UnimplementedFileMode(HTTPException)
  • added: class UnknownProtocol(HTTPException)
  • added: class UnknownTransferEncoding(HTTPException)
  • added: constructor BadStatusLine(line)
  • added: constructor HTTPConnection(host, port=…, strict=…, timeout=…, source_address=…)
  • added: constructor HTTPResponse(sock, debuglevel=…, strict=…, method=…, buffering=…)
  • added: constructor HTTPSConnection(host, port=…, key_file=…, cert_file=…, strict=…, timeout=…, source_address=…)
  • added: constructor IncompleteRead(partial, expected=…)
  • added: constructor UnknownProtocol(version)
  • added: field HTTPConnection.auto_open
  • added: field HTTPConnection.debuglevel
  • added: field HTTPConnection.default_port
  • added: field HTTPConnection.response_class
  • added: field HTTPConnection.strict
  • added: field HTTPSConnection.default_port
  • added: method HTTPConnection.close()
  • added: method HTTPConnection.connect()
  • added: method HTTPConnection.endheaders(message_body=…)
  • added: method HTTPConnection.getresponse(buffering=…)
  • added: method HTTPConnection.putheader(header, *values)
  • added: method HTTPConnection.putrequest(method, url, skip_host=…, skip_accept_encoding=…)
  • added: method HTTPConnection.request(method, url, body=…, headers=…)
  • added: method HTTPConnection.send(data)
  • added: method HTTPConnection.set_debuglevel(level)
  • added: method HTTPConnection.set_tunnel(host, port=…, headers=…)
  • added: method HTTPResponse.begin()
  • added: method HTTPResponse.close()
  • added: method HTTPResponse.fileno()
  • added: method HTTPResponse.getheader(name, default=…)
  • added: method HTTPResponse.getheaders()
  • added: method HTTPResponse.isclosed()
  • added: method HTTPResponse.read(amt=…)
  • added: method HTTPSConnection.connect()
  • added: variable error
  • added: variable responses
  • added: class Cookie(object)
  • added: class CookieJar(object)
  • added: class CookiePolicy(object)
  • added: class DefaultCookiePolicy(CookiePolicy)
  • added: class FileCookieJar(CookieJar)
  • added: class LoadError(IOError)
  • added: constructor Cookie(version, name, value, port, port_specified, domain, domain_specified, domain_initial_dot, path, path_specified, secure, expires, discard, comment, comment_url, rest, rfc2109=…)
  • added: constructor CookieJar(policy=…)
  • added: constructor DefaultCookiePolicy(blocked_domains=…, allowed_domains=…, netscape=…, rfc2965=…, rfc2109_as_netscape=…, hide_cookie2=…, strict_domain=…, strict_rfc2965_unverifiable=…, strict_ns_unverifiable=…, strict_ns_domain=…, strict_ns_set_initial_dollar=…, strict_ns_set_path=…)
  • added: constructor FileCookieJar(filename=…, delayload=…, policy=…)
  • added: export LWPCookieJar
  • added: export MozillaCookieJar
  • added: export lwp_cookie_str
  • added: field CookieJar.domain_re
  • added: field CookieJar.dots_re
  • added: field CookieJar.magic_re
  • added: field CookieJar.non_word_re
  • added: field CookieJar.quote_re
  • added: field CookieJar.strict_domain_re
  • added: field DefaultCookiePolicy.DomainLiberal
  • added: field DefaultCookiePolicy.DomainRFC2965Match
  • added: field DefaultCookiePolicy.DomainStrict
  • added: field DefaultCookiePolicy.DomainStrictNoDots
  • added: field DefaultCookiePolicy.DomainStrictNonDomain
  • added: method Cookie.get_nonstandard_attr(name, default=…)
  • added: method Cookie.has_nonstandard_attr(name)
  • added: method Cookie.is_expired(now=…)
  • added: method Cookie.set_nonstandard_attr(name, value)
  • added: method CookieJar.add_cookie_header(request)
  • added: method CookieJar.clear(domain=…, path=…, name=…)
  • added: method CookieJar.clear_expired_cookies()
  • added: method CookieJar.clear_session_cookies()
  • added: method CookieJar.extract_cookies(response, request)
  • added: method CookieJar.make_cookies(response, request)
  • added: method CookieJar.set_cookie(cookie)
  • added: method CookieJar.set_cookie_if_ok(cookie, request)
  • added: method CookieJar.set_policy(policy)
  • added: method CookiePolicy.domain_return_ok(domain, request)
  • added: method CookiePolicy.path_return_ok(path, request)
  • added: method CookiePolicy.return_ok(cookie, request)
  • added: method CookiePolicy.set_ok(cookie, request)
  • added: method DefaultCookiePolicy.allowed_domains()
  • added: method DefaultCookiePolicy.blocked_domains()
  • added: method DefaultCookiePolicy.domain_return_ok(domain, request)
  • added: method DefaultCookiePolicy.is_blocked(domain)
  • added: method DefaultCookiePolicy.is_not_allowed(domain)
  • added: method DefaultCookiePolicy.path_return_ok(path, request)
  • added: method DefaultCookiePolicy.return_ok(cookie, request)
  • added: method DefaultCookiePolicy.return_ok_domain(cookie, request)
  • added: method DefaultCookiePolicy.return_ok_expires(cookie, request)
  • added: method DefaultCookiePolicy.return_ok_port(cookie, request)
  • added: method DefaultCookiePolicy.return_ok_secure(cookie, request)
  • added: method DefaultCookiePolicy.return_ok_verifiability(cookie, request)
  • added: method DefaultCookiePolicy.return_ok_version(cookie, request)
  • added: method DefaultCookiePolicy.set_allowed_domains(allowed_domains)
  • added: method DefaultCookiePolicy.set_blocked_domains(blocked_domains)
  • added: method DefaultCookiePolicy.set_ok(cookie, request)
  • added: method DefaultCookiePolicy.set_ok_domain(cookie, request)
  • added: method DefaultCookiePolicy.set_ok_name(cookie, request)
  • added: method DefaultCookiePolicy.set_ok_path(cookie, request)
  • added: method DefaultCookiePolicy.set_ok_port(cookie, request)
  • added: method DefaultCookiePolicy.set_ok_verifiability(cookie, request)
  • added: method DefaultCookiePolicy.set_ok_version(cookie, request)
  • added: method FileCookieJar.load(filename=…, ignore_discard=…, ignore_expires=…)
  • added: method FileCookieJar.revert(filename=…, ignore_discard=…, ignore_expires=…)
  • added: method FileCookieJar.save(filename=…, ignore_discard=…, ignore_expires=…)
  • added: class BaseHTTPRequestHandler(SocketServer.StreamRequestHandler)
  • added: class HTTPServer(SocketServer.TCPServer)
  • added: field BaseHTTPRequestHandler.MessageClass
  • added: field BaseHTTPRequestHandler.default_request_version
  • added: field BaseHTTPRequestHandler.error_content_type
  • added: field BaseHTTPRequestHandler.error_message_format
  • added: field BaseHTTPRequestHandler.monthname
  • added: field BaseHTTPRequestHandler.protocol_version
  • added: field BaseHTTPRequestHandler.responses
  • added: field BaseHTTPRequestHandler.server_version
  • added: field BaseHTTPRequestHandler.sys_version
  • added: field BaseHTTPRequestHandler.weekdayname
  • added: field HTTPServer.allow_reuse_address
  • added: method BaseHTTPRequestHandler.address_string()
  • added: method BaseHTTPRequestHandler.date_time_string(timestamp=…)
  • added: method BaseHTTPRequestHandler.end_headers()
  • added: method BaseHTTPRequestHandler.handle()
  • added: method BaseHTTPRequestHandler.handle_one_request()
  • added: method BaseHTTPRequestHandler.log_date_time_string()
  • added: method BaseHTTPRequestHandler.log_error(format, *args)
  • added: method BaseHTTPRequestHandler.log_message(format, *args)
  • added: method BaseHTTPRequestHandler.log_request(code=…, size=…)
  • added: method BaseHTTPRequestHandler.parse_request()
  • added: method BaseHTTPRequestHandler.send_error(code, message=…)
  • added: method BaseHTTPRequestHandler.send_header(keyword, value)
  • added: method BaseHTTPRequestHandler.send_response(code, message=…)
  • added: method BaseHTTPRequestHandler.version_string()
  • added: method HTTPServer.server_bind()
  • added: class RenameImport(object)
  • added: class WarnOnImport(object)
  • added: constructor RenameImport(old_to_new)
  • added: constructor WarnOnImport(*args)
  • added: method RenameImport.find_module(fullname, path=…)
  • added: method RenameImport.load_module(name)
  • added: method WarnOnImport.find_module(fullname, path=…)
  • added: method WarnOnImport.load_module(name)
  • added: variable MOVES
  • added: variable RENAMES
  • added: variable REPLACED_MODULES
  • removed: class RenameImport(object)
  • removed: class WarnOnImport(object)
  • removed: constructor RenameImport(old_to_new)
  • removed: constructor WarnOnImport(*args)
  • removed: method RenameImport.find_module(fullname, path=…)
  • removed: method RenameImport.load_module(name)
  • removed: method WarnOnImport.find_module(fullname, path=…)
  • removed: method WarnOnImport.load_module(name)
  • removed: variable RENAMES
  • removed: class RenameImport(object)
  • removed: class WarnOnImport(object)
  • removed: constructor RenameImport(old_to_new)
  • removed: constructor WarnOnImport(*args)
  • removed: method RenameImport.find_module(fullname, path=…)
  • removed: method RenameImport.load_module(name)
  • removed: method WarnOnImport.find_module(fullname, path=…)
  • removed: method WarnOnImport.load_module(name)
  • removed: variable caller
  • removed: variable mapping
  • removed: function bytes(obj, **kwargs)
  • removed: function python_2_unicode_compatible(klass)
  • removed: variable str
  • removed: function add_unicode_method_to_classes(module)
  • removed: function import_decorator(old_import, modules, post_processor)
  • removed: function python_2_unicode_compatible(klass)
  • removed: variable caller
  • added: function DoubleStar(prefix=…)
  • added: function ImportAsName(name, as_name, prefix=…)
  • added: function Minus(prefix=…)
  • added: function NameImport(package, as_name=…, prefix=…)
  • added: function Star(prefix=…)
  • added: function add_future(node, symbol)
  • added: function check_future_import(node)
  • added: function commatize(leafs)
  • added: function future_import(feature, node)
  • added: function import_binding_scope(node)
  • added: function indentation(node)
  • added: function indentation_step(node)
  • added: function is_import_stmt(node)
  • added: function parse_args(arglist, scheme)
  • added: function suitify(parent)
  • added: function touch_import_top(package, name, node)
  • added: variable lib2to3_fix_names
  • added: variable libfuturize_2fix_names
  • added: class FixAbsoluteImport(FixImport)
  • added: method FixAbsoluteImport.transform(node, results)
  • added: class FixFutureBuiltins(BaseFix)
  • added: method FixFutureBuiltins.match(node)
  • added: method FixFutureBuiltins.transform(node, results)
  • added: class FixFutureStandardLibrary(FixImports)
  • added: method FixFutureStandardLibrary.transform(node, results)
  • added: class FixMetaclass(fixer_base.BaseFix)
  • added: field FixMetaclass.BM_compatible
  • added: field FixMetaclass.PATTERN
  • added: function find_metas(cls_node)
  • added: function fixup_indent(suite)
  • added: function fixup_parse_tree(cls_node)
  • added: function fixup_simple_stmt(parent, i, stmt_node)
  • added: function has_metaclass(parent)
  • added: function remove_trailing_newline(node)
  • added: method FixMetaclass.transform(node, results)
  • added: class FixPrintWithImport(FixPrint)
  • added: method FixPrintWithImport.transform(node, results)
  • added: variable libfuturize_3fix_names
  • added: class Feature(object)
  • added: class Features(set)
  • added: constructor Feature(name, PATTERN, version)
  • added: field Features.mapping
  • added: method Feature.message_text()
  • added: method Features.update_mapping()
  • added: property Features.PATTERN
  • added: variable message_unformatted
  • added: variable pattern_unformatted
  • added: class FixAnnotations(fixer_base.BaseFix)
  • added: field FixAnnotations.PATTERN
  • added: field FixAnnotations.warned
  • added: function param_without_annotations(node)
  • added: method FixAnnotations.transform(node, results)
  • added: method FixAnnotations.warn_once(node, reason)
  • added: variable warning_text
  • added: class FixDivision(fixer_base.BaseFix)
  • added: function match_division(node)
  • added: method FixDivision.match(node)
  • added: method FixDivision.transform(node, results)
  • added: class FixFeatures(fixer_base.BaseFix)
  • added: field FixFeatures.PATTERN
  • added: field FixFeatures.features
  • added: field FixFeatures.features_warned
  • added: field FixFeatures.run_order
  • added: method FixFeatures.match(node)
  • added: method FixFeatures.transform(node, results)
  • added: variable FEATURES
  • added: class FixFullargspec(fixer_base.BaseFix)
  • added: field FixFullargspec.PATTERN
  • added: method FixFullargspec.transform(node, results)
  • added: variable warn_msg
  • added: class FixGetcwd(fixer_base.BaseFix)
  • added: field FixGetcwd.PATTERN
  • added: method FixGetcwd.transform(node, results)
  • added: class FixImports(fixer_base.BaseFix)
  • added: field FixImports.PATTERN
  • added: function all_patterns(name)
  • added: method FixImports.fix_dotted_name(node, mapping=…)
  • added: method FixImports.fix_simple_name(node, mapping=…)
  • added: method FixImports.fix_submod_import(imported, name, node)
  • added: method FixImports.get_dotted_import_replacement(name_node, attr_node, mapping=…, renamed=…)
  • added: method FixImports.transform(node, results)
  • added: variable MAPPING
  • added: variable dotted_name_match
  • added: variable from_import_match
  • added: variable from_import_submod_match
  • added: variable multiple_name_import_match
  • added: variable name_import_match
  • added: variable power_onename_match
  • added: variable power_subname_match
  • added: variable power_twoname_match
  • added: variable simple_name_match
  • added: variable subname_match
  • added: class FixImports2(fixer_base.BaseFix)
  • added: field FixImports2.PATTERN
  • added: field FixImports2.run_order
  • added: function all_candidates(name, attr, MAPPING=…)
  • added: function all_modules_subpattern()
  • added: function build_import_pattern(mapping1, mapping2)
  • added: function name_import_replacement(name, attr)
  • added: function new_package(name, attr, using, MAPPING=…, PY2MODULES=…)
  • added: method FixImports2.transform(node, results)
  • added: variable MAPPING
  • added: variable PY2MODULES
  • added: variable TK_BASE_NAMES
  • added: variable dotted_name
  • added: variable from_import
  • added: variable from_import_rename
  • added: variable name_import
  • added: variable name_import_rename
  • added: variable power_onename
  • added: variable power_twoname
  • added: variable simple_attr
  • added: variable simple_name
  • added: variable simple_using
  • added: class FixKwargs(fixer_base.BaseFix)
  • added: field FixKwargs.PATTERN
  • added: field FixKwargs.run_order
  • added: function gen_params(raw_params)
  • added: function needs_fixing(raw_params, kwargs_default=…)
  • added: function remove_params(raw_params, kwargs_default=…)
  • added: method FixKwargs.transform(node, results)
  • added: class FixMemoryview(fixer_base.BaseFix)
  • added: field FixMemoryview.PATTERN
  • added: field FixMemoryview.explicit
  • added: method FixMemoryview.transform(node, results)
  • added: class FixMetaclass(fixer_base.BaseFix)
  • added: field FixMetaclass.PATTERN
  • added: function has_metaclass(parent)
  • added: method FixMetaclass.transform(node, results)
  • added: class FixNewstyle(fixer_base.BaseFix)
  • added: field FixNewstyle.PATTERN
  • added: function insert_object(node, idx)
  • added: method FixNewstyle.transform(node, results)
  • added: class FixNext(fixer_base.BaseFix)
  • added: field FixNext.PATTERN
  • added: method FixNext.transform(node, results)
  • added: variable bind_warning
  • added: class FixPrintfunction(fixer_base.BaseFix)
  • added: field FixPrintfunction.PATTERN
  • added: method FixPrintfunction.transform(node, results)
  • added: class FixRaise(fixer_base.BaseFix)
  • added: field FixRaise.PATTERN
  • added: method FixRaise.transform(node, results)
  • added: class FixThrow(fixer_base.BaseFix)
  • added: field FixThrow.PATTERN
  • added: method FixThrow.transform(node, results)
  • added: class FixUnpacking(fixer_base.BaseFix)
  • added: field FixUnpacking.PATTERN
  • added: function assignment_source(num_pre, num_post, LISTNAME, ITERNAME)
  • added: method FixUnpacking.fix_explicit_context(node, results)
  • added: method FixUnpacking.fix_implicit_context(node, results)
  • added: method FixUnpacking.transform(node, results)
  • added: function main(args=…)