ray-project / ray-legacy

An experimental distributed execution engine
BSD 3-Clause "New" or "Revised" License
21 stars 18 forks source link

Remove ObjectID aliasing from the API. #406

Closed robertnishihara closed 8 years ago

robertnishihara commented 8 years ago

Note that this does not rip out all of the machinery for doing ObjectID aliasing. It just throws an exception if you try to do it.

mehrdadn commented 8 years ago

I thought aliasing was unavoidable...?

robertnishihara commented 8 years ago

Not unavoidable. Aliasing is desirable so that you can do things like this.

@ray.remote
def f():
  return 1

@ray.remote
def g():
  return f.remote()

However, things are simpler without it, so we're disabling it. If it seems critical for some applications, then we can add it back in later.