11 Commits
Author SHA1 Message Date
David Fisher fb96ee8e50 Revert "replace re patterns AnyStr with Union[str, unicode]"
This reverts commit ba2c8d95ec.
This commit introduced some bugs (it used Pattern[Union[str, unicode]]
when it would need to be Union[Pattern[str], Pattern[unicode]]), and
- on further discussion - it's unclear if we want to allow this
  additional flexibility.  I'm reverting this diff for now, but we'll
revisit this after deciding on the upcoming proposal about how implicit
bytes/unicode conversions should be handled when typing Python 2.
2016-06-03 17:41:01 -07:00
David Fisher c89218bc77 Add version keyword arg to argparse.ArgumentParser.add_argument 2016-03-17 10:37:22 -07:00
David Fisher 44d278045f Fix tests 2016-03-11 16:33:02 -08:00
David Fisher 9f4a8d3df6 Address review feedback 2016-03-11 16:01:30 -08:00
David Fisher d390ef3161 Make all function annotations accessible from builtins complete 2016-03-11 14:27:28 -08:00
David Fisher c50e0e6179 Remove contents of problematic asyncio __all__s 2016-02-25 11:59:25 -08:00
David Fisher c48d66f28a Fix asyncio.coroutine signature 2016-02-24 11:35:42 -08:00
David Fisher f7349d46e9 Add comment about True/False omission in 2.7 builtins 2016-02-20 22:47:38 -08:00
David Fisher 48b3b260d1 Remove invalid Python 3 syntax 2016-02-18 16:25:30 -08:00
David Fisher 1a10134d54 Fix up uses of Future as an argument in asyncio
Most functions which can take a Future can take Generators as well.
2016-01-19 16:53:52 -08:00
David Fisher 7c8797441b Make Generator __iter__ method return itself 2016-01-19 16:49:20 -08:00