Commit Graph

5 Commits

Author SHA1 Message Date
Josh Soref
a653225c07 spelling: clazz
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2022-09-15 19:43:36 -04:00
Daniel Duan
3dfc40898c [NFC] Remove Python 2 imports from __future__ (#42086)
The `__future__` we relied on is now,  where the 3 specific things are
all included [since Python 3.0](https://docs.python.org/3/library/__future__.html):

* absolute_import
* print_function
* unicode_literals
* division

These import statements are no-ops and are no longer necessary.
2022-04-13 14:01:30 -07:00
tbkka
868425be8a More Python3 lint fixes (#32967)
* More Python3 lint fixes

Some of the issues addressed include:
* Don't use `l` as a variable name (confusable with `1` or `I`)
* `print` statement does not exist in Py3, use `print` function instead
* Implicit tuple deconstruction in function args is no longer supported,
  use explicit splat `*` at the call site instead
* `xrange` does not exist in Py3, use `range` instead

* Better name per review feedback
2020-07-19 21:44:13 -07:00
Joe Groff
7f21cf31c8 Make the type fuzzer fuzzier.
- Generate class inheritance chains
- Include random objc-interop types
- Randomly make NSObject subclasses
- Avoid generating cycles in value types
2017-09-20 13:44:31 -07:00
Joe Groff
251cd2cbfd First pass at a script to generate random type definitions.
This will be useful to generate input for fuzzing runtime layout, ABI compatibility, layout algorithms, etc.
2017-09-20 08:40:24 -07:00