Skip to content
Permalink
Tree: 01c2fa5a14
Commits on Jun 18, 2019
  1. Sync recent typing and typing_extensions updates (#3070)

    ilevkivskyi committed Jun 18, 2019
    This includes two things to sync up with recent runtime updates:
    * Move `Final`, `@Final`, `Literal`, and `TypedDict` to `typing` (`typing_extensions` still defines or re-exports them)
    * Rename `@typing.runtime` to `@typing.runtime_checkable`, while keeping `@runtime` as a backwards-compatible alias in `typing_extensions`.
Commits on Jun 17, 2019
  1. Overload ast.parse to recognize that mode=exec means Module return. (#…

    carljm authored and srittau committed Jun 17, 2019
  2. str and unicode format functions take objects (#3068)

    Jadiker authored and srittau committed Jun 17, 2019
Commits on Jun 16, 2019
  1. ssl.pyi: fix types of cadata argument (#3063)

    alexf91 authored and JelleZijlstra committed Jun 16, 2019
  2. Marshal dumps/loads uses bytes (#3061)

    flacjacket authored and srittau committed Jun 16, 2019
    The marshal.dumps and marshal.loads functions should return and accept
    bytes, respectively, rather than a string.
Commits on Jun 15, 2019
  1. Update select and selectors to use _HasFileno protocol (#3057)

    Eric-Arellano authored and JelleZijlstra committed Jun 15, 2019
Commits on Jun 13, 2019
  1. Adding stubs for pyre_extensions (#3056)

    mrkmndz authored and srittau committed Jun 13, 2019
  2. Add redis stream methods to the client stubs (#3051)

    joejuzl authored and JelleZijlstra committed Jun 13, 2019
  3. request.pyi: Change Union[] -> Any for attributing status. (#3045)

    utkarsh2102 authored and srittau committed Jun 13, 2019
    Fixes #3026
Commits on Jun 12, 2019
  1. Add missing path-like annotation (#3053)

    thejohnfreeman authored and srittau committed Jun 12, 2019
    Fixes #3052
  2. Add a few Redis types (#3016)

    srittau authored and JelleZijlstra committed Jun 12, 2019
    * StrictRedis is an alias for Redis in current redis
    
    * Add a few types
    
    * Add missing import
    
    * Add missing argument and types
Commits on Jun 11, 2019
  1. Use type annotation syntax (#3048)

    ilevkivskyi authored and JelleZijlstra committed Jun 11, 2019
Commits on Jun 10, 2019
  1. Mark asyncio loop parameters as Optional (#3047)

    li-wjohnson authored and srittau committed Jun 10, 2019
  2. dateutil: byweekday can take weekday (#3046)

    asottile authored and JelleZijlstra committed Jun 10, 2019
Commits on Jun 8, 2019
  1. Add `copy()` method to requests.Session.headers (#3043)

    ConnorSkees authored and JelleZijlstra committed Jun 8, 2019
    * Add `copy()` method to requests.Session.headers
    
    * Use one type annotation
  2. Add missing constructor to types.CodeType. (#3040)

    rchen152 authored and JelleZijlstra committed Jun 8, 2019
    I got the argument order from
    https://github.com/python/cpython/blob/2bfc2dc214445550521074f428245b502d215eac/Objects/codeobject.c#L263
    and the types from the attributes already in the stub.
Commits on Jun 7, 2019
  1. Add new semantic analyzer to mypy tests (#3037)

    ilevkivskyi committed Jun 7, 2019
    This also removes two redundant definitions in curses/__init__.pyi star-imported from _curses.
  2. Add stub for queue.SimpleQueue in 3.7 (#2995)

    nabnut authored and srittau committed Jun 7, 2019
    Closes: #2994
Commits on Jun 6, 2019
  1. Add FullLoader and FullConstructor classes to yaml (#3035)

    markedwards authored and srittau committed Jun 6, 2019
Commits on Jun 5, 2019
  1. Added tojson_filter and detect_encoding to flask.json (#3030)

    emosesPatreon authored and srittau committed Jun 5, 2019
  2. Annotate HTMLParser attribute optional value (#3034)

    rgant authored and srittau committed Jun 5, 2019
    Closes #3031
  3. Add a "pull requests welcome" batch (#3033)

    srittau authored and JelleZijlstra committed Jun 5, 2019
    We get quite a few bug reports where after a maintainer writes
    "Pull Requests Welcome" we get a PR by the submitter. Maybe this
    badge will help a bit to encourage people directly submit PRs,
    reducing maintainer workload.
  4. Use custom tuple subclass for pwd.struct_passwd (#3017)

    benjaminp authored and srittau committed Jun 5, 2019
  5. Make AsyncGeneratorType.aclose() properly return Awaitable[None] (#3032)

    raduml97 authored and srittau committed Jun 5, 2019
Commits on Jun 3, 2019
  1. click: Use property decorator for read-only properties (#3028)

    cs-shadow authored and JelleZijlstra committed Jun 3, 2019
    Since these properties do not have a setter, be explicit with the
    `@Property` decorator. This will allow type checkers to see that
    assignment of these attributes is an error.
    
    See #3027 (comment)
    for some related context.
  2. Update Click to 7.0 (#3027)

    cs-shadow authored and JelleZijlstra committed Jun 3, 2019
    Closes #3020.
Commits on Jun 1, 2019
  1. Move stdlib/3/curses to stdlib/2and3/curses. (#3025)

    rchen152 authored and srittau committed Jun 1, 2019
    Also add the A_ITALIC constant, which is new in 3.7.
Commits on May 31, 2019
  1. fix Sniffer.sniff return type (#3023)

    Hanaasagi authored and JelleZijlstra committed May 31, 2019
Commits on May 29, 2019
  1. Move Redis stubs to 2and3 (#3015)

    bochecha authored and srittau committed May 29, 2019
    They actually work for both Python 2 and 3, mostly because they aren't
    really typed yet.
Commits on May 28, 2019
  1. [pyre] Adding IntVar to typing_extensions (#3008)

    mrkmndz authored and srittau committed May 28, 2019
Commits on May 27, 2019
  1. argparse.pyi: Allow Callable[[Text], _T] (#3013)

    utkarsh2102 authored and srittau committed May 27, 2019
    Fixes #2988
Commits on May 23, 2019
  1. Make Timer args less restrictive (#3007)

    Briaoeuidhtns authored and srittau committed May 23, 2019
    Closes #3004
Commits on May 22, 2019
  1. Use typing.Text for argument types (#3000)

    srittau authored and JelleZijlstra committed May 22, 2019
    Also, use just str for argument types in Python 3+ branches.
Commits on May 21, 2019
Older
You can’t perform that action at this time.