Jon Brandvein

Results 48 issues of Jon Brandvein

In #282, it was observed that `None`, `True`, and `False` are merely predeclared names, not keywords, so it's legal to shadow them: ```starlark >>> None, True, False = 1, 2,...

P2
type: feature request

The old WORKSPACE file brought in the Go and Rust implementations of Starlark for our conformance testing (`//test_suite/...`). Since neither of those provide a Bazel workspace, this required declaring those...

P3
type: bug

Python permits `lambda x,: True`, but we prohibit it. This is also inconsistent with `def` statements, where we do permit the comma.

P4
type: feature request

From @alandonovan's [comment](https://github.com/bazelbuild/starlark/issues/65#issuecomment-573241736) in a prior issue: ``` % starlark Welcome to Starlark (go.starlark.net) >>> {len: 1} {: 1} >>> len in {} False >>> {}.get(len, False) False % python2...

P4
type: bug

Python lets you mutate `**kwargs` inside the function, but not `*args` since it's a tuple. The Java implementation currently lets you mutate `**kwargs`, though a recent change at head removes...

P2
type: bug

Tracking issue for refactoring `Resolver.java` and the `types/` subpackage. - [x] The logic in the symbol resolver (`Resolver.java`) for producing `StarlarkType`s from type expressions, and for writing these types to...

type: bug
P1
team-Starlark-Interpreter

(Forked from #27372, which ended up specifically tracking just reserving `isinstance` as a keyword.) This is to replace the idiom of comparing the result of `type()` to a string literal....

type: feature request
P2
team-Starlark-Interpreter

This had to be broken out of #7375 because it turns out `python_path` is [used on windows](https://github.com/bazelbuild/bazel/blob/49107ad79ef08811db22636928dfd113a9acf902/src/main/cpp/blaze_util_windows.cc#L1483-L1491) to [communicate](https://github.com/bazelbuild/bazel/blob/f59fad7c97ed9b4d5ae577e6ef50cefd3927e4bd/src/main/cpp/blaze_util_platform.h#L265-L269) the location of the Python interpreter even when it's not otherwise...

P2
type: process
team-Rules-Python
stale